Skip to content

Commit

Permalink
chore: move to workspace dep (#316)
Browse files Browse the repository at this point in the history
* move to workspace dep

* revert nj-derive
  • Loading branch information
sehz authored Aug 20, 2024
1 parent 0e0a16e commit fb3ebf0
Show file tree
Hide file tree
Showing 25 changed files with 99 additions and 139 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

12 changes: 9 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,27 @@ resolver = "2"
members = ["nj-build", "nj-cli", "nj-core", "nj-derive", "nj-sys"]

[workspace.dependencies]
tracing = "0.1.37"
cargo_metadata = "0.18.0"
cc = "1.0.58"
ctor = "0.2.4"
libc = "0.2.66"
http_req = "0.12.0"
inventory = "0.1.5"
async-trait = "0.1.22"
futures-lite = "2.0.0"
pin-utils = "0.1.0"
num-bigint = "0.4.0"
pin-utils = "0.1.0"
serde_json = "1"
serde = { version = "1", default-features = false }
structopt = { version = "0.3.18", default-features = false }
toml = "0.8.0"
tracing = "0.1.37"
uuid = { version = "1.8.0" }

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" }
nj-derive = { path = "nj-derive", version = "3.2.0" }
node-bindgen = { path = "." }
100 changes: 13 additions & 87 deletions examples/Cargo.lock

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

2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ futures-lite = "2.0.0"
uuid = "1.8.0"
tracing = "0.1.37"

node-bindgen = { path = "..", features = ["default"]}
node-bindgen = { path = "..", default-features = false }
fluvio-future = { version = "0.7.0", features = ["timer"] }
4 changes: 2 additions & 2 deletions examples/array/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }


[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = ["build"] }
4 changes: 2 additions & 2 deletions examples/async-cb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ crate-type = ["cdylib"]

[dependencies]
tracing = { workspace = true }
node-bindgen = { workspace = true}
fluvio-future = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }

[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = ["build"] }
6 changes: 4 additions & 2 deletions examples/bigint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }


[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = [
"build",
] }
4 changes: 2 additions & 2 deletions examples/buffer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ crate-type = ["cdylib"]
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }


[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = ["build"] }
6 changes: 4 additions & 2 deletions examples/cb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }

[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = [
"build",
] }
8 changes: 5 additions & 3 deletions examples/class-async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
fluvio-future = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }
fluvio-future = { workspace = true }

[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = [
"build",
] }
6 changes: 4 additions & 2 deletions examples/class-simple/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }


[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = [
"build",
] }
6 changes: 4 additions & 2 deletions examples/class-wrapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }


[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = [
"build",
] }
6 changes: 4 additions & 2 deletions examples/cleanup/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }


[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = [
"build",
] }
6 changes: 4 additions & 2 deletions examples/electron/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }


[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = [
"build",
] }
6 changes: 4 additions & 2 deletions examples/function/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }

[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = [
"build",
] }
6 changes: 4 additions & 2 deletions examples/js-env/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ crate-type = ["cdylib"]


[dependencies]
node-bindgen = { workspace = true}
node-bindgen = { workspace = true, features = ["default"] }


[build-dependencies]
node-bindgen = { path = "../../", default-features = false, features = ["build"] }
node-bindgen = { workspace = true, default-features = false, features = [
"build",
] }
Loading

0 comments on commit fb3ebf0

Please sign in to comment.