Add support for ruma feature flag `markdown`

Signed-off-by: Tilo Spannagel <development@tilosp.de>
master
Tilo Spannagel 2021-01-21 18:21:00 +01:00
parent abd62cab0d
commit 7b8d2b5319
5 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,7 @@ messages = ["matrix-sdk-base/messages"]
encryption = ["matrix-sdk-base/encryption", "dashmap"]
sqlite_cryptostore = ["matrix-sdk-base/sqlite_cryptostore"]
unstable-synapse-quirks = ["matrix-sdk-base/unstable-synapse-quirks"]
markdown = ["matrix-sdk-base/markdown"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
socks = ["reqwest/socks"]

View File

@ -43,6 +43,7 @@
//! destroyed.
//! * `unstable-synapse-quirks`: Enables support to deal with inconsistencies
//! of Synapse in compliance with the Matrix API specification.
//! * `markdown`: Support for sending markdown formatted messages.
//! * `socks`: Enables SOCKS support in reqwest, the default HTTP client.
#![deny(

View File

@ -20,6 +20,7 @@ messages = []
encryption = ["matrix-sdk-crypto"]
sqlite_cryptostore = ["matrix-sdk-crypto/sqlite_cryptostore"]
unstable-synapse-quirks = ["matrix-sdk-common/unstable-synapse-quirks"]
markdown = ["matrix-sdk-common/markdown"]
docs = ["encryption", "sqlite_cryptostore", "messages"]

View File

@ -26,6 +26,7 @@
//! destroyed.
//! * `unstable-synapse-quirks`: Enables support to deal with inconsistencies
//! of Synapse in compliance with the Matrix API specification.
//! * `markdown`: Support for sending markdown formatted messages.
#![deny(
missing_debug_implementations,
dead_code,

View File

@ -12,6 +12,7 @@ version = "0.2.0"
[features]
unstable-synapse-quirks = ["ruma/unstable-synapse-quirks"]
markdown = ["ruma/markdown"]
[dependencies]
instant = { version = "0.1.9", features = ["wasm-bindgen", "now"] }