Docs.rs now supports building non-default features

This commit is contained in:
gwenn 2017-06-09 20:04:28 +02:00
parent 99ef10d599
commit 83fb80d346

View File

@ -18,7 +18,6 @@ appveyor = { repository = "jgallagher/rusqlite" }
name = "rusqlite" name = "rusqlite"
[features] [features]
default = ["backup", "blob", "chrono", "functions", "load_extension", "serde_json", "trace"]
load_extension = [] load_extension = []
backup = ["libsqlite3-sys/min_sqlite_version_3_6_11"] backup = ["libsqlite3-sys/min_sqlite_version_3_6_11"]
blob = ["libsqlite3-sys/min_sqlite_version_3_7_4"] blob = ["libsqlite3-sys/min_sqlite_version_3_7_4"]
@ -50,3 +49,9 @@ harness = false
[[test]] [[test]]
name = "deny_single_threaded_sqlite_config" name = "deny_single_threaded_sqlite_config"
[package.metadata.docs.rs]
features = [ "backup", "blob", "chrono", "functions", "load_extension", "serde_json", "trace" ]
all-features = false
no-default-features = true
default-target = "x86_64-unknown-linux-gnu"