Build some features on docs.rs
Closes #21
Change-Id: I53d2594bbe0ed8ba690ffb534990549cc734ce74
diff --git a/Cargo.toml b/Cargo.toml
index d5e4ec4..62f501b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,6 +15,9 @@
categories = ["cryptography"]
repository = "https://mundane.googlesource.com/mundane"
+[package.metadata.docs.rs]
+features = ["bytes","insecure","kdf","rsa-pkcs1v15"]
+
# Exclude these test files in order to get under the minimum crates.io crate
# file size.
exclude = [
@@ -28,7 +31,7 @@
[build-dependencies]
goblin = "0.0.24"
-# If you edit this list, make sure to update test.sh!
+# If you edit this list, make sure to update test.sh and the package.metadata.docs.rs section.
[features]
default = ["rsa-test-generate-large-keys"]
insecure = []