Skip to content

Commit

Permalink
chore: Re-enable workspace_hack crate
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeMathWalker committed Apr 21, 2024
1 parent e3fcbb8 commit 7913f5f
Show file tree
Hide file tree
Showing 17 changed files with 146 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/enable-workspace-hack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
cd libs
cargo hakari generate
cargo hakari manage-deps
cargo hakari manage-deps --yes
git add .
git commit -am "Re-enable workspace hack after a release"
git push
54 changes: 54 additions & 0 deletions libs/Cargo.lock

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

1 change: 1 addition & 0 deletions libs/generate_from_path/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ indicatif = "0.17.7"
walkdir = "2.4.0"
sanitize-filename = "0.5"
regex = "1.10.2"
workspace_hack = { version = "0.1", path = "../workspace_hack" }
1 change: 1 addition & 0 deletions libs/pavex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ hyper = { version = "1", features = ["full"], optional = true }
hyper-util = { version = "0.1", features = ["tokio", "server", "server-auto"], optional = true }
socket2 = { version = "0.5.3", optional = true }
smallvec = "1"
workspace_hack = { version = "0.1", path = "../workspace_hack" }

[dev-dependencies]
tokio = { version = "1", features = ["macros"] }
Expand Down
1 change: 1 addition & 0 deletions libs/pavex_bp_schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ license.workspace = true
[dependencies]
serde = { version = "1", features = ["derive"] }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.31" }
workspace_hack = { version = "0.1", path = "../workspace_hack" }
1 change: 1 addition & 0 deletions libs/pavex_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ secrecy = { version = "0.8.0", features = ["serde"] }
clap-stdin = "0.4.0"
owo-colors = "4.0.0"
anstyle = "1.0.6"
workspace_hack = { version = "0.1", path = "../workspace_hack" }

[dev-dependencies]
pavex_test_runner = { path = "../pavex_test_runner" }
Expand Down
1 change: 1 addition & 0 deletions libs/pavex_cli_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ license.workspace = true
anyhow = "1"
pavex = { path = "../pavex", version = "0.1.31" }
thiserror = "1.0.56"
workspace_hack = { version = "0.1", path = "../workspace_hack" }
1 change: 1 addition & 0 deletions libs/pavex_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ proc-macro = true
proc-macro2 = "1.0"
quote = "1.0"
syn = "2.0"
workspace_hack = { version = "0.1", path = "../workspace_hack" }

[dev-dependencies]
trybuild = "1.0"
Expand Down
1 change: 1 addition & 0 deletions libs/pavex_miette/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ supports-hyperlinks = { version = "3.0.0" }
supports-color = { version = "3.0.0" }
supports-unicode = { version = "3.0.0" }
terminal_size = { version = "0.3" }
workspace_hack = { version = "0.1", path = "../workspace_hack" }
1 change: 1 addition & 0 deletions libs/pavex_reflection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ license.workspace = true

[dependencies]
serde = { version = "1", features = ["derive"] }
workspace_hack = { version = "0.1", path = "../workspace_hack" }
1 change: 1 addition & 0 deletions libs/pavex_test_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ globwalk = "0.9.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
regex = "1.10.2"
once_cell = "1.19.0"
workspace_hack = { version = "0.1", path = "../workspace_hack" }
1 change: 1 addition & 0 deletions libs/pavex_tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ readme = "README.md"
[dependencies]
tracing = { version = "0.1", default-features = false, features = ["std"] }
pavex = { version = "0.1.31", path = "../pavex" }
workspace_hack = { version = "0.1", path = "../workspace_hack" }
1 change: 1 addition & 0 deletions libs/pavexc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ r2d2 = "0.8"
bincode = "1"
rayon = "1.7"
num_cpus = "1.15.0"
workspace_hack = { version = "0.1", path = "../workspace_hack" }
1 change: 1 addition & 0 deletions libs/pavexc_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ron = "0.8"
generate_from_path = { path = "../generate_from_path", version = "0.1.31" }
tempfile = "3.9.0"
better-panic = "0.3.0"
workspace_hack = { version = "0.1", path = "../workspace_hack" }

[build-dependencies]
vergen = { workspace = true }
1 change: 1 addition & 0 deletions libs/pavexc_cli_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ license.workspace = true
anyhow = "1"
pavex = { path = "../pavex", version = "0.1.31" }
thiserror = "1.0.56"
workspace_hack = { version = "0.1", path = "../workspace_hack" }
1 change: 1 addition & 0 deletions libs/persist_if_changed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ tracing = "0.1"
fs-err = "2.7"
sha2 = "0.10"
anyhow = "1"
workspace_hack = { version = "0.1", path = "../workspace_hack" }
80 changes: 77 additions & 3 deletions libs/workspace_hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,82 @@ publish = false
# are managed by hakari.

### BEGIN HAKARI SECTION
[dependencies]
ahash = { version = "0.8" }
aho-corasick = { version = "1" }
bitflags = { version = "2", default-features = false, features = ["serde"] }
clap = { version = "4", features = ["derive", "env"] }
clap_builder = { version = "4", default-features = false, features = ["color", "env", "help", "std", "suggestions", "usage"] }
console = { version = "0.15" }
crossbeam-utils = { version = "0.8" }
crypto-common = { version = "0.1", default-features = false, features = ["getrandom", "std"] }
deranged = { version = "0.3", default-features = false, features = ["powerfmt", "serde", "std"] }
digest = { version = "0.10", features = ["mac", "std"] }
fixedbitset = { version = "0.4" }
getrandom = { version = "0.2", default-features = false, features = ["std"] }
hashbrown = { version = "0.14", features = ["raw"] }
hmac = { version = "0.12", default-features = false, features = ["reset"] }
indexmap = { version = "2", features = ["serde"] }
log = { version = "0.4", default-features = false, features = ["std"] }
memchr = { version = "2" }
miette = { version = "6", features = ["fancy"] }
petgraph = { version = "0.6", default-features = false, features = ["graphmap", "stable_graph"] }
proc-macro2 = { version = "1", features = ["span-locations"] }
quote = { version = "1" }
regex = { version = "1" }
regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "hybrid", "meta", "nfa", "perf", "unicode"] }
regex-syntax = { version = "0.8" }
serde = { version = "1", features = ["alloc", "derive"] }
serde_json = { version = "1", features = ["unbounded_depth"] }
sha2 = { version = "0.10" }
smallvec = { version = "1", default-features = false, features = ["const_new"] }
subtle = { version = "2" }
syn = { version = "2", features = ["extra-traits", "full", "visit", "visit-mut"] }
time = { version = "0.3", features = ["formatting", "local-offset", "macros", "parsing", "serde"] }
tokio = { version = "1", features = ["io-util", "macros", "net", "rt", "sync", "time"] }
toml = { version = "0.8", features = ["preserve_order"] }
tracing-core = { version = "0.1" }
uuid = { version = "1", features = ["fast-rng", "v4", "v7"] }
zeroize = { version = "1" }

[build-dependencies]
ahash = { version = "0.8" }
aho-corasick = { version = "1" }
bitflags = { version = "2", default-features = false, features = ["serde"] }
cc = { version = "1", default-features = false, features = ["parallel"] }
clap = { version = "4", features = ["derive", "env"] }
clap_builder = { version = "4", default-features = false, features = ["color", "env", "help", "std", "suggestions", "usage"] }
console = { version = "0.15" }
crossbeam-utils = { version = "0.8" }
crypto-common = { version = "0.1", default-features = false, features = ["getrandom", "std"] }
deranged = { version = "0.3", default-features = false, features = ["powerfmt", "serde", "std"] }
digest = { version = "0.10", features = ["mac", "std"] }
fixedbitset = { version = "0.4" }
getrandom = { version = "0.2", default-features = false, features = ["std"] }
hashbrown = { version = "0.14", features = ["raw"] }
hmac = { version = "0.12", default-features = false, features = ["reset"] }
indexmap = { version = "2", features = ["serde"] }
log = { version = "0.4", default-features = false, features = ["std"] }
memchr = { version = "2" }
miette = { version = "6", features = ["fancy"] }
petgraph = { version = "0.6", default-features = false, features = ["graphmap", "stable_graph"] }
proc-macro2 = { version = "1", features = ["span-locations"] }
quote = { version = "1" }
regex = { version = "1" }
regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "hybrid", "meta", "nfa", "perf", "unicode"] }
regex-syntax = { version = "0.8" }
serde = { version = "1", features = ["alloc", "derive"] }
serde_json = { version = "1", features = ["unbounded_depth"] }
sha2 = { version = "0.10" }
smallvec = { version = "1", default-features = false, features = ["const_new"] }
subtle = { version = "2" }
syn = { version = "2", features = ["extra-traits", "full", "visit", "visit-mut"] }
time = { version = "0.3", features = ["formatting", "local-offset", "macros", "parsing", "serde"] }
time-macros = { version = "0.2", default-features = false, features = ["formatting", "parsing", "serde"] }
tokio = { version = "1", features = ["io-util", "macros", "net", "rt", "sync", "time"] }
toml = { version = "0.8", features = ["preserve_order"] }
tracing-core = { version = "0.1" }
uuid = { version = "1", features = ["fast-rng", "v4", "v7"] }
zeroize = { version = "1" }

# Disabled by running `cargo hakari disable`.
# To re-enable, run:
# cargo hakari generate
### END HAKARI SECTION

0 comments on commit 7913f5f

Please sign in to comment.