Skip to content

Commit

Permalink
migrate nj-core to use workspace dep
Browse files Browse the repository at this point in the history
  • Loading branch information
sehz committed Aug 16, 2024
1 parent fd3500a commit f6d1a58
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 24 deletions.
26 changes: 21 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,33 @@ serde-json = ["nj-core/serde-json"]
uuid = ["nj-core/convert-uuid"]

[dependencies]
nj-sys = { path = "nj-sys", version = "4.0.0", optional = true }
nj-core = { path = "nj-core", version = "6.0.1", optional = true }
nj-build = { path = "nj-build", version = "0.3.0", optional = true }
nj-derive = { path = "nj-derive", version = "3.2.0", optional = true }

nj-sys = { workspace = true, optional = true }
nj-core = { workspace = true, optional = true }
nj-build = { workspace = true, optional = true }
nj-derive = { workspace = true, optional = true }


[workspace]
resolver = "2"
members = ["nj-build", "nj-cli", "nj-core", "nj-derive", "nj-sys"]

[workspace.dependencies]
tracing = "0.1.37"
ctor = "0.2.4"
libc = "0.2.66"
inventory = "0.1.5"
async-trait = "0.1.22"
futures-lite = "2.0.0"
pin-utils = "0.1.0"
num-bigint = "0.4.0"
serde_json = "1"
serde = { version = "1", default-features = false }
uuid = { version = "1.8.0" }
fluvio-future = { version = "0.7.0", default-features = false }

fluvio-future = { version = "0.7.0", default-features = false }

nj-sys = { path = "nj-sys", version = "4.0.0"}
nj-core = { path = "nj-core", version = "6.0.1" }
nj-build = { path = "nj-build", version = "0.3.0" }
nj-derive = { path = "nj-derive", version = "3.2.0" }
29 changes: 20 additions & 9 deletions examples/Cargo.lock

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

24 changes: 14 additions & 10 deletions nj-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@ serde-json = ["serde_json"]
convert-uuid = ["uuid"]

[dependencies]
tracing = "0.1.37"
ctor = "0.2.4"
libc = "0.2.66"
inventory = "0.1.5"
async-trait = "0.1.22"
futures-lite = "2.0.0"
nj-sys = { version = "4.0.0", path = "../nj-sys" }
async-trait = { workspace = true }
ctor = { workspace = true }
futures-lite = { workspace = true }
libc = { workspace = true }

inventory = { workspace = true }
tracing = { workspace = true }


fluvio-future = { workspace = true, features=["task","subscriber"]}
pin-utils = "0.1.0"
num-bigint = "0.4.0"
pin-utils = { workspace = true }
num-bigint = { workspace = true }
serde_json = { workspace = true, optional = true }
uuid = { workspace = true, optional = true }
uuid = { workspace = true, optional = true }

nj-sys = { workspace = true }

0 comments on commit f6d1a58

Please sign in to comment.