Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
General dependency update
Browse files Browse the repository at this point in the history
Left out some of the `gix-*` dependencies to be done separately after
review.
  • Loading branch information
cloudhead committed Jan 18, 2024
1 parent 640d302 commit ebdaf0e
Show file tree
Hide file tree
Showing 9 changed files with 581 additions and 578 deletions.
1,113 changes: 558 additions & 555 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions radicle-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ path = "src/main.rs"
anyhow = { version = "1" }
chrono = { version = "0.4.26", default-features = false, features = ["clock", "std"] }
git-ref-format = { version = "0.3.0", features = ["macro"] }
lexopt = { version = "0.2" }
lexopt = { version = "0.3.0" }
localtime = { version = "1.2.0" }
log = { version = "0.4", features = ["std"] }
nonempty = { version = "0.8" }
nonempty = { version = "0.9.0" }
# N.b. this is required to use macros, even though it's re-exported
# through radicle
radicle-git-ext = { version = "0.7.0", features = ["serde"] }
radicle-surf = { version = "0.18.0" }
serde = { version = "1.0" }
serde_json = { version = "1" }
serde_yaml = { version = "0.8" }
serde_yaml = { version = "0.9.30" }
shlex = { version = "1.1.0" }
tempfile = { version = "3.3.0" }
thiserror = { version = "1" }
timeago = { version = "0.3", default-features = false }
timeago = { version = "0.4.2", default-features = false }
tree-sitter = { version = "0.20.0" }
tree-sitter-highlight = { version = "0.20" }
tree-sitter-json = { version = "0.20.1" }
Expand All @@ -37,7 +37,7 @@ tree-sitter-typescript = { version = "0.20.3" }
# N.b. This crate has a C++ token scanner that causes problems when building
# for the musl target. Hence it is optional for now.
tree-sitter-html = { version = "0.19", optional = true }
tree-sitter-css = { version = "0.19" }
tree-sitter-css = { version = "0.20" }
tree-sitter-toml = { version = "0.20" }
tree-sitter-c = { version = "0.20" }
tree-sitter-python = { version = "0.20" }
Expand Down
2 changes: 1 addition & 1 deletion radicle-cob/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ stable-commit-ids = []
[dependencies]
fastrand = { version = "2.0.0" }
log = { version = "0.4.17" }
nonempty = { version = "0.8.1", features = ["serialize"] }
nonempty = { version = "0.9.0", features = ["serialize"] }
once_cell = { version = "1.13" }
radicle-git-ext = { version = "0.7.0", features = ["serde"] }
serde_json = { version = "1.0" }
Expand Down
4 changes: 2 additions & 2 deletions radicle-fetch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
bstr = { version = "1.3" }
either = { version = "0" }
either = { version = "1.9.0" }
gix-actor = { version = "0.28.0" }
gix-features = { version = "0.36", features = ["progress"] }
gix-hash = { version = "0.13.1" }
Expand All @@ -16,7 +16,7 @@ gix-pack = { version = "0.44" }
gix-protocol = { version = "0.41.1", features = ["blocking-client"] }
gix-transport = { version = "0.38", features = ["blocking-client"] }
log = { version = "0.4.17", features = ["std"] }
nonempty = { version = "0.8.1" }
nonempty = { version = "0.9.0" }
radicle-git-ext = { version = "0.7.0", features = ["bstr"] }
thiserror = { version = "1" }

Expand Down
10 changes: 5 additions & 5 deletions radicle-httpd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ logfmt = [
anyhow = { version = "1" }
axum = { version = "0.7.2", default-features = false, features = ["json", "query", "tokio", "http1"] }
axum-auth = { version= "0.7.0", default-features = false, features = ["auth-bearer"] }
axum-server = { version = "0.5.1", default-features = false }
axum-server = { version = "0.6.0", default-features = false }
base64 = "0.21.3"
chrono = { version = "0.4.22", default-features = false, features = ["clock"] }
fastrand = { version = "2.0.0" }
flate2 = { version = "1" }
hyper = { version = "1.0.1", default-features = false }
lexopt = { version = "0.2.1" }
lru = { version = "0.11.0" }
nonempty = { version = "0.8.1", features = ["serialize"] }
lexopt = { version = "0.3.0" }
lru = { version = "0.12.0" }
nonempty = { version = "0.9.0", features = ["serialize"] }
radicle-surf = { version = "0.18.0", default-features = false, features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
Expand All @@ -35,7 +35,7 @@ time = { version = "0.3.17", features = ["parsing", "serde"] }
tokio = { version = "1.21", default-features = false, features = ["macros", "rt-multi-thread"] }
tower-http = { version = "0.5", default-features = false, features = ["trace", "cors", "set-header"] }
tracing = { version = "0.1.37", default-features = false, features = ["std", "log"] }
tracing-logfmt = { version = "0.2", optional = true }
tracing-logfmt = { version = "0.3", optional = true }
tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "ansi", "fmt"] }
ureq = { version = "2.9", default-features = false, features = ["json"] }
url = { version = "2.5.0" }
Expand Down
8 changes: 4 additions & 4 deletions radicle-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ anyhow = { version = "1" }
bloomy = { version = "1.2" }
byteorder = { version = "1" }
chrono = { version = "0.4.0", default-features = false, features = ["clock"] }
colored = { version = "1.9.0" }
colored = { version = "2.1.0" }
crossbeam-channel = { version = "0.5.6" }
cyphernet = { version = "0.4.1", features = ["tor", "dns", "ed25519", "p2p-ed25519"] }
fastrand = { version = "2.0.0" }
io-reactor = { version = "0.3.0", features = ["popol"] }
lexopt = { version = "0.2.1" }
lexopt = { version = "0.3.0" }
libc = { version = "0.2.137" }
log = { version = "0.4.17", features = ["std"] }
localtime = { version = "1.2.0" }
netservices = { version = "0.5.0", features = ["io-reactor", "socket2"] }
nonempty = { version = "0.8.1", features = ["serialize"] }
nonempty = { version = "0.9.0", features = ["serialize"] }
once_cell = { version = "1.13" }
qcheck = { version = "1", default-features = false, optional = true }
# N.b. this is required to use macros, even though it's re-exported
# through radicle
radicle-git-ext = { version = "0.7.0", features = ["serde"] }
sqlite = { version = "0.32.0", features = ["bundled"] }
scrypt = { version = "0.10.0", default-features = false }
scrypt = { version = "0.11.0", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
snapbox = { version = "0.4.3", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions radicle-node/src/service/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ impl NodeAnnouncement {
///
pub fn work(&self) -> u32 {
let (n, r, p) = Announcement::POW_PARAMS;
let params = scrypt::Params::new(n, r, p).expect("proof-of-work parameters are valid");
let mut output = vec![0; 32];
let params = scrypt::Params::new(n, r, p, 32).expect("proof-of-work parameters are valid");
let mut output = [0u8; 32];

scrypt::scrypt(
wire::serialize(self).as_ref(),
Expand Down
2 changes: 1 addition & 1 deletion radicle-term/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ anstyle-query = { version = "1.0.0" }
inquire = { version = "0.6.2", default-features = false, features = ["termion", "editor"] }
libc = { version = "0.2" }
once_cell = { version = "1.13" }
termion = { version = "2" }
termion = { version = "3" }
unicode-display-width = { version = "0.3.0" }
unicode-segmentation = { version = "1.7.1" }
zeroize = { version = "1.1" }
Expand Down
6 changes: 3 additions & 3 deletions radicle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ multibase = { version = "0.9.1" }
localtime = { version = "1.2.0", features = ["serde"] }
libc = { version = "0.2" }
log = { version = "0.4.17", features = ["std"] }
nonempty = { version = "0.8.1", features = ["serialize"] }
nonempty = { version = "0.9.0", features = ["serialize"] }
once_cell = { version = "1.13" }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
siphasher = { version = "0.3.10" }
siphasher = { version = "1.0.0" }
radicle-git-ext = { version = "0.7.0", features = ["serde"] }
sqlite = { version = "0.32.0", features = ["bundled"] }
tempfile = { version = "3.3.0" }
Expand All @@ -41,7 +41,7 @@ features = ["clock"]
optional = true

[dependencies.colored]
version = "1.9.0"
version = "2.1.0"
optional = true

[dependencies.git2]
Expand Down

0 comments on commit ebdaf0e

Please sign in to comment.