Skip to content

Commit

Permalink
move to workspace dep
Browse files Browse the repository at this point in the history
  • Loading branch information
sehz committed Aug 19, 2024
1 parent 0e0a16e commit e93c6a3
Show file tree
Hide file tree
Showing 26 changed files with 111 additions and 146 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.

17 changes: 14 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,32 @@ 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"
Inflector = "0.11.4"
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"
proc-macro2 = "1.0"
quote = "1.0"
serde_json = "1"
serde = { version = "1", default-features = false }
syn = { version = "1.0", default-features = false }
structopt = { version = "0.3.18", default-features = false }
toml = "0.8.0"
tracing = "0.1.37"
trybuild = { git = "https://github.com/infinyon/trybuild", branch = "check_option" }
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",
] }
Loading

0 comments on commit e93c6a3

Please sign in to comment.