mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-01-29 09:42:33 -05:00
docs: configure docs.rs build to contain more features
This commit is contained in:
@@ -8,6 +8,10 @@ edition = "2021"
|
||||
rust-version = "1.60"
|
||||
readme = "README.md"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[features]
|
||||
default = ["e2e-encryption"]
|
||||
e2e-encryption = ["matrix-sdk-base/e2e-encryption", "matrix-sdk-crypto"]
|
||||
|
||||
@@ -9,6 +9,10 @@ license = "Apache-2.0"
|
||||
rust-version = "1.60"
|
||||
readme = "README.md"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[features]
|
||||
default = ["state-store"]
|
||||
|
||||
|
||||
@@ -7,6 +7,9 @@ repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
||||
license = "Apache-2.0"
|
||||
rust-version = "1.60"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[features]
|
||||
js = ["getrandom/js"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user