1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-30 10:32:55 +01:00

ensure docs.rs builds all crates with all features

This commit is contained in:
Rob Ede 2023-04-11 12:22:28 +01:00
parent 8a31f3020e
commit 75386f4a1d
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
7 changed files with 19 additions and 15 deletions

View File

@ -13,9 +13,9 @@ license = "MIT OR Apache-2.0"
edition = "2018" edition = "2018"
rust-version = "1.60" rust-version = "1.60"
[lib] [package.metadata.docs.rs]
name = "actix_identity" rustdoc-args = ["--cfg", "docsrs"]
path = "src/lib.rs" all-features = true
[dependencies] [dependencies]
actix-service = "2" actix-service = "2"

View File

@ -13,6 +13,10 @@ license = "MIT OR Apache-2.0"
edition = "2018" edition = "2018"
rust-version = "1.60" rust-version = "1.60"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[features] [features]
default = ["session"] default = ["session"]
session = ["actix-session"] session = ["actix-session"]

View File

@ -13,9 +13,9 @@ license = "MIT OR Apache-2.0"
edition = "2018" edition = "2018"
rust-version = "1.60" rust-version = "1.60"
[lib] [package.metadata.docs.rs]
name = "actix_protobuf" rustdoc-args = ["--cfg", "docsrs"]
path = "src/lib.rs" all-features = true
[dependencies] [dependencies]
actix-web = { version = "4", default-features = false } actix-web = { version = "4", default-features = false }

View File

@ -12,8 +12,8 @@ edition = "2018"
rust-version = "1.60" rust-version = "1.60"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[lib] [lib]
name = "actix_redis" name = "actix_redis"

View File

@ -14,12 +14,8 @@ edition = "2018"
rust-version = "1.60" rust-version = "1.60"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[lib]
name = "actix_session"
path = "src/lib.rs"
[features] [features]
default = [] default = []

View File

@ -10,6 +10,10 @@ license = "MIT OR Apache-2.0"
edition = "2018" edition = "2018"
rust-version = "1.60" rust-version = "1.60"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[dependencies] [dependencies]
actix-http = "3" actix-http = "3"
actix-service = "2" actix-service = "2"

View File

@ -14,9 +14,9 @@ license = "MIT OR Apache-2.0"
edition = "2018" edition = "2018"
rust-version = "1.60" rust-version = "1.60"
[lib] [package.metadata.docs.rs]
name = "actix_web_httpauth" rustdoc-args = ["--cfg", "docsrs"]
path = "src/lib.rs" all-features = true
[dependencies] [dependencies]
actix-utils = "3" actix-utils = "3"