Skip to content

Commit 75386f4

Browse files
committed
ensure docs.rs builds all crates with all features
1 parent 8a31f30 commit 75386f4

File tree

7 files changed

+19
-15
lines changed

7 files changed

+19
-15
lines changed

actix-identity/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ license = "MIT OR Apache-2.0"
1313
edition = "2018"
1414
rust-version = "1.60"
1515

16-
[lib]
17-
name = "actix_identity"
18-
path = "src/lib.rs"
16+
[package.metadata.docs.rs]
17+
rustdoc-args = ["--cfg", "docsrs"]
18+
all-features = true
1919

2020
[dependencies]
2121
actix-service = "2"

actix-limitation/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ license = "MIT OR Apache-2.0"
1313
edition = "2018"
1414
rust-version = "1.60"
1515

16+
[package.metadata.docs.rs]
17+
rustdoc-args = ["--cfg", "docsrs"]
18+
all-features = true
19+
1620
[features]
1721
default = ["session"]
1822
session = ["actix-session"]

actix-protobuf/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ license = "MIT OR Apache-2.0"
1313
edition = "2018"
1414
rust-version = "1.60"
1515

16-
[lib]
17-
name = "actix_protobuf"
18-
path = "src/lib.rs"
16+
[package.metadata.docs.rs]
17+
rustdoc-args = ["--cfg", "docsrs"]
18+
all-features = true
1919

2020
[dependencies]
2121
actix-web = { version = "4", default-features = false }

actix-redis/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ edition = "2018"
1212
rust-version = "1.60"
1313

1414
[package.metadata.docs.rs]
15-
all-features = true
1615
rustdoc-args = ["--cfg", "docsrs"]
16+
all-features = true
1717

1818
[lib]
1919
name = "actix_redis"

actix-session/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@ edition = "2018"
1414
rust-version = "1.60"
1515

1616
[package.metadata.docs.rs]
17-
all-features = true
1817
rustdoc-args = ["--cfg", "docsrs"]
19-
20-
[lib]
21-
name = "actix_session"
22-
path = "src/lib.rs"
18+
all-features = true
2319

2420
[features]
2521
default = []

actix-settings/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ license = "MIT OR Apache-2.0"
1010
edition = "2018"
1111
rust-version = "1.60"
1212

13+
[package.metadata.docs.rs]
14+
rustdoc-args = ["--cfg", "docsrs"]
15+
all-features = true
16+
1317
[dependencies]
1418
actix-http = "3"
1519
actix-service = "2"

actix-web-httpauth/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ license = "MIT OR Apache-2.0"
1414
edition = "2018"
1515
rust-version = "1.60"
1616

17-
[lib]
18-
name = "actix_web_httpauth"
19-
path = "src/lib.rs"
17+
[package.metadata.docs.rs]
18+
rustdoc-args = ["--cfg", "docsrs"]
19+
all-features = true
2020

2121
[dependencies]
2222
actix-utils = "3"

0 commit comments

Comments
 (0)