diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7f4f016..d6ad02d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -93,7 +93,7 @@ doc: before_script: - cargo -V script: - - cargo doc --all-features + - cargo doc --no-default-features --features full artifacts: paths: - target/doc/ diff --git a/Cargo.toml b/Cargo.toml index c7ad1b4..695ae6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,8 @@ without-openapi = [] openapi = ["gotham_restful_derive/openapi", "indexmap", "openapiv3"] [package.metadata.docs.rs] -all-features = true +no-default-features = true +features = ["full"] [patch.crates-io] gotham_restful = { path = "." }