Skip to content

Commit

Permalink
Merge branch 'docsrs' into 'main'
Browse files Browse the repository at this point in the history
Don't need to tell docs.rs to enable `docsrs` cfg. It does it automatically as of rust-lang/docs.rs#2390 (comment)

While this change isn't in our MSRV yet, we were only using this when building for docs.rs, where we use the latest anyway.

See merge request tpo/core/arti!2308
  • Loading branch information
sporksmith committed Aug 7, 2024
2 parents 91db4e2 + 9efdcf7 commit 01de78a
Show file tree
Hide file tree
Showing 40 changed files with 0 additions and 40 deletions.
1 change: 0 additions & 1 deletion crates/arti-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
full = ["arti/full", "arti-client/full", "fs-mistrust/full", "tor-config/full", "tor-rtcompat/full"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/arti-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,3 @@ tracing-subscriber = "0.3.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/arti-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
publish = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]

Expand Down
1 change: 0 additions & 1 deletion crates/arti-relay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ full = []

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/arti-rpc-client-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ ffi = ["c_str_macro", "paste"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/arti-testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ tracing = "0.1.36"
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/arti/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,3 @@ trycmd = "0.15.4"
winapi = { version = "0.3.8", features = ["winerror"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/caret/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
full = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/fs-mistrust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ tempfile = "3"
toml = "0.8.8"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/fslock-guard/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ version = "^0.3.8"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/retry-error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ thiserror = "1"
full = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/safelog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ serial_test = "3.0.0"
static_assertions = "1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-basic-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ full = []

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-bytes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ getrandom = { version = "0.2.3", features = ["js"] }
full = ["tor-error/full", "tor-llcrypto/full"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-cell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ hex = "0.4"
hex-literal = "0.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-cert/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ humantime = "2"
rand = "0.8"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-chanmgr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,3 @@ tor-rtcompat = { path = "../tor-rtcompat", version = "0.21.0", features = ["toki
tor-rtmock = { path = "../tor-rtmock", version = "0.21.0" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-checkable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ thiserror = "1"
tor-llcrypto = { path = "../tor-llcrypto", version = "0.21.0" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dev-dependencies]
humantime = "2"
1 change: 0 additions & 1 deletion crates/tor-circmgr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,3 @@ tor-rtcompat = { path = "../tor-rtcompat", version = "0.21.0", features = ["toki
tor-rtmock = { path = "../tor-rtmock", version = "0.21.0" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ tempfile = "3"
tracing-test = "0.2.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-congestion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ tor-units = { path = "../tor-units", version = "0.21.0" }
full = ["tor-error/full", "tor-netdir/full", "tor-units/full"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-consdiff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ thiserror = "1"
tor-llcrypto = { path = "../tor-llcrypto", version = "0.21.0" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-dirclient/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ tor-rtcompat = { path = "../tor-rtcompat", version = "0.21.0", features = ["toki
tor-rtmock = { path = "../tor-rtmock", version = "0.21.0" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-dirmgr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,3 @@ tor-rtmock = { path = "../tor-rtmock", version = "0.21.0" }
tracing-test = "0.2.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ tracing-test = "0.2.4"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-events/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ tokio = { version = "1.7", features = ["macros", "rt", "rt-multi-thread", "time"
full = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-guardmgr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@ tor-rtmock = { path = "../tor-rtmock", version = "0.21.0" }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-keymgr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ tor-basic-utils = { path = "../tor-basic-utils", version = "0.21.0" }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-linkspec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ serde_test = "1.0.124"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-llcrypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ tor-basic-utils = { path = "../tor-basic-utils", version = "0.21.0" }
getrandom = { version = "0.2.3", features = ["js"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-netdir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ hex-literal = "0.4"
tor-netdoc = { path = "../tor-netdoc", version = "0.21.0", features = ["build_docs"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-netdoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,3 @@ tor-basic-utils = { version = "0.21.0", path = "../tor-basic-utils" }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-persist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ tracing-test = "0.2.4"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,3 @@ tokio-crate = { package = "tokio", version = "1.7", features = ["full"] }
tor-rtcompat = { path = "../tor-rtcompat", version = "0.21.0", features = ["tokio", "native-tls"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-protover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ thiserror = "1"
full = ["caret/full"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-relay-selection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ tor-netdoc = { path = "../tor-netdoc", version = "0.21.0", features = ["testing"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-rtcompat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,3 @@ x509-signature = { version = "0.5.0", optional = true }
native-tls-crate = { package = "native-tls", version = "0.2" }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-rtmock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ tor-rtcompat = { path = "../tor-rtcompat", version = "0.21.0", features = ["toki
full = ["tor-rtcompat/full", "tor-error/full", "tor-async-utils/full"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-socksproto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ tor-error = { path = "../tor-error", version = "0.21.0" }
hex-literal = "0.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 0 additions & 1 deletion crates/tor-units/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ full = []
# features = ["from"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

0 comments on commit 01de78a

Please sign in to comment.