Update radicle crates to 0.9.0
This commit is contained in:
parent
77076af23c
commit
9cdf0aa1fd
|
|
@ -505,14 +505,14 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "chrono"
|
||||
version = "0.4.31"
|
||||
version = "0.4.35"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38"
|
||||
checksum = "8eaf5903dcbc0a39312feb77df2ff4c76387d591b9fc7b04a238dcf8bb62639a"
|
||||
dependencies = [
|
||||
"android-tzdata",
|
||||
"iana-time-zone",
|
||||
"num-traits",
|
||||
"windows-targets 0.48.5",
|
||||
"windows-targets 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -1534,9 +1534,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "iana-time-zone"
|
||||
version = "0.1.59"
|
||||
version = "0.1.60"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b6a67363e2aa4443928ce15e57ebae94fd8949958fd1223c4cfc0cd473ad7539"
|
||||
checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
|
||||
dependencies = [
|
||||
"android_system_properties",
|
||||
"core-foundation-sys",
|
||||
|
|
@ -2279,7 +2279,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"amplify",
|
||||
"base64 0.21.7",
|
||||
|
|
@ -2313,7 +2313,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-cli"
|
||||
version = "0.8.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"chrono",
|
||||
|
|
@ -2356,7 +2356,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-cli-test"
|
||||
version = "0.1.1"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"escargot",
|
||||
"log",
|
||||
|
|
@ -2369,7 +2369,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-cob"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"fastrand",
|
||||
"git2",
|
||||
|
|
@ -2403,7 +2403,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-crypto"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"amplify",
|
||||
"cyphernet",
|
||||
|
|
@ -2424,14 +2424,14 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-dag"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"fastrand",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "radicle-fetch"
|
||||
version = "0.1.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"bstr",
|
||||
"either",
|
||||
|
|
@ -2465,7 +2465,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-httpd"
|
||||
version = "0.1.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"axum",
|
||||
|
|
@ -2502,7 +2502,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-node"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"amplify",
|
||||
"anyhow",
|
||||
|
|
@ -2538,7 +2538,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-remote-helper"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"log",
|
||||
"radicle",
|
||||
|
|
@ -2550,7 +2550,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-ssh"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"byteorder",
|
||||
"log",
|
||||
|
|
@ -2586,7 +2586,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-term"
|
||||
version = "0.1.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"anstyle-query",
|
||||
"anyhow",
|
||||
|
|
@ -2604,7 +2604,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "radicle-tools"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"radicle",
|
||||
|
|
|
|||
|
|
@ -1,15 +1,11 @@
|
|||
[package]
|
||||
name = "radicle-cli-test"
|
||||
description = "Radicle CLI test library"
|
||||
homepage = "https://radicle.xyz"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.1.1"
|
||||
authors = [
|
||||
"Alexis Sellier <alexis@radicle.xyz>",
|
||||
"xla <self@xla.is>"
|
||||
]
|
||||
version = "0.9.0"
|
||||
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
||||
edition = "2021"
|
||||
rust-version = "1.67"
|
||||
repository = "https://github.com/radicle-dev/heartwood"
|
||||
description = "Test your cli with markdown descriptions"
|
||||
categories = ["development-tools::testing"]
|
||||
keywords = ["cli", "test", "command"]
|
||||
readme = "README.md"
|
||||
|
|
@ -24,5 +20,5 @@ thiserror = { version = "1" }
|
|||
|
||||
[dependencies.radicle]
|
||||
path = "../radicle"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
features = ["logger", "test"]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
[package]
|
||||
name = "radicle-cli"
|
||||
description = "Radicle CLI"
|
||||
homepage = "https://radicle.xyz"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.8.0"
|
||||
version = "0.9.0"
|
||||
authors = ["Alexis Sellier <alexis@radicle.xyz>"]
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
build = "build.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "rad"
|
||||
|
|
@ -49,6 +51,7 @@ zeroize = { version = "1.1" }
|
|||
[dependencies.radicle]
|
||||
version = "0"
|
||||
path = "../radicle"
|
||||
features = ["logger"]
|
||||
|
||||
[dependencies.radicle-cli-test]
|
||||
version = "0"
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
../build.rs
|
||||
|
|
@ -3,7 +3,7 @@ name = "radicle-cob"
|
|||
description = "Radicle Collaborative Objects library"
|
||||
homepage = "https://radicle.xyz"
|
||||
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
authors = [
|
||||
"Alex Good <alex@memoryandthought.me>",
|
||||
"Fintan Halpenny <fintan.halpenny@gmail.com>",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ description = "Radicle cryptographic primitives"
|
|||
homepage = "https://radicle.xyz"
|
||||
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
authors = [
|
||||
"cloudhead <cloudhead@radicle.xyz>",
|
||||
"Fintan Halpenny <fintan.halpenny@gmail.com>",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ homepage = "https://radicle.xyz"
|
|||
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
[package]
|
||||
name = "radicle-fetch"
|
||||
description = "Radicle fetch protocol"
|
||||
homepage = "https://radicle.xyz"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.1.0"
|
||||
version = "0.9.0"
|
||||
authors = ["Fintan Halpenny <fintan.halpenny@gmail.com>"]
|
||||
edition = "2021"
|
||||
|
||||
|
|
@ -22,3 +24,4 @@ thiserror = { version = "1" }
|
|||
|
||||
[dependencies.radicle]
|
||||
path = "../radicle"
|
||||
version = "0"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
[package]
|
||||
name = "radicle-httpd"
|
||||
description = "Radicle HTTP daemon"
|
||||
homepage = "https://radicle.xyz"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.1.0"
|
||||
authors = ["Alexis Sellier <alexis@radicle.xyz>"]
|
||||
version = "0.9.0"
|
||||
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
||||
edition = "2021"
|
||||
default-run = "radicle-httpd"
|
||||
build = "../build.rs"
|
||||
build = "build.rs"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
|
@ -50,18 +52,19 @@ url = { version = "2.5.0" }
|
|||
|
||||
[dependencies.radicle]
|
||||
path = "../radicle"
|
||||
version = "0.2.0"
|
||||
version = "0"
|
||||
|
||||
[dependencies.radicle-term]
|
||||
path = "../radicle-term"
|
||||
version = "0"
|
||||
|
||||
[dependencies.radicle-cli]
|
||||
path = "../radicle-cli"
|
||||
version = "0"
|
||||
|
||||
[dev-dependencies]
|
||||
hyper = { version = "1.0.1", default-features = false, features = ["client"] }
|
||||
pretty_assertions = { version = "1.3.0" }
|
||||
radicle-cli = { path = "../radicle-cli" }
|
||||
radicle-crypto = { path = "../radicle-crypto", features = ["test"] }
|
||||
tempfile = { version = "3.3.0" }
|
||||
tower = { version = "0.4", features = ["util"] }
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
../build.rs
|
||||
|
|
@ -403,7 +403,9 @@ async fn activity_handler(
|
|||
) -> impl IntoResponse {
|
||||
let (repo, _) = ctx.repo(project)?;
|
||||
let current_date = chrono::Utc::now().timestamp();
|
||||
let one_year_ago = chrono::Duration::weeks(52);
|
||||
// SAFETY: The number of weeks is static and not out of bounds.
|
||||
#[allow(clippy::unwrap_used)]
|
||||
let one_year_ago = chrono::Duration::try_weeks(52).unwrap();
|
||||
let repo = Repository::open(repo.path())?;
|
||||
let head = repo.head()?;
|
||||
let timestamps = repo
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
[package]
|
||||
name = "radicle-node"
|
||||
description = "The Radicle Node"
|
||||
homepage = "https://radicle.xyz"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.2.0"
|
||||
authors = ["Alexis Sellier <alexis@radicle.xyz>"]
|
||||
version = "0.9.0"
|
||||
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
build = "build.rs"
|
||||
|
||||
[features]
|
||||
test = ["radicle/test", "radicle-crypto/test", "radicle-crypto/cyphernet", "qcheck", "snapbox"]
|
||||
|
|
@ -41,16 +43,16 @@ thiserror = { version = "1" }
|
|||
|
||||
[dependencies.radicle]
|
||||
path = "../radicle"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
features = ["logger"]
|
||||
|
||||
[dependencies.radicle-fetch]
|
||||
path = "../radicle-fetch"
|
||||
version = "0.1.0"
|
||||
version = "0.9.0"
|
||||
|
||||
[dev-dependencies]
|
||||
radicle = { path = "../radicle", version = "*", features = ["test"] }
|
||||
radicle-crypto = { path = "../radicle-crypto", version = "*", features = ["test", "cyphernet"] }
|
||||
radicle = { path = "../radicle", version = "0", features = ["test"] }
|
||||
radicle-crypto = { path = "../radicle-crypto", version = "0", features = ["test", "cyphernet"] }
|
||||
qcheck = { version = "1", default-features = false }
|
||||
qcheck-macros = { version = "1", default-features = false }
|
||||
snapbox = { version = "0.4.3" }
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
../build.rs
|
||||
|
|
@ -1,10 +1,12 @@
|
|||
[package]
|
||||
name = "radicle-remote-helper"
|
||||
description = "Radicle git remote helper"
|
||||
homepage = "https://radicle.xyz"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.2.0"
|
||||
authors = ["Alexis Sellier <alexis@radicle.xyz>"]
|
||||
version = "0.9.0"
|
||||
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
||||
edition = "2021"
|
||||
build = "../build.rs"
|
||||
build = "build.rs"
|
||||
|
||||
[dependencies]
|
||||
thiserror = { version = "1" }
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
../build.rs
|
||||
|
|
@ -4,7 +4,7 @@ description = "Radicle SSH library"
|
|||
homepage = "https://radicle.xyz"
|
||||
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
|
||||
license = "Apache-2.0"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
authors = [
|
||||
"Fintan Halpenny <fintan.halpenny@gmail.com>",
|
||||
"Pierre-Étienne Meunier <pe@pijul.org>",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ description = "Terminal library used by the Radicle CLI"
|
|||
homepage = "https://radicle.xyz"
|
||||
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.1.0"
|
||||
version = "0.9.0"
|
||||
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
||||
edition = "2021"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "radicle-tools"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
authors = ["Alexis Sellier <alexis@radicle.xyz>"]
|
||||
edition = "2021"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ description = "Radicle standard library"
|
|||
homepage = "https://radicle.xyz"
|
||||
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
|
||||
license = "MIT OR Apache-2.0"
|
||||
version = "0.2.0"
|
||||
version = "0.9.0"
|
||||
authors = ["cloudhead <cloudhead@radicle.xyz>"]
|
||||
edition = "2021"
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ features = ["vendored-libgit2"]
|
|||
|
||||
[dependencies.radicle-cob]
|
||||
path = "../radicle-cob"
|
||||
version = "0"
|
||||
version = "0.9.0"
|
||||
|
||||
[dependencies.radicle-crypto]
|
||||
path = "../radicle-crypto"
|
||||
|
|
|
|||
Loading…
Reference in New Issue