diff --git a/matrix_sdk/Cargo.toml b/matrix_sdk/Cargo.toml index 4eff3d68..2d6f1ad2 100644 --- a/matrix_sdk/Cargo.toml +++ b/matrix_sdk/Cargo.toml @@ -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"] diff --git a/matrix_sdk/src/lib.rs b/matrix_sdk/src/lib.rs index 3cb65f27..32caeabb 100644 --- a/matrix_sdk/src/lib.rs +++ b/matrix_sdk/src/lib.rs @@ -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( diff --git a/matrix_sdk_base/Cargo.toml b/matrix_sdk_base/Cargo.toml index 97ea7082..789536df 100644 --- a/matrix_sdk_base/Cargo.toml +++ b/matrix_sdk_base/Cargo.toml @@ -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"] diff --git a/matrix_sdk_base/src/lib.rs b/matrix_sdk_base/src/lib.rs index 6f4377b4..bd69c6de 100644 --- a/matrix_sdk_base/src/lib.rs +++ b/matrix_sdk_base/src/lib.rs @@ -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, diff --git a/matrix_sdk_common/Cargo.toml b/matrix_sdk_common/Cargo.toml index cbc53e1e..dabeff9c 100644 --- a/matrix_sdk_common/Cargo.toml +++ b/matrix_sdk_common/Cargo.toml @@ -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"] }