Skip to content

Commit

Permalink
chore: Update dependencies (#285)
Browse files Browse the repository at this point in the history
We also move to workspace dependencies for easier management.
  • Loading branch information
LukeMathWalker committed Apr 27, 2024
1 parent 042b9b8 commit af8416f
Show file tree
Hide file tree
Showing 17 changed files with 433 additions and 272 deletions.
218 changes: 135 additions & 83 deletions libs/Cargo.lock

Large diffs are not rendered by default.

109 changes: 109 additions & 0 deletions libs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,115 @@ version = "0.1.35"

[workspace.dependencies]
vergen = { version = "8.0.0", features = ["build", "git", "gitcl"] }
ahash = "0.8"
anstyle = "1.0.6"
anyhow = "1.0.79"
better-panic = "0.3.0"
bimap = "0.6.2"
bincode = "1"
biscotti = "0.3"
bytes = "1.5.0"
cargo-like-utils = "0.1.2"
cargo-manifest = "0.14.0"
clap = "4"
clap-stdin = "0.4.0"
config = "0.14.0"
console = "0.15.1"
convert_case = "0.6"
elsa = "1.4.0"
fixedbitset = "0.4"
fs-err = "2.11.0"
futures-util = "0.3"
globwalk = "0.9.1"
guppy = "0.17"
heck = "0.5.0-rc.1"
hex = "0.4.3"
http = "1"
http-body = "1"
http-body-util = "0.1"
hyper = "1"
hyper-util = "0.1"
include_dir = "0.7.3"
indexmap = "2"
indicatif = "0.17.7"
insta = "1.29.0"
itertools = "0.12"
jsonwebtoken = "9.0.1"
la-arena = "0.3"
libc = "0.2.152"
libtest-mimic = "0.7.0"
liquid = "0.26.4"
liquid-core = "0.26.4"
matchit = "0.7"
miette = "7.2.0"
mime = "0.3"
num_cpus = "1.15.0"
object-pool = "0.5"
once_cell = "1.19.0"
paste = "1"
path-absolutize = "3.1.1"
pem = "3.0.4"
percent-encoding = "2"
petgraph = { version = "0.6.2", default-features = false }
pin-project-lite = "0.2"
prettyplease = "0.2"
proc-macro2 = "1.0.40"
quote = "1.0.20"
r2d2 = "0.8"
r2d2_sqlite = "0.24.0"
rayon = "1.7"
redact = "0.1.9"
regex = "1.10.2"
relative-path = "1.9"
remove_dir_all = "0.8.2"
reqwest = "0.12"
reqwest-middleware = "0.3.0"
reqwest-retry = "0.5.0"
reqwest-tracing = "0.5.0"
ring = "0.17.3"
ron = "0.8"
rusqlite = "0.31"
rustdoc-types = "0.25.0"
sanitize-filename = "0.5"
self-replace = "1.3.7"
semver = "1.0.21"
serde = "1.0.141"
serde_html_form = "0.2"
serde_json = "1.0.111"
serde_path_to_error = "0.1"
serde_stacker = "0.1"
sha2 = "0.10.8"
similar = "2.2.0"
smallvec = "1"
socket2 = "0.5.3"
supports-color = "3.0.0"
supports-hyperlinks = "3.0.0"
supports-unicode = "3.0.0"
syn = "2.0"
tar = "0.4.40"
tempfile = "3.9.0"
terminal_size = "0.3"
textwrap = "0.16.0"
thiserror = "1.0.56"
time = "0.3.36"
tokio = "1.37.0"
toml = "0.8.8"
toml_edit = "0.22"
tracing = { version = "0.1.40", default-features = false }
tracing-chrome = "0.7"
tracing-subscriber = "0.3"
trybuild = "1.0"
type-safe-id = "0.3"
ubyte = "0.10.4"
unicode-width = "0.1"
ureq = "2.9.1"
uuid = "1"
walkdir = "2.4.0"
windows-sys = "0.52.0"
xdg-home = "1.0.0"
xz2 = "0.1.7"
zip = "1"
owo-colors = "4.0.0"

# Config for 'cargo release'
[workspace.metadata.release]
Expand Down
26 changes: 13 additions & 13 deletions libs/generate_from_path/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ description = "Generate a Rust project from a local Liquid template. A stripped-
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0.79"
toml = "0.8.8"
path-absolutize = "3.1.1"
tracing = "0.1.40"
tempfile = "3"
fs-err = "2.11.0"
liquid = "0.26.4"
liquid-core = "0.26.4"
heck = "0.5.0-rc.1"
indicatif = "0.17.7"
walkdir = "2.4.0"
sanitize-filename = "0.5"
regex = "1.10.2"
anyhow = { workspace = true }
toml = { workspace = true }
path-absolutize = { workspace = true }
tracing = { workspace = true }
tempfile = { workspace = true }
fs-err = { workspace = true }
liquid = { workspace = true }
liquid-core = { workspace = true }
heck = { workspace = true }
indicatif = { workspace = true }
walkdir = { workspace = true }
sanitize-filename = { workspace = true }
regex = { workspace = true }
68 changes: 34 additions & 34 deletions libs/pavex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,60 +18,60 @@ server_request_id = ["dep:uuid"]
time = ["dep:time"]

[dependencies]
bytes = "1"
http = "1"
http-body = "1"
anyhow = "1"
futures-util = "0.3"
mime = "0.3"
thiserror = "1"
serde = { version = "1", features = ["derive"] }
bytes = { workspace = true }
http = { workspace = true }
http-body = { workspace = true }
anyhow = { workspace = true }
futures-util = { workspace = true }
mime = { workspace = true }
thiserror = { workspace = true }
serde = { workspace = true, features = ["derive"] }
pavex_macros = { path = "../pavex_macros", version = "0.1.35" }
paste = "1"
tracing = "0.1"
http-body-util = "0.1"
pin-project-lite = "0.2"
ubyte = { version = "0.10.4", features = ["serde"] }
paste = { workspace = true }
tracing = { workspace = true }
http-body-util = { workspace = true }
pin-project-lite = { workspace = true }
ubyte = { workspace = true, features = ["serde"] }
pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.35" }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.35" }
persist_if_changed = { path = "../persist_if_changed", version = "0.1.35" }

# Route parameters
matchit = { version = "0.7", package = "pavex_matchit" }
percent-encoding = "2"
percent-encoding = { workspace = true }

# Query parameters
serde_html_form = "0.2"
serde_html_form = { workspace = true }

# Json body extractor
serde_json = "1"
serde_path_to_error = "0.1"
serde_json = { workspace = true }
serde_path_to_error = { workspace = true }

# Blueprint builder
indexmap = { version = "2", features = ["serde"] }
fs-err = "2.7.0"
ron = "0.8"
indexmap = { workspace = true, features = ["serde"] }
fs-err = { workspace = true }
ron = { workspace = true }

# Cookies
biscotti = { version = "0.3", optional = true }
biscotti = { workspace = true, optional = true }

# Server request id
uuid = { version = "1", features = ["v7"], optional = true }
type-safe-id = "0.2.1"
uuid = { workspace = true, features = ["v7"], optional = true }
type-safe-id = { workspace = true }

# Time facilities
time = { version = "0.3", features = ["serde"], optional = true }
time = { workspace = true, features = ["serde"], optional = true }

tokio = { version = "1.32", features = ["net", "sync", "rt", "time"] }
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"
tokio = { workspace = true, features = ["net", "sync", "rt", "time"] }
hyper = { workspace = true, features = ["full"], optional = true }
hyper-util = { workspace = true, features = ["tokio", "server", "server-auto"], optional = true }
socket2 = { workspace = true, optional = true }
smallvec = { workspace = true }

[dev-dependencies]
tokio = { version = "1", features = ["macros"] }
insta = "1.29.0"
tracing = "0.1"
reqwest = "0.12"
itertools = "0.12"
tokio = { workspace = true, features = ["macros"] }
insta = { workspace = true }
tracing = { workspace = true }
reqwest = { workspace = true }
itertools = { workspace = true }
pavex_tracing = { path = "../pavex_tracing" }
2 changes: 1 addition & 1 deletion libs/pavex_bp_schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ repository.workspace = true
license.workspace = true

[dependencies]
serde = { version = "1", features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.35" }
84 changes: 42 additions & 42 deletions libs/pavex_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,50 +20,50 @@ vergen = { workspace = true }

[dependencies]
pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.35" }
clap = { version = "4", features = ["derive", "env"] }
clap = { workspace = true, features = ["derive", "env"] }
pavex_miette = { path = "../pavex_miette", version = "0.1.35" }
miette = { version = "6.0.1" }
fs-err = "2.7.0"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
tracing-chrome = { version = "0.7" }
tracing = "0.1"
anyhow = "1"
thiserror = "1.0.56"
guppy = "0.17"
supports-color = { version = "3.0.0" }
xdg-home = "1.0.0"
sha2 = "0.10.8"
zip = "0.6.6"
xz2 = "0.1.7"
tar = "0.4.40"
bytes = "1.5.0"
tempfile = "3"
ureq = { version = "2.9.1", features = ["json"] }
remove_dir_all = "0.8.2"
config = { version = "0.14.0", features = [] }
libc = { version = "0.2.152", features = [] }
windows-sys = { version = "0.52.0", features = [] }
cargo-like-utils = "0.1.2"
serde = { version = "1", features = ["derive"] }
toml = "0.8.8"
semver = { version = "1.0.21", features = ["serde"] }
serde_json = "1.0.111"
self-replace = "1.3.7"
hex = "0.4.3"
clap-stdin = "0.4.0"
owo-colors = "4.0.0"
anstyle = "1.0.6"
miette = { workspace = true }
fs-err = { workspace = true }
tracing-subscriber = { workspace = true, features = ["fmt", "env-filter"] }
tracing-chrome = { workspace = true }
tracing = { workspace = true, default-features = true }
anyhow = { workspace = true }
thiserror = { workspace = true }
guppy = { workspace = true }
supports-color = { workspace = true }
xdg-home = { workspace = true }
sha2 = { workspace = true }
zip = { workspace = true }
xz2 = { workspace = true }
tar = { workspace = true }
bytes = { workspace = true }
tempfile = { workspace = true }
ureq = { workspace = true, features = ["json"] }
remove_dir_all = { workspace = true }
config = { workspace = true, features = [] }
libc = { workspace = true, features = [] }
windows-sys = { workspace = true, features = [] }
cargo-like-utils = { workspace = true }
serde = { workspace = true, features = ["derive"] }
toml = { workspace = true }
semver = { workspace = true, features = ["serde"] }
serde_json = { workspace = true }
self-replace = { workspace = true }
hex = { workspace = true }
clap-stdin = { workspace = true }
owo-colors = { workspace = true }
anstyle = { workspace = true }
workspace_hack = { version = "0.1", path = "../workspace_hack" }
reqwest-middleware = { version = "0.3.0", features = ["json"] }
reqwest-tracing = "0.5.0"
reqwest-retry = "0.5.0"
reqwest = "0.12"
tokio = { version = "1.37.0", features = ["rt", "fs"] }
redact = { version = "0.1.9", features = ["serde"] }
jsonwebtoken = "9.0.1"
ring = "0.17.3"
pem = "3.0.4"
time = "0.3.36"
reqwest-middleware = { workspace = true, features = ["json"] }
reqwest-tracing = { workspace = true }
reqwest-retry = { workspace = true }
reqwest = { workspace = true }
tokio = { workspace = true, features = ["rt", "fs"] }
redact = { workspace = true, features = ["serde"] }
jsonwebtoken = { workspace = true }
ring = { workspace = true }
pem = { workspace = true }
time = { workspace = true }

[dev-dependencies]
pavex_test_runner = { path = "../pavex_test_runner" }
Expand Down
4 changes: 2 additions & 2 deletions libs/pavex_cli_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ repository.workspace = true
license.workspace = true

[dependencies]
anyhow = "1"
anyhow = { workspace = true }
pavex = { path = "../pavex", version = "0.1.35" }
thiserror = "1.0.56"
thiserror = { workspace = true }
10 changes: 5 additions & 5 deletions libs/pavex_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ license.workspace = true
proc-macro = true

[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
syn = "2.0"
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true }

[dev-dependencies]
trybuild = "1.0"
trybuild = { workspace = true }
pavex = { path = "../pavex" }
serde = { version = "1.0", features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
16 changes: 8 additions & 8 deletions libs/pavex_miette/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ repository.workspace = true
license.workspace = true

[dependencies]
owo-colors = "3"
textwrap = "0.16"
unicode-width = "0.1"
miette = { version = "6.0.1", features = ["fancy"] }
supports-hyperlinks = { version = "3.0.0" }
supports-color = { version = "3.0.0" }
supports-unicode = { version = "3.0.0" }
terminal_size = { version = "0.3" }
owo-colors = { workspace = true }
textwrap = { workspace = true }
unicode-width = { workspace = true }
miette = { workspace = true, features = ["fancy"] }
supports-hyperlinks = { workspace = true }
supports-color = { workspace = true }
supports-unicode = { workspace = true }
terminal_size = { workspace = true }
2 changes: 1 addition & 1 deletion libs/pavex_reflection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ repository.workspace = true
license.workspace = true

[dependencies]
serde = { version = "1", features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
Loading

0 comments on commit af8416f

Please sign in to comment.