diff --git a/actix-identity/Cargo.toml b/actix-identity/Cargo.toml index 3228226c1..373395191 100644 --- a/actix-identity/Cargo.toml +++ b/actix-identity/Cargo.toml @@ -13,9 +13,9 @@ license = "MIT OR Apache-2.0" edition = "2018" rust-version = "1.60" -[lib] -name = "actix_identity" -path = "src/lib.rs" +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +all-features = true [dependencies] actix-service = "2" diff --git a/actix-limitation/Cargo.toml b/actix-limitation/Cargo.toml index d92ff3844..8287c5e25 100644 --- a/actix-limitation/Cargo.toml +++ b/actix-limitation/Cargo.toml @@ -13,6 +13,10 @@ license = "MIT OR Apache-2.0" edition = "2018" rust-version = "1.60" +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +all-features = true + [features] default = ["session"] session = ["actix-session"] diff --git a/actix-protobuf/Cargo.toml b/actix-protobuf/Cargo.toml index dfc0b388b..633697f2c 100644 --- a/actix-protobuf/Cargo.toml +++ b/actix-protobuf/Cargo.toml @@ -13,9 +13,9 @@ license = "MIT OR Apache-2.0" edition = "2018" rust-version = "1.60" -[lib] -name = "actix_protobuf" -path = "src/lib.rs" +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +all-features = true [dependencies] actix-web = { version = "4", default-features = false } diff --git a/actix-redis/Cargo.toml b/actix-redis/Cargo.toml index efd95c5b0..039c0f165 100644 --- a/actix-redis/Cargo.toml +++ b/actix-redis/Cargo.toml @@ -12,8 +12,8 @@ edition = "2018" rust-version = "1.60" [package.metadata.docs.rs] -all-features = true rustdoc-args = ["--cfg", "docsrs"] +all-features = true [lib] name = "actix_redis" diff --git a/actix-session/Cargo.toml b/actix-session/Cargo.toml index 3b100f33b..48bd9ab02 100644 --- a/actix-session/Cargo.toml +++ b/actix-session/Cargo.toml @@ -14,12 +14,8 @@ edition = "2018" rust-version = "1.60" [package.metadata.docs.rs] -all-features = true rustdoc-args = ["--cfg", "docsrs"] - -[lib] -name = "actix_session" -path = "src/lib.rs" +all-features = true [features] default = [] diff --git a/actix-settings/Cargo.toml b/actix-settings/Cargo.toml index f045f5c63..337e57875 100644 --- a/actix-settings/Cargo.toml +++ b/actix-settings/Cargo.toml @@ -10,6 +10,10 @@ license = "MIT OR Apache-2.0" edition = "2018" rust-version = "1.60" +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +all-features = true + [dependencies] actix-http = "3" actix-service = "2" diff --git a/actix-web-httpauth/Cargo.toml b/actix-web-httpauth/Cargo.toml index 99fab1886..59dca5d50 100644 --- a/actix-web-httpauth/Cargo.toml +++ b/actix-web-httpauth/Cargo.toml @@ -14,9 +14,9 @@ license = "MIT OR Apache-2.0" edition = "2018" rust-version = "1.60" -[lib] -name = "actix_web_httpauth" -path = "src/lib.rs" +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +all-features = true [dependencies] actix-utils = "3"