8.md (1027B)
1 # #8 Don't require default features for the matrix-sdk that the framework doesn't use 2 3 - **State:** closed 4 - **Author:** @donicrosby 5 - **Created:** 2021-11-11T00:04:07Z 6 - **Closed:** 2022-02-23T14:21:24Z 7 8 --- 9 10 The framework does not use any special features of the matrix-sdk, most of the end customization is on the bot creator's part using the example bot as the basis for their bot and running logic. 11 12 Having the framework have the matrix-sdk as a dependency but with no default features would make updating the versions of the matrix-sdk less brittle. Without specifying any features for the matrix-sdk, the framework allows the end user to decide wither they use `rustls-tls` or the `sled_cryptostore` for example without the framework needing to keep track of the matrix-sdk's upstream features. This means that bumping versions only requires changes of the framework's code and not any of the cargo dependencies or having to add feature flags to the framework's `Cargo.toml` to enable or disable matrix-sdk's features. 13