mrsbfh.meta

Issues/PRs archive for MTRNord/mrsbfh
git clone git://archive.git.mtrnord.blog/MTRNord/mrsbfh.meta.git
Log | Files | Refs

10.diff (1268B)


      1 diff --git a/example-bot/Cargo.toml b/example-bot/Cargo.toml
      2 index ab47333..e08fe93 100644
      3 --- a/example-bot/Cargo.toml
      4 +++ b/example-bot/Cargo.toml
      5 @@ -12,6 +12,13 @@ repository = "https://github.com/MTRNord/mrsbfh"
      6  [dependencies.matrix-sdk]
      7  version = "0.4.1"
      8  
      9 +# To create a bot that uses the Rust implementation of TLS use the default features minus native-tls
     10 +# Ex:
     11 +# [dependencies.matrix-sdk]
     12 +# version = "0.4.1"
     13 +# default_features = false
     14 +# features = ["encryption", "sled_cryptostore", "sled_state_store", "require_auth_for_profile_requests", "rustls-tls"]
     15 +
     16  [dependencies]
     17  mrsbfh = {version = "0.2.0", path = "../mrsbfh"}
     18  serde = "1.0"
     19 diff --git a/mrsbfh/Cargo.toml b/mrsbfh/Cargo.toml
     20 index 188e14d..564b30b 100644
     21 --- a/mrsbfh/Cargo.toml
     22 +++ b/mrsbfh/Cargo.toml
     23 @@ -13,7 +13,6 @@ readme = "../README.md"
     24  [dependencies.matrix-sdk]
     25  version = "0.4.1"
     26  default_features = false
     27 -features = ["encryption", "sled_cryptostore", "sled_state_store", "require_auth_for_profile_requests"]
     28  
     29  [dependencies]
     30  url = "2.2.1"
     31 @@ -37,7 +36,5 @@ async-trait = "0.1"
     32  lazy_static = "1"
     33  
     34  [features]
     35 -default = ["macros", "native-tls"]
     36 +default = ["macros"]
     37  macros = ["mrsbfh-macros"]
     38 -rustls = ["matrix-sdk/rustls-tls"]
     39 -native-tls = ["matrix-sdk/native-tls"]