Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
mjovanc committed May 8, 2024
1 parent 7fab712 commit 14ed551
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 14 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,21 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Publish njord_derive
uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
path: ./njord_derive

- name: Publish njord
uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
path: ./njord
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions njord/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[package]
name = "njord"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
authors = ["Marcus Cvjeticanin <mjovanc@icloud.com>"]
description = "A lightweight ORM library in Rust."
license = "GPL-3.0"
documentation = "https://docs.rs/njord/latest/njord/"
repository = "https://github.com/mjovanc/njord"
repository = "https://github.com/njord-rs/njord"
readme = "../README.md"
rust-version = "1.77.1"
homepage = "https://njord.rs"
keywords = ["orm", "database", "sql"]

[dependencies]
njord_derive = { version = "0.2.1", path = "../njord_derive" }
njord_derive = { version = "0.3.0", path = "../njord_derive" }
rusqlite = { version = "0.31.0", features = ["bundled"] }
log = "0.4.21"
rand = "0.8.4"

[dev-dependencies]
njord_derive = { version = "0.2.1", path = "../njord_derive" }
njord_derive = { version = "0.3.0", path = "../njord_derive" }

# This cfg cannot be enabled, but it still forces Cargo to keep njord_derive's
# version in lockstep with njord's, even if someone depends on the two crates
# separately with njord's "derive" feature disabled. Every njord_derive release
# is compatible with exactly one serde release because the generated code
# involves nonpublic APIs which are not bound by semver.
[target.'cfg(any())'.dependencies]
njord_derive = { version = "0.2.1", path = "../njord_derive" }
njord_derive = { version = "0.3.0", path = "../njord_derive" }

[features]
default = ["sqlite"]
Expand Down
7 changes: 2 additions & 5 deletions njord_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "njord_derive"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
authors = ["Marcus Cvjeticanin <mjovanc@icloud.com>"]
description = "You should not use this crate directly, it is internal to Njord."
license = "GPL-3.0"
documentation = "https://docs.rs/njord/latest/njord/"
repository = "https://github.com/mjovanc/njord"
repository = "https://github.com/njord-rs/njord"
readme = "../README.md"
rust-version = "1.77.1"
homepage = "https://njord.rs"
Expand All @@ -21,6 +21,3 @@ proc-macro2 = "1.0.81"
quote = "1.0"
syn = "2.0.60"
rusqlite = { version = "0.31.0", features = ["bundled"] }

# [dev-dependencies]
# njord = { version = "0.2.1", path = "../njord" }
5 changes: 3 additions & 2 deletions njord_examples/sqlite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[package]
name = "sqlite"
publish = false
version = "0.1.0"
edition = "2021"
rust-version = "1.71.1"

[dependencies]
njord = { version = "0.2.1", path = "../../njord", features = ["sqlite"] }
njord_derive = { version = "0.2.1", path = "../../njord_derive" }
njord = { version = "0.3.0", path = "../../njord", features = ["sqlite"] }
njord_derive = { version = "0.3.0", path = "../../njord_derive" }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0.200", features = ["derive"] }
reqwest = { version = "0.12", features = ["json"] }
Expand Down

0 comments on commit 14ed551

Please sign in to comment.