mrsbfh

Matrix-Rust-SDK-Bot-Framework-Helper
git clone git://archive.git.mtrnord.blog/MTRNord/mrsbfh.git
Log | Files | Refs | README

commit a30736da021187f706c8207f930b0d772be9853c
parent e073f78f27626d407ba54e3d32be9acaf8e8d9ce
Author: donicrosby <donicrosby1995@gmail.com>
Date:   Wed, 17 Nov 2021 20:44:30 -0500

Fix unneeded rust dependancies for mrsbfh

Diffstat:
Mexample-bot/Cargo.toml | 7+++++++
Mmrsbfh/Cargo.toml | 5+----
2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/example-bot/Cargo.toml b/example-bot/Cargo.toml @@ -12,6 +12,13 @@ repository = "https://github.com/MTRNord/mrsbfh" [dependencies.matrix-sdk] version = "0.4.1" +# To create a bot that uses the Rust implementation of TLS use the default features minus native-tls +# Ex: +# [dependencies.matrix-sdk] +# version = "0.4.1" +# default_features = false +# features = ["encryption", "sled_cryptostore", "sled_state_store", "require_auth_for_profile_requests", "rustls-tls"] + [dependencies] mrsbfh = {version = "0.2.0", path = "../mrsbfh"} serde = "1.0" diff --git a/mrsbfh/Cargo.toml b/mrsbfh/Cargo.toml @@ -13,7 +13,6 @@ readme = "../README.md" [dependencies.matrix-sdk] version = "0.4.1" default_features = false -features = ["encryption", "sled_cryptostore", "sled_state_store", "require_auth_for_profile_requests"] [dependencies] url = "2.2.1" @@ -37,7 +36,5 @@ async-trait = "0.1" lazy_static = "1" [features] -default = ["macros", "native-tls"] +default = ["macros"] macros = ["mrsbfh-macros"] -rustls = ["matrix-sdk/rustls-tls"] -native-tls = ["matrix-sdk/native-tls"]