Skip to content

Commit

Permalink
chore(hakari): generate latest workspace-hack/Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
snormore committed Jul 4, 2024
1 parent a98e946 commit fe63b79
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 13 deletions.
35 changes: 35 additions & 0 deletions .config/hakari.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,38 @@ platforms = [

# Write out exact versions rather than a semver range. (Defaults to false.)
# exact-versions = true

# Crates to exclude while traversing the dependency graph.
[traversal-excludes]
third-party = [
# The following crates are in the workspace exclude list, but since other crates depend on
# them, they need to be explicitely excluded here or else they will be included in the
# generated workspace-hack/Cargo.toml and result in cyclic dependencies.
{ name = "lightning-guard", path = "etc/ebpf-apps/guard" },
{ name = "lightning-tui", path = "etc/tui" },
]

# Crates to remove at the end of computation.
[final-excludes]
workspace-members = [
# These workspace/lib crates intentinally do not depend on workspace-hack.
"affair",
"atomo",
"atomo-rocks",
"better-shutdown",
"blake3-tree",
"blake3-wasm",
"cdk-rust",
"fast-sri",
"fdi",
"fleek-crypto",
"fleek-ipld",
"fn-sdk",
"hp-fixed",
"ink-quill",
"once-ptr",
"panic-report",
"resolved-pathbuf",
"safetensors-ndarray",
"simulon",
]
1 change: 1 addition & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6271,6 +6271,7 @@ dependencies = [
"tokio",
"tower",
"tracing",
"workspace-hack 0.1.0",
]

[[package]]
Expand Down
3 changes: 2 additions & 1 deletion core/firewall/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ edition.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
workspace-hack = { version = "0.1", path = "../../etc/workspace-hack" }
tower = "0.4.13"
tokio.workspace = true
thiserror.workspace = true
Expand All @@ -15,4 +16,4 @@ tracing.workspace = true
anyhow.workspace = true
serde.workspace = true
lightning-types.workspace = true
lightning-interfaces = { path = "../interfaces" }
lightning-interfaces = { path = "../interfaces" }
20 changes: 8 additions & 12 deletions etc/workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ bytes = { version = "1", features = ["serde"] }
cbc = { version = "0.1", features = ["std"] }
chrono = { version = "0.4" }
cipher = { version = "0.4", default-features = false, features = ["block-padding", "std"] }
clap = { version = "4", features = ["derive"] }
clap_builder = { version = "4", default-features = false, features = ["color", "help", "std", "suggestions", "usage"] }
clap = { version = "4", features = ["derive", "string"] }
clap_builder = { version = "4", default-features = false, features = ["color", "help", "std", "string", "suggestions", "usage"] }
concurrent-queue = { version = "2" }
core2 = { version = "0.4", default-features = false, features = ["alloc"] }
criterion = { version = "0.5", features = ["async_tokio", "html_reports"] }
Expand All @@ -57,7 +57,7 @@ futures-task = { version = "0.3", features = ["unstable"] }
futures-util = { version = "0.3", features = ["bilock", "channel", "io", "sink", "unstable"] }
generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "serde", "zeroize"] }
getrandom = { version = "0.2", default-features = false, features = ["std"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", default-features = false, features = ["inline-more", "raw"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw"] }
hashbrown-594e8ee84c453af0 = { package = "hashbrown", version = "0.13" }
hashbrown-5ef9efb8ec2df382 = { package = "hashbrown", version = "0.12", features = ["raw"] }
hdrhistogram = { version = "7" }
Expand Down Expand Up @@ -100,7 +100,7 @@ quote = { version = "1" }
rand = { version = "0.8", features = ["small_rng"] }
rand_chacha = { version = "0.3" }
regex = { version = "1" }
regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "unicode"] }
regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "dfa-search", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "unicode"] }
regex-syntax = { version = "0.8" }
reqwest = { version = "0.11", features = ["brotli", "gzip", "json", "rustls-tls", "socks", "stream"] }
ring-9067fe90e8c1f593 = { package = "ring", version = "0.17", features = ["std"] }
Expand Down Expand Up @@ -156,8 +156,8 @@ cbc = { version = "0.1", features = ["std"] }
cc = { version = "1", default-features = false, features = ["parallel"] }
chrono = { version = "0.4" }
cipher = { version = "0.4", default-features = false, features = ["block-padding", "std"] }
clap = { version = "4", features = ["derive"] }
clap_builder = { version = "4", default-features = false, features = ["color", "help", "std", "suggestions", "usage"] }
clap = { version = "4", features = ["derive", "string"] }
clap_builder = { version = "4", default-features = false, features = ["color", "help", "std", "string", "suggestions", "usage"] }
concurrent-queue = { version = "2" }
core2 = { version = "0.4", default-features = false, features = ["alloc"] }
criterion = { version = "0.5", features = ["async_tokio", "html_reports"] }
Expand All @@ -183,7 +183,7 @@ futures-task = { version = "0.3", features = ["unstable"] }
futures-util = { version = "0.3", features = ["bilock", "channel", "io", "sink", "unstable"] }
generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "serde", "zeroize"] }
getrandom = { version = "0.2", default-features = false, features = ["std"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", default-features = false, features = ["inline-more", "raw"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw"] }
hashbrown-594e8ee84c453af0 = { package = "hashbrown", version = "0.13" }
hashbrown-5ef9efb8ec2df382 = { package = "hashbrown", version = "0.12", features = ["raw"] }
hdrhistogram = { version = "7" }
Expand Down Expand Up @@ -226,7 +226,7 @@ quote = { version = "1" }
rand = { version = "0.8", features = ["small_rng"] }
rand_chacha = { version = "0.3" }
regex = { version = "1" }
regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "unicode"] }
regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "dfa-search", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "unicode"] }
regex-syntax = { version = "0.8" }
reqwest = { version = "0.11", features = ["brotli", "gzip", "json", "rustls-tls", "socks", "stream"] }
ring-9067fe90e8c1f593 = { package = "ring", version = "0.17", features = ["std"] }
Expand Down Expand Up @@ -268,7 +268,6 @@ zeroize = { version = "1", features = ["zeroize_derive"] }
[target.x86_64-unknown-linux-gnu.dependencies]
arrayvec = { version = "0.7", default-features = false, features = ["serde"] }
bitflags = { version = "2", default-features = false, features = ["serde"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14" }
indexmap-f595c2ba2a3f28df = { package = "indexmap", version = "2", features = ["serde"] }
jpeg-decoder = { version = "0.3", default-features = false, features = ["rayon"] }
linux-raw-sys = { version = "0.4", default-features = false, features = ["elf", "errno", "general", "ioctl", "no_std", "std"] }
Expand All @@ -283,7 +282,6 @@ web-sys = { version = "0.3", default-features = false, features = ["Worker"] }
[target.x86_64-unknown-linux-gnu.build-dependencies]
arrayvec = { version = "0.7", default-features = false, features = ["serde"] }
bitflags = { version = "2", default-features = false, features = ["serde"] }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14" }
indexmap-f595c2ba2a3f28df = { package = "indexmap", version = "2", features = ["serde"] }
jpeg-decoder = { version = "0.3", default-features = false, features = ["rayon"] }
linux-raw-sys = { version = "0.4", default-features = false, features = ["elf", "errno", "general", "ioctl", "no_std", "std"] }
Expand All @@ -300,7 +298,6 @@ arrayvec = { version = "0.7", default-features = false, features = ["serde"] }
bitflags = { version = "2", default-features = false, features = ["serde"] }
core-foundation = { version = "0.9" }
core-foundation-sys = { version = "0.8" }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14" }
indexmap-f595c2ba2a3f28df = { package = "indexmap", version = "2", features = ["serde"] }
jpeg-decoder = { version = "0.3", default-features = false, features = ["rayon"] }
libc = { version = "0.2", default-features = false, features = ["extra_traits"] }
Expand All @@ -316,7 +313,6 @@ arrayvec = { version = "0.7", default-features = false, features = ["serde"] }
bitflags = { version = "2", default-features = false, features = ["serde"] }
core-foundation = { version = "0.9" }
core-foundation-sys = { version = "0.8" }
hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14" }
indexmap-f595c2ba2a3f28df = { package = "indexmap", version = "2", features = ["serde"] }
jpeg-decoder = { version = "0.3", default-features = false, features = ["rayon"] }
libc = { version = "0.2", default-features = false, features = ["extra_traits"] }
Expand Down

0 comments on commit fe63b79

Please sign in to comment.