Lexically sort Cargo.toml dependencies

Utilize cargo-sort: https://github.com/DevinR528/cargo-sort

Signed-off-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
This commit is contained in:
Orhun Parmaksız 2022-05-28 19:41:39 +03:00
parent 75f968017d
commit bfd41ddb5f
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90
35 changed files with 270 additions and 266 deletions

View File

@ -42,10 +42,14 @@ rust-latest:
- cp cargo-audit $CARGO_HOME/bin/ || cargo install cargo-audit - cp cargo-audit $CARGO_HOME/bin/ || cargo install cargo-audit
- ./maint/cargo_audit - ./maint/cargo_audit
- cp $CARGO_HOME/bin/cargo-audit . - cp $CARGO_HOME/bin/cargo-audit .
- cp cargo-sort $CARGO_HOME/bin/ || cargo install cargo-sort
- ./maint/cargo_sort
- cp $CARGO_HOME/bin/cargo-sort .
- cargo build --verbose --release -p arti-bench --target x86_64-unknown-linux-gnu - cargo build --verbose --release -p arti-bench --target x86_64-unknown-linux-gnu
cache: cache:
paths: paths:
- cargo-audit - cargo-audit
- cargo-sort
artifacts: artifacts:
paths: paths:
- target/x86_64-unknown-linux-gnu/debug/arti - target/x86_64-unknown-linux-gnu/debug/arti

View File

@ -6,41 +6,41 @@
# Please keep this list topologically sorted by dependency relation, so # Please keep this list topologically sorted by dependency relation, so
# that every crate appears _before_ any other crate that depends on it. # that every crate appears _before_ any other crate that depends on it.
members = [ members = [
"crates/tor-basic-utils", "crates/arti",
"crates/caret", "crates/arti-bench",
"crates/fs-mistrust",
"crates/safelog",
"crates/retry-error",
"crates/tor-error",
"crates/tor-config",
"crates/tor-events",
"crates/tor-units",
"crates/tor-rtcompat",
"crates/tor-rtmock",
"crates/tor-llcrypto",
"crates/tor-protover",
"crates/tor-bytes",
"crates/tor-socksproto",
"crates/tor-checkable",
"crates/tor-cert",
"crates/tor-linkspec",
"crates/tor-cell",
"crates/tor-proto",
"crates/tor-netdoc",
"crates/tor-consdiff",
"crates/tor-netdir",
"crates/tor-persist",
"crates/tor-chanmgr",
"crates/tor-guardmgr",
"crates/tor-circmgr",
"crates/tor-dirclient",
"crates/tor-dirmgr",
"crates/arti-client", "crates/arti-client",
"crates/arti-config", "crates/arti-config",
"crates/arti-hyper", "crates/arti-hyper",
"crates/arti",
"crates/arti-bench",
"crates/arti-testing", "crates/arti-testing",
"crates/caret",
"crates/fs-mistrust",
"crates/retry-error",
"crates/safelog",
"crates/tor-basic-utils",
"crates/tor-bytes",
"crates/tor-cell",
"crates/tor-cert",
"crates/tor-chanmgr",
"crates/tor-checkable",
"crates/tor-circmgr",
"crates/tor-config",
"crates/tor-consdiff",
"crates/tor-dirclient",
"crates/tor-dirmgr",
"crates/tor-error",
"crates/tor-events",
"crates/tor-guardmgr",
"crates/tor-linkspec",
"crates/tor-llcrypto",
"crates/tor-netdir",
"crates/tor-netdoc",
"crates/tor-persist",
"crates/tor-proto",
"crates/tor-protover",
"crates/tor-rtcompat",
"crates/tor-rtmock",
"crates/tor-socksproto",
"crates/tor-units",
] ]
resolver = "2" resolver = "2"

View File

@ -12,19 +12,19 @@ categories = ["asynchronous"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies] [dependencies]
clap = "2.33.0"
futures = "0.3.14"
float-ord = "0.3"
rand = "0.8"
anyhow = "1.0.23" anyhow = "1.0.23"
serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.50"
tracing = "0.1.18"
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
tokio = { version = "1.7", features = ["full"] }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
arti = { path = "../arti", version = "0.4.0" } arti = { path = "../arti", version = "0.4.0" }
arti-client = { package = "arti-client", path = "../arti-client", version = "0.4.0" } arti-client = { package = "arti-client", path = "../arti-client", version = "0.4.0" }
clap = "2.33.0"
float-ord = "0.3"
fs-mistrust = { path = "../fs-mistrust", version = "0.2.0" } fs-mistrust = { path = "../fs-mistrust", version = "0.2.0" }
futures = "0.3.14"
rand = "0.8"
serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.50"
tokio = { version = "1.7", features = ["full"] }
tokio-socks = "0.5" tokio-socks = "0.5"
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
tracing = "0.1.18"
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }

View File

@ -31,12 +31,22 @@ error_detail = []
experimental-api = [] experimental-api = []
[dependencies] [dependencies]
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
derive_more = "0.99"
directories = "4"
educe = "0.4.6"
fs-mistrust = { path = "../fs-mistrust", version = "0.2.0", features = ["serde"] } fs-mistrust = { path = "../fs-mistrust", version = "0.2.0", features = ["serde"] }
futures = "0.3.14"
humantime-serde = "1.1.1"
pin-project = "1"
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
safelog = { path = "../safelog", version = "0.1.0" } safelog = { path = "../safelog", version = "0.1.0" }
serde = { version = "1.0.103", features = ["derive"] }
thiserror = "1"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" } tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-chanmgr = { path = "../tor-chanmgr", version = "0.3.1" }
tor-circmgr = { path = "../tor-circmgr", version = "0.3.1" } tor-circmgr = { path = "../tor-circmgr", version = "0.3.1" }
tor-config = { path = "../tor-config", version = "0.4.0" } tor-config = { path = "../tor-config", version = "0.4.0" }
tor-chanmgr = { path = "../tor-chanmgr", version = "0.3.1" }
tor-dirmgr = { path = "../tor-dirmgr", version = "0.4.0" } tor-dirmgr = { path = "../tor-dirmgr", version = "0.4.0" }
tor-error = { path = "../tor-error", version = "0.3.1" } tor-error = { path = "../tor-error", version = "0.3.1" }
tor-guardmgr = { path = "../tor-guardmgr", version = "0.3.1" } tor-guardmgr = { path = "../tor-guardmgr", version = "0.3.1" }
@ -44,21 +54,13 @@ tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-persist = { path = "../tor-persist", version = "0.4.0" } tor-persist = { path = "../tor-persist", version = "0.4.0" }
tor-proto = { path = "../tor-proto", version = "0.3.1" } tor-proto = { path = "../tor-proto", version = "0.3.1" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" } tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
humantime-serde = "1.1.1"
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
derive_more = "0.99"
directories = "4"
educe = "0.4.6"
futures = "0.3.14"
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
tracing = "0.1.18" tracing = "0.1.18"
serde = { version = "1.0.103", features = ["derive"] }
thiserror = "1"
pin-project = "1"
[dev-dependencies] [dev-dependencies]
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] } anyhow = "1.0.23"
once_cell = "1.9"
pin-project = "1"
tempfile = "3.3"
tokio-crate = { package = "tokio", version = "1.7", features = [ tokio-crate = { package = "tokio", version = "1.7", features = [
"rt", "rt",
"rt-multi-thread", "rt-multi-thread",
@ -67,9 +69,6 @@ tokio-crate = { package = "tokio", version = "1.7", features = [
"time", "time",
"macros", "macros",
] } ] }
pin-project = "1"
tokio-util = { version = "0.7.0", features = ["compat"] } tokio-util = { version = "0.7.0", features = ["compat"] }
anyhow = "1.0.23" tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
tracing-subscriber = "0.3.0" tracing-subscriber = "0.3.0"
tempfile = "3.3"
once_cell = "1.9"

View File

@ -29,6 +29,9 @@ arti-client = { path = "../arti-client", version = "0.4.0" }
educe = "0.4.6" educe = "0.4.6"
hyper = { version = "0.14", features = ["http1", "client", "runtime"] } hyper = { version = "0.14", features = ["http1", "client", "runtime"] }
pin-project = "1" pin-project = "1"
thiserror = "1"
tls-api = { version = "0.8" }
tls-api-native-tls = { version = "0.8.0" }
tokio = { package = "tokio", version = "1.7", features = [ tokio = { package = "tokio", version = "1.7", features = [
"rt", "rt",
"rt-multi-thread", "rt-multi-thread",
@ -37,9 +40,6 @@ tokio = { package = "tokio", version = "1.7", features = [
"time", "time",
"macros", "macros",
] } ] }
thiserror = "1"
tls-api = { version = "0.8" }
tls-api-native-tls = { version = "0.8.0" }
tor-error = { path = "../tor-error", version = "0.3.1" } tor-error = { path = "../tor-error", version = "0.3.1" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio"] } tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio"] }

View File

@ -15,34 +15,33 @@ publish = false
[features] [features]
[dependencies] [dependencies]
anyhow = "1.0.23"
arti = { package = "arti", path = "../arti", version = "0.4.0" } arti = { package = "arti", path = "../arti", version = "0.4.0" }
arti-client = { package = "arti-client", path = "../arti-client", version = "0.4.0", features = [ arti-client = { package = "arti-client", path = "../arti-client", version = "0.4.0", features = [
"dirfilter", "dirfilter",
] } ] }
tor-dirmgr = { package = "tor-dirmgr", path = "../tor-dirmgr", version = "0.4.0", features = [
"dirfilter",
] }
tor-netdoc = { package = "tor-netdoc", path = "../tor-netdoc", version = "0.4.0", features = [
"experimental-api",
"dangerous-expose-struct-fields",
] }
tor-checkable = { path = "../tor-checkable", version = "0.3.0", features = ["experimental-api"] }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
tor-error = { path = "../tor-error", version = "0.3.1" }
anyhow = "1.0.23"
async-trait = "0.1.2" async-trait = "0.1.2"
config = { version = "0.13", default-features = false }
cfg-if = "1.0.0" cfg-if = "1.0.0"
clap = "2.33.0"
config = { version = "0.13", default-features = false }
futures = "0.3.14" futures = "0.3.14"
tracing = "0.1.18"
notify = "4.0" notify = "4.0"
pin-project = "1" pin-project = "1"
rand = "0.8" rand = "0.8"
rlimit = "0.8.3" rlimit = "0.8.3"
serde = { version = "1.0.103", features = ["derive"] } serde = { version = "1.0.103", features = ["derive"] }
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
tokio = { version = "1.7", features = ["signal", "macros"] } tokio = { version = "1.7", features = ["signal", "macros"] }
clap = "2.33.0" tor-checkable = { path = "../tor-checkable", version = "0.3.0", features = ["experimental-api"] }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-dirmgr = { package = "tor-dirmgr", path = "../tor-dirmgr", version = "0.4.0", features = [
"dirfilter",
] }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-netdoc = { package = "tor-netdoc", path = "../tor-netdoc", version = "0.4.0", features = [
"experimental-api",
"dangerous-expose-struct-fields",
] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
tracing = "0.1.18"
tracing-appender = "0.2.0" tracing-appender = "0.2.0"
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }

View File

@ -23,30 +23,29 @@ static-native-tls = ["arti-client/static-native-tls", "native-tls"]
journald = ["tracing-journald"] journald = ["tracing-journald"]
[dependencies] [dependencies]
safelog = { path = "../safelog", version = "0.1.0" }
fs-mistrust = { path = "../fs-mistrust", version = "0.2.0" }
arti-client = { package = "arti-client", path = "../arti-client", version = "0.4.0", default-features = false }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-error = { path = "../tor-error", version = "0.3.1", default-features = false }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", default-features = false }
tor-socksproto = { path = "../tor-socksproto", version = "0.3.0"}
anyhow = "1.0.23" anyhow = "1.0.23"
arti-client = { package = "arti-client", path = "../arti-client", version = "0.4.0", default-features = false }
async-ctrlc = { version = "1.2.0", optional = true } async-ctrlc = { version = "1.2.0", optional = true }
config = { version = "0.13", default-features = false, features = ["toml"] }
cfg-if = "1.0.0" cfg-if = "1.0.0"
clap = "2.33.0"
config = { version = "0.13", default-features = false, features = ["toml"] }
derive_builder = { version = "0.11", package = "derive_builder_fork_arti" } derive_builder = { version = "0.11", package = "derive_builder_fork_arti" }
fs-mistrust = { path = "../fs-mistrust", version = "0.2.0" }
futures = "0.3.14" futures = "0.3.14"
tracing = "0.1.18"
notify = "4.0" notify = "4.0"
once_cell = { version = "1", optional = true } once_cell = { version = "1", optional = true }
rlimit = "0.8.3" rlimit = "0.8.3"
safelog = { path = "../safelog", version = "0.1.0" }
serde = { version = "1.0.103", features = ["derive"] } serde = { version = "1.0.103", features = ["derive"] }
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
tokio-crate = { package = "tokio", version = "1.7", optional = true, features = ["signal"] } tokio-crate = { package = "tokio", version = "1.7", optional = true, features = ["signal"] }
clap = "2.33.0" tor-config = { path = "../tor-config", version = "0.4.0" }
tracing-journald = { version = "0.3.0", optional = true } tor-error = { path = "../tor-error", version = "0.3.1", default-features = false }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", default-features = false }
tor-socksproto = { path = "../tor-socksproto", version = "0.3.0" }
tracing = "0.1.18"
tracing-appender = "0.2.0" tracing-appender = "0.2.0"
tracing-journald = { version = "0.3.0", optional = true }
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
trust-dns-proto = "0.21.1" trust-dns-proto = "0.21.1"
[dev-dependencies] [dev-dependencies]

View File

@ -16,9 +16,9 @@ default = ["walkdir"]
[dependencies] [dependencies]
derive_builder = { version = "0.11", package = "derive_builder_fork_arti" } derive_builder = { version = "0.11", package = "derive_builder_fork_arti" }
educe = "0.4.6" educe = "0.4.6"
serde = { version = "1.0.103", features = ["derive"], optional = true }
thiserror = "1" thiserror = "1"
walkdir = { version = "2", optional = true } walkdir = { version = "2", optional = true }
serde = { version = "1.0.103", features = ["derive"], optional = true }
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
libc = "0.2" libc = "0.2"

View File

@ -17,9 +17,9 @@ default = []
[dependencies] [dependencies]
educe = "0.4.6" educe = "0.4.6"
thiserror = "1"
fluid-let = "1" fluid-let = "1"
serde = { version = "1.0.103", optional = true, features = ["derive"] } serde = { version = "1.0.103", optional = true, features = ["derive"] }
thiserror = "1"
[dev-dependencies] [dev-dependencies]
serial_test = "0.6" serial_test = "0.6"

View File

@ -14,8 +14,8 @@ repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies] [dependencies]
futures = "0.3.14" futures = "0.3.14"
rand = "0.8"
pin-project = "1" pin-project = "1"
rand = "0.8"
[dev-dependencies] [dev-dependencies]
derive_more = "0.99" derive_more = "0.99"

View File

@ -12,15 +12,14 @@ categories = ["parsing", "encoding"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies] [dependencies]
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-error = { path = "../tor-error", version = "0.3.1" }
arrayref = "0.3" arrayref = "0.3"
bytes = "1" bytes = "1"
digest = { version = "0.10.0", features = ["subtle", "mac"] } digest = { version = "0.10.0", features = ["subtle", "mac"] }
generic-array = "0.14.3" generic-array = "0.14.3"
signature = "1" signature = "1"
thiserror = "1" thiserror = "1"
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
[dev-dependencies] [dev-dependencies]
hex-literal = "0.3" hex-literal = "0.3"

View File

@ -12,21 +12,20 @@ categories = ["parser-implementations", "network-programming"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies] [dependencies]
caret = { path = "../caret", version = "0.2.0"}
educe = "0.4.6"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-bytes = { path = "../tor-bytes", version = "0.3.0"}
tor-cert = { path = "../tor-cert", version = "0.3.0"}
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0"}
arrayref = "0.3" arrayref = "0.3"
bitflags = "1" bitflags = "1"
bytes = "1" bytes = "1"
caret = { path = "../caret", version = "0.2.0" }
educe = "0.4.6"
rand = "0.8" rand = "0.8"
thiserror = "1" thiserror = "1"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-bytes = { path = "../tor-bytes", version = "0.3.0" }
tor-cert = { path = "../tor-cert", version = "0.3.0" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
[dev-dependencies] [dev-dependencies]
hex-literal = "0.3"
hex = "0.4" hex = "0.4"
hex-literal = "0.3"

View File

@ -12,13 +12,12 @@ categories = ["parser-implementations"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies] [dependencies]
caret = { path = "../caret", version = "0.2.0"} caret = { path = "../caret", version = "0.2.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-bytes = { path = "../tor-bytes", version = "0.3.0"}
tor-checkable = { path = "../tor-checkable", version = "0.3.0"}
digest = "0.10.0" digest = "0.10.0"
signature = "1" signature = "1"
tor-bytes = { path = "../tor-bytes", version = "0.3.0" }
tor-checkable = { path = "../tor-checkable", version = "0.3.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
[dev-dependencies] [dev-dependencies]
base64 = "0.13.0" base64 = "0.13.0"

View File

@ -14,25 +14,24 @@ repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[features] [features]
[dependencies] [dependencies]
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
tor-proto = { path = "../tor-proto", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0"}
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
async-trait = "0.1.2" async-trait = "0.1.2"
derive_more = "0.99" derive_more = "0.99"
educe = "0.4.6" educe = "0.4.6"
futures = "0.3.14" futures = "0.3.14"
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] } postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
rand = "0.8" rand = "0.8"
tracing = "0.1.18"
thiserror = "1" thiserror = "1"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
tor-proto = { path = "../tor-proto", version = "0.3.1" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
tracing = "0.1.18"
[dev-dependencies] [dev-dependencies]
float_eq = "0.7" float_eq = "0.7"
futures-await-test = "0.3.0" futures-await-test = "0.3.0"
hex-literal = "0.3" hex-literal = "0.3"
tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] } tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" }

View File

@ -15,7 +15,6 @@ repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
experimental-api = [] experimental-api = []
[dependencies] [dependencies]
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
signature = "1" signature = "1"
thiserror = "1" thiserror = "1"
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }

View File

@ -19,20 +19,6 @@ repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
experimental-api = [] experimental-api = []
[dependencies] [dependencies]
safelog = { path = "../safelog", version = "0.1.0" }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-chanmgr = { path = "../tor-chanmgr", version = "0.3.1" }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-guardmgr = { path = "../tor-guardmgr", version = "0.3.1" }
tor-netdir = { path = "../tor-netdir", version = "0.3.0"}
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-proto = { path = "../tor-proto", version = "0.3.1" }
retry-error = { path = "../retry-error", version = "0.2.0"}
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0"}
tor-persist = { path = "../tor-persist", version = "0.4.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
async-trait = "0.1.2" async-trait = "0.1.2"
bounded-vec-deque = "0.1" bounded-vec-deque = "0.1"
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" } derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
@ -43,19 +29,32 @@ futures = "0.3.14"
humantime-serde = "1.1.1" humantime-serde = "1.1.1"
itertools = "0.10.1" itertools = "0.10.1"
once_cell = "1" once_cell = "1"
tracing = "0.1.18"
pin-project = "1" pin-project = "1"
rand = "0.8" rand = "0.8"
retry-error = { path = "../retry-error", version = "0.2.0" }
safelog = { path = "../safelog", version = "0.1.0" }
serde = { version = "1.0.103", features = ["derive"] } serde = { version = "1.0.103", features = ["derive"] }
static_assertions = "1" static_assertions = "1"
thiserror = "1" thiserror = "1"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-chanmgr = { path = "../tor-chanmgr", version = "0.3.1" }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-guardmgr = { path = "../tor-guardmgr", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0" }
tor-netdir = { path = "../tor-netdir", version = "0.3.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-persist = { path = "../tor-persist", version = "0.4.0" }
tor-proto = { path = "../tor-proto", version = "0.3.1" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
tracing = "0.1.18"
weak-table = "0.3.0" weak-table = "0.3.0"
[dev-dependencies] [dev-dependencies]
futures-await-test = "0.3.0" futures-await-test = "0.3.0"
tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" }
tor-guardmgr = { path = "../tor-guardmgr", version = "0.3.1", features = ["testing"] } tor-guardmgr = { path = "../tor-guardmgr", version = "0.3.1", features = ["testing"] }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"} tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
tor-netdir = { path = "../tor-netdir", version = "0.3.0", features = ["testing"] } tor-netdir = { path = "../tor-netdir", version = "0.3.0", features = ["testing"] }
tor-persist = { path = "../tor-persist", version = "0.4.0", features = ["testing"] } tor-persist = { path = "../tor-persist", version = "0.4.0", features = ["testing"] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] } tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" }

View File

@ -16,12 +16,9 @@ default = ["expand-paths"]
expand-paths = ["shellexpand", "directories"] expand-paths = ["shellexpand", "directories"]
[dependencies] [dependencies]
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-basic-utils = { path="../tor-basic-utils", version = "0.3.1" }
thiserror = "1"
config = { version = "0.13", default-features = false, features = ["toml"] } config = { version = "0.13", default-features = false, features = ["toml"] }
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" } derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
directories = { version = "4", optional = true }
educe = "0.4.6" educe = "0.4.6"
fs-mistrust = { path = "../fs-mistrust", version = "0.2.0" } fs-mistrust = { path = "../fs-mistrust", version = "0.2.0" }
itertools = "0.10.1" itertools = "0.10.1"
@ -31,9 +28,11 @@ regex = { version = "1", default-features = false, features = ["std"] }
serde = { version = "1.0.103", features = ["derive"] } serde = { version = "1.0.103", features = ["derive"] }
serde_ignored = "0.1.3" serde_ignored = "0.1.3"
shellexpand = { version = "2.1", package = "shellexpand-fork", optional = true } shellexpand = { version = "2.1", package = "shellexpand-fork", optional = true }
thiserror = "1"
toml = "0.5" toml = "0.5"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tracing = "0.1.18" tracing = "0.1.18"
directories = { version = "4", optional = true }
[dev-dependencies] [dev-dependencies]
anyhow = "1.0.23" anyhow = "1.0.23"

View File

@ -7,18 +7,16 @@ rust-version = "1.56"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Handle the consensus-diff format used in the Tor directory protocol" description = "Handle the consensus-diff format used in the Tor directory protocol"
keywords = [ "tor", "arti", "diff" ] keywords = ["tor", "arti", "diff"]
categories = [ "parser-implementations", "network-programming" ] categories = ["parser-implementations", "network-programming"]
repository="https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[features] [features]
default = [] default = []
slow-diff-apply = [] slow-diff-apply = []
[dependencies] [dependencies]
tor-llcrypto = { path="../tor-llcrypto", version = "0.3.0"}
digest = "0.10.0" digest = "0.10.0"
hex = "0.4" hex = "0.4"
thiserror = "1" thiserror = "1"
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }

View File

@ -19,27 +19,26 @@ zstd = ["async-compression/zstd"]
routerdesc = [] routerdesc = []
[dependencies] [dependencies]
tor-circmgr = { path = "../tor-circmgr", version = "0.3.1" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0"}
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-proto = { path = "../tor-proto", version = "0.3.1" }
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
async-compression = { version = "0.3.14", features = ["futures-io", "zlib"] } async-compression = { version = "0.3.14", features = ["futures-io", "zlib"] }
base64 = "0.13.0" base64 = "0.13.0"
derive_more = "0.99" derive_more = "0.99"
futures = "0.3.14" futures = "0.3.14"
hex = "0.4" hex = "0.4"
http = "0.2" http = "0.2"
httpdate = "1.0"
httparse = "1.2" httparse = "1.2"
tracing = "0.1.18" httpdate = "1.0"
memchr = "2" memchr = "2"
thiserror = "1" thiserror = "1"
tor-circmgr = { path = "../tor-circmgr", version = "0.3.1" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-proto = { path = "../tor-proto", version = "0.3.1" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
tracing = "0.1.18"
[dev-dependencies] [dev-dependencies]
futures-await-test = "0.3.0" futures-await-test = "0.3.0"
tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] } tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" }

View File

@ -26,21 +26,6 @@ dirfilter = []
experimental-api = [] experimental-api = []
[dependencies] [dependencies]
fs-mistrust = { path = "../fs-mistrust", version = "0.2.0" }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
retry-error = { path = "../retry-error", version = "0.2.0"}
tor-checkable = { path = "../tor-checkable", version = "0.3.0"}
tor-circmgr = { path = "../tor-circmgr", version = "0.3.1" }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-consdiff = { path = "../tor-consdiff", version = "0.3.0"}
tor-dirclient = { path = "../tor-dirclient", version = "0.3.1" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-guardmgr = { path = "../tor-guardmgr", version = "0.3.1" }
tor-netdir = { path = "../tor-netdir", version = "0.3.0"}
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
async-trait = "0.1.2" async-trait = "0.1.2"
base64 = "0.13.0" base64 = "0.13.0"
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" } derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
@ -48,26 +33,40 @@ derive_more = "0.99"
digest = "0.10.0" digest = "0.10.0"
educe = "0.4.6" educe = "0.4.6"
event-listener = "2" event-listener = "2"
futures = "0.3.14" fs-mistrust = { path = "../fs-mistrust", version = "0.2.0" }
fslock = { version = "0.2.0" } fslock = { version = "0.2.0" }
futures = "0.3.14"
hex = "0.4" hex = "0.4"
humantime-serde = "1.1.1"
itertools = "0.10.1" itertools = "0.10.1"
tracing = "0.1.18"
memmap2 = { version = "0.5.0", optional = true } memmap2 = { version = "0.5.0", optional = true }
once_cell = "1" once_cell = "1"
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] } postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
rand = "0.8" rand = "0.8"
retry-error = { path = "../retry-error", version = "0.2.0" }
rusqlite = { version = "0.27.0", features = ["time"] } rusqlite = { version = "0.27.0", features = ["time"] }
serde = { version = "1.0.103", features = ["derive"] } serde = { version = "1.0.103", features = ["derive"] }
signature = "1" signature = "1"
thiserror = "1" thiserror = "1"
time = { version = "0.3", features = ["formatting", "parsing"] } time = { version = "0.3", features = ["formatting", "parsing"] }
humantime-serde = "1.1.1" tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-checkable = { path = "../tor-checkable", version = "0.3.0" }
tor-circmgr = { path = "../tor-circmgr", version = "0.3.1" }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-consdiff = { path = "../tor-consdiff", version = "0.3.0" }
tor-dirclient = { path = "../tor-dirclient", version = "0.3.1" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-guardmgr = { path = "../tor-guardmgr", version = "0.3.1" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
tor-netdir = { path = "../tor-netdir", version = "0.3.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
tracing = "0.1.18"
[dev-dependencies] [dev-dependencies]
float_eq = "0.7"
futures-await-test = "0.3.0" futures-await-test = "0.3.0"
hex-literal = "0.3" hex-literal = "0.3"
tempfile = "3" tempfile = "3"
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] } tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" } tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" }
float_eq = "0.7"

View File

@ -12,12 +12,12 @@ categories = ["asynchronous"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies] [dependencies]
serde = { version = "1.0.103", features = ["derive"] }
async-broadcast = "0.4.0" async-broadcast = "0.4.0"
futures = "0.3.14" futures = "0.3.14"
tracing = "0.1.18"
once_cell = "1" once_cell = "1"
serde = { version = "1.0.103", features = ["derive"] }
thiserror = "1" thiserror = "1"
tracing = "0.1.18"
[dev-dependencies] [dev-dependencies]
tokio = { version = "1.7", features = ["macros", "rt", "rt-multi-thread", "time"] } tokio = { version = "1.7", features = ["macros", "rt", "rt-multi-thread", "time"] }

View File

@ -19,17 +19,6 @@ default = []
testing = [] testing = []
[dependencies] [dependencies]
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-netdir = { path = "../tor-netdir", version = "0.3.0"}
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0"}
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-persist = { path = "../tor-persist", version = "0.4.0" }
tor-proto = { path = "../tor-proto", version = "0.3.1" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
tor-units = { path = "../tor-units", version = "0.3.0"}
base64 = "0.13.0" base64 = "0.13.0"
derive_builder = { version = "0.11", package = "derive_builder_fork_arti" } derive_builder = { version = "0.11", package = "derive_builder_fork_arti" }
derive_more = "0.99" derive_more = "0.99"
@ -41,16 +30,25 @@ itertools = "0.10.1"
pin-project = "1" pin-project = "1"
postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] } postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] }
rand = "0.8" rand = "0.8"
serde = { version = "1.0.103", features = ["derive"] }
retain_mut = "0.1.3" retain_mut = "0.1.3"
serde = { version = "1.0.103", features = ["derive"] }
thiserror = "1" thiserror = "1"
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
tor-netdir = { path = "../tor-netdir", version = "0.3.0" }
tor-persist = { path = "../tor-persist", version = "0.4.0" }
tor-proto = { path = "../tor-proto", version = "0.3.1" }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0" }
tor-units = { path = "../tor-units", version = "0.3.0" }
tracing = "0.1.18" tracing = "0.1.18"
[dev-dependencies] [dev-dependencies]
float_eq = "0.7"
tor-netdir = { path = "../tor-netdir", version = "0.3.0", features = ["testing"] } tor-netdir = { path = "../tor-netdir", version = "0.3.0", features = ["testing"] }
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" } tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-persist = { path = "../tor-persist", version = "0.4.0", features = ["testing"] } tor-persist = { path = "../tor-persist", version = "0.4.0", features = ["testing"] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] } tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" } tor-rtmock = { path = "../tor-rtmock", version = "0.4.0" }
float_eq = "0.7"

View File

@ -12,9 +12,9 @@ categories = ["network-programming"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies] [dependencies]
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"} tor-bytes = { path = "../tor-bytes", version = "0.3.0" }
tor-bytes = { path = "../tor-bytes", version = "0.3.0"} tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
tor-protover = { path = "../tor-protover", version = "0.3.0"} tor-protover = { path = "../tor-protover", version = "0.3.0" }
[dev-dependencies] [dev-dependencies]
hex-literal = "0.3" hex-literal = "0.3"

View File

@ -24,29 +24,29 @@ hsv3-client = []
aes = { version = "0.8" } aes = { version = "0.8" }
arrayref = "0.3" arrayref = "0.3"
base64 = "0.13.0" base64 = "0.13.0"
curve25519-dalek = "3.2"
ctr = "0.9" ctr = "0.9"
curve25519-dalek = "3.2"
digest = "0.10.0" digest = "0.10.0"
ed25519-dalek = { version = "1", features = ["batch"] } ed25519-dalek = { version = "1", features = ["batch"] }
hex = "0.4" hex = "0.4"
rand_core = "0.6.2"
old_rand_core = { package = "rand_core", version = "0.5.1" } old_rand_core = { package = "rand_core", version = "0.5.1" }
rand_core = "0.6.2"
rsa = "0.5.0" rsa = "0.5.0"
serde = "1.0.103"
sha-1 = "0.10.0" sha-1 = "0.10.0"
sha2 = "0.10.0" sha2 = "0.10.0"
sha3 = "0.10.0" sha3 = "0.10.0"
serde = "1.0.103"
signature = "1" signature = "1"
simple_asn1 = "0.6" simple_asn1 = "0.6"
subtle = "2" subtle = "2"
thiserror = "1"
x25519-dalek = "1.2" x25519-dalek = "1.2"
zeroize = "1" zeroize = "1"
thiserror = "1"
[dev-dependencies] [dev-dependencies]
cipher = "0.4.1"
hex-literal = "0.3" hex-literal = "0.3"
rand = "0.8" rand = "0.8"
cipher = "0.4.1"
serde_test = "1.0.124" serde_test = "1.0.124"
[target.wasm32-unknown-unknown.dependencies] [target.wasm32-unknown-unknown.dependencies]

View File

@ -25,28 +25,27 @@ experimental-api = []
testing = ["hex", "hex-literal", "tor-netdoc/build_docs"] testing = ["hex", "hex-literal", "tor-netdoc/build_docs"]
[dependencies] [dependencies]
tor-checkable = { path = "../tor-checkable", version = "0.3.0"}
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0"}
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-protover = { path = "../tor-protover", version = "0.3.0"}
tor-units = { path = "../tor-units", version = "0.3.0"}
bitflags = "1" bitflags = "1"
derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" } derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" }
derive_more = "0.99" derive_more = "0.99"
futures = "0.3.14"
hex = { version = "0.4", optional = true } hex = { version = "0.4", optional = true }
hex-literal = { version = "0.3", optional = true } hex-literal = { version = "0.3", optional = true }
rand = "0.8" rand = "0.8"
serde = { version = "1.0.103", features = ["derive"] } serde = { version = "1.0.103", features = ["derive"] }
signature = "1" signature = "1"
thiserror = "1" thiserror = "1"
tor-checkable = { path = "../tor-checkable", version = "0.3.0" }
tor-config = { path = "../tor-config", version = "0.4.0" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0" }
tor-protover = { path = "../tor-protover", version = "0.3.0" }
tor-units = { path = "../tor-units", version = "0.3.0" }
tracing = "0.1.18" tracing = "0.1.18"
futures = "0.3.14"
[dev-dependencies] [dev-dependencies]
hex = "0.4" hex = "0.4"
hex-literal = "0.3" hex-literal = "0.3"
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0", features = ["build_docs"] }
rand_chacha = "0.3" rand_chacha = "0.3"
tor-netdoc = { path = "../tor-netdoc", version = "0.4.0", features = ["build_docs"] }

View File

@ -42,31 +42,29 @@ experimental-api = []
dangerous-expose-struct-fields = ["visible", "visibility"] dangerous-expose-struct-fields = ["visible", "visibility"]
[dependencies] [dependencies]
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-bytes = { path = "../tor-bytes", version = "0.3.0"}
tor-cert = { path = "../tor-cert", version = "0.3.0"}
tor-protover = { path = "../tor-protover", version = "0.3.0"}
tor-checkable = { path = "../tor-checkable", version = "0.3.0"}
tor-error = { path = "../tor-error", version = "0.3.1" }
base64 = "0.13.0" base64 = "0.13.0"
bitflags = "1" bitflags = "1"
time = { version = "0.3", features = ["std", "parsing", "macros"] }
derive_more = "0.99" derive_more = "0.99"
digest = "0.10.0" digest = "0.10.0"
educe = "0.4.6" educe = "0.4.6"
hex = "0.4" hex = "0.4"
once_cell = "1" once_cell = "1"
phf = { version = "0.10.0", features = ["macros"] } phf = { version = "0.10.0", features = ["macros"] }
rand = { version = "0.8", optional = true }
serde = "1.0.103" serde = "1.0.103"
signature = "1" signature = "1"
tinystr = "0.6.0"
thiserror = "1" thiserror = "1"
visible = { version = "0.0.1", optional = true } time = { version = "0.3", features = ["std", "parsing", "macros"] }
tinystr = "0.6.0"
tor-bytes = { path = "../tor-bytes", version = "0.3.0" }
tor-cert = { path = "../tor-cert", version = "0.3.0" }
tor-checkable = { path = "../tor-checkable", version = "0.3.0" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
tor-protover = { path = "../tor-protover", version = "0.3.0" }
visibility = { version = "0.0.1", optional = true } visibility = { version = "0.0.1", optional = true }
visible = { version = "0.0.1", optional = true }
weak-table = "0.3.0" weak-table = "0.3.0"
rand = { version = "0.8", optional = true }
[dev-dependencies] [dev-dependencies]
hex-literal = "0.3" hex-literal = "0.3"

View File

@ -18,12 +18,12 @@ testing = []
[dependencies] [dependencies]
fs-mistrust = { path = "../fs-mistrust", version = "0.2.0", features = ["walkdir"] } fs-mistrust = { path = "../fs-mistrust", version = "0.2.0", features = ["walkdir"] }
sanitize-filename = "0.4.0"
serde = { version = "1.0.103", features = ["derive"] } serde = { version = "1.0.103", features = ["derive"] }
serde_json = "1.0.50" serde_json = "1.0.50"
sanitize-filename = "0.4.0"
thiserror = "1" thiserror = "1"
tracing = "0.1.18"
tor-error = { path = "../tor-error", version = "0.3.1" } tor-error = { path = "../tor-error", version = "0.3.1" }
tracing = "0.1.18"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
fslock = { version = "0.2.0" } fslock = { version = "0.2.0" }

View File

@ -18,39 +18,37 @@ ntor_v3 = []
tokio = ["tokio-crate", "tokio-util"] tokio = ["tokio-crate", "tokio-util"]
[dependencies] [dependencies]
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0"}
tor-bytes = { path = "../tor-bytes", version = "0.3.0"}
tor-cert = { path = "../tor-cert", version = "0.3.0"}
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0"}
tor-checkable = { path = "../tor-checkable", version = "0.3.0"}
tor-protover = { path = "../tor-protover", version = "0.3.0"}
tor-cell = { path = "../tor-cell", version = "0.3.0"}
arrayref = "0.3" arrayref = "0.3"
asynchronous-codec = "0.6.0"
bytes = "1" bytes = "1"
cipher = "0.4.1" cipher = "0.4.1"
coarsetime = "0.1.20" coarsetime = "0.1.20"
digest = "0.10.0" digest = "0.10.0"
educe = "0.4.6" educe = "0.4.6"
futures = "0.3.14" futures = "0.3.14"
asynchronous-codec = "0.6.0"
generic-array = "0.14.3" generic-array = "0.14.3"
hkdf = "0.12.0" hkdf = "0.12.0"
hmac = "0.12.0" hmac = "0.12.0"
tracing = "0.1.18"
rand = "0.8" rand = "0.8"
rand_core = "0.6.2" rand_core = "0.6.2"
subtle = "2" subtle = "2"
thiserror = "1" thiserror = "1"
tokio-crate = { package = "tokio", version = "1.7", optional = true }
tokio-util = { version = "0.7.0", features = ["compat"], optional = true }
tor-basic-utils = { path = "../tor-basic-utils", version = "0.3.1" }
tor-bytes = { path = "../tor-bytes", version = "0.3.0" }
tor-cell = { path = "../tor-cell", version = "0.3.0" }
tor-cert = { path = "../tor-cert", version = "0.3.0" }
tor-checkable = { path = "../tor-checkable", version = "0.3.0" }
tor-error = { path = "../tor-error", version = "0.3.1" }
tor-linkspec = { path = "../tor-linkspec", version = "0.3.0" }
tor-llcrypto = { path = "../tor-llcrypto", version = "0.3.0" }
tor-protover = { path = "../tor-protover", version = "0.3.0" }
tracing = "0.1.18"
typenum = "1.12" typenum = "1.12"
zeroize = "1" zeroize = "1"
tokio-crate = { package = "tokio", version = "1.7", optional = true }
tokio-util = { version = "0.7.0", features = ["compat"], optional = true }
[dev-dependencies] [dev-dependencies]
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }
hex-literal = "0.3"
hex = "0.4" hex = "0.4"
hex-literal = "0.3"
tor-rtcompat = { path = "../tor-rtcompat", version = "0.4.0", features = ["tokio", "native-tls"] }

View File

@ -12,6 +12,5 @@ categories = ["network-programming"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies] [dependencies]
caret = { path = "../caret", version = "0.2.0"} caret = { path = "../caret", version = "0.2.0" }
thiserror = "1" thiserror = "1"

View File

@ -23,21 +23,19 @@ native-tls = ["native-tls-crate", "async-native-tls"]
rustls = ["rustls-crate", "async-rustls", "x509-signature"] rustls = ["rustls-crate", "async-rustls", "x509-signature"]
[dependencies] [dependencies]
async-io = { version = "1.4.1", optional = true }
async_executors = { version = "0.6.0", default_features = false } async-native-tls = { version = "0.4.0", optional = true }
async-rustls = { version = "0.2.0", optional = true }
async-std-crate = { package = "async-std", version = "1.7.0", optional = true }
async-trait = "0.1.2" async-trait = "0.1.2"
async_executors = { version = "0.6.0", default_features = false }
educe = "0.4.6" educe = "0.4.6"
futures = "0.3.14" futures = "0.3.14"
pin-project = "1"
native-tls-crate = { package = "native-tls", version = "0.2", optional = true } native-tls-crate = { package = "native-tls", version = "0.2", optional = true }
pin-project = "1"
rustls-crate = { package = "rustls", version = "0.19", optional = true, features = [ rustls-crate = { package = "rustls", version = "0.19", optional = true, features = [
"dangerous_configuration", "dangerous_configuration",
] } ] }
async-std-crate = { package = "async-std", version = "1.7.0", optional = true }
async-io = { version = "1.4.1", optional = true }
async-native-tls = { version = "0.4.0", optional = true }
tokio-crate = { package = "tokio", version = "1.7", optional = true, features = [ tokio-crate = { package = "tokio", version = "1.7", optional = true, features = [
"rt", "rt",
"rt-multi-thread", "rt-multi-thread",
@ -46,8 +44,6 @@ tokio-crate = { package = "tokio", version = "1.7", optional = true, features =
"time", "time",
] } ] }
tokio-util = { version = "0.7.0", features = ["compat"], optional = true } tokio-util = { version = "0.7.0", features = ["compat"], optional = true }
async-rustls = { version = "0.2.0", optional = true }
x509-signature = { version = "0.5.0", optional = true } x509-signature = { version = "0.5.0", optional = true }
[dev-dependencies] [dev-dependencies]

View File

@ -16,9 +16,8 @@ async-trait = "0.1.2"
futures = "0.3.14" futures = "0.3.14"
pin-project = "1" pin-project = "1"
thiserror = "1" thiserror = "1"
tracing = "0.1.18"
tor-rtcompat = { version = "0.4.0", path = "../tor-rtcompat" } tor-rtcompat = { version = "0.4.0", path = "../tor-rtcompat" }
tracing = "0.1.18"
[dev-dependencies] [dev-dependencies]
futures-await-test = "0.3.0" futures-await-test = "0.3.0"

View File

@ -12,11 +12,10 @@ categories = ["network-programming"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies] [dependencies]
caret = { path = "../caret", version = "0.2.0"} caret = { path = "../caret", version = "0.2.0" }
tor-bytes = { path = "../tor-bytes", version = "0.3.0"}
tor-error = { path = "../tor-error", version = "0.3.1" }
thiserror = "1" thiserror = "1"
tor-bytes = { path = "../tor-bytes", version = "0.3.0" }
tor-error = { path = "../tor-error", version = "0.3.1" }
[dev-dependencies] [dev-dependencies]
hex-literal = "0.3" hex-literal = "0.3"

View File

@ -10,7 +10,6 @@ description = "Provides macros for types which are constrained within a range, e
keywords = ["tor", "arti"] keywords = ["tor", "arti"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/" repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
categories = ["rust-patterns"] categories = ["rust-patterns"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]

7
maint/cargo_sort Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
#
# Run "cargo sort" with an appropriate set of flags.
set -euo pipefail
cargo sort --check --workspace

22
tomlfmt.toml Normal file
View File

@ -0,0 +1,22 @@
# cargo-sort configuration
## https://github.com/DevinR528/cargo-sort
# trailing comma in arrays
always_trailing_comma = false
# trailing comma when multi-line
multiline_trailing_comma = true
space_around_eq = true
# remove all the spacing inside the array
compact_arrays = false
# remove all the spacing inside the object
compact_inline_tables = false
trailing_newline = true
# is it ok to have blank lines inside of a table
# this option needs to be true for the --grouped flag
key_value_newlines = true
allowed_blank_lines = 1
# windows style line endings
crlf = false
# The user specified ordering of tables in a document.
# All unspecified tables will come after these.
table_order = []