From daf7f6c5569145259a334d323da2ec840ca2bacb Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Wed, 15 Jan 2020 01:27:07 -0800 Subject: [PATCH] Be explicit with features for docs.rs --- Cargo.toml | 2 +- sqlx-core/Cargo.toml | 3 --- sqlx-macros/Cargo.toml | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0998fd36..87424a2a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ authors = [ ] [package.metadata.docs.rs] -all-features = true +features = [ "tls", "postgres", "mysql", "uuid", "chrono" ] [features] default = [ "macros", "runtime-async-std" ] diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index 29503b96..4271df63 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -12,9 +12,6 @@ authors = [ "Daniel Akhterov ", # daniel@launchbadge.com ] -[package.metadata.docs.rs] -all-features = true - [features] default = [] unstable = [] diff --git a/sqlx-macros/Cargo.toml b/sqlx-macros/Cargo.toml index 1ead68f3..2c8bc02d 100644 --- a/sqlx-macros/Cargo.toml +++ b/sqlx-macros/Cargo.toml @@ -12,9 +12,6 @@ authors = [ "Daniel Akhterov ", # daniel@launchbadge.com ] -[package.metadata.docs.rs] -all-features = true - [lib] proc-macro = true