Update MSRV policy

This commit is contained in:
Jonas Platte 2020-07-22 23:04:21 +02:00
parent 09f711b1c3
commit 4238c91e24
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
8 changed files with 11 additions and 33 deletions

View File

@ -2,4 +2,14 @@
*Monorepo for our various Rust + Matrix crates.* *Monorepo for our various Rust + Matrix crates.*
This will eventually be the home of all of our Rust crates. ## Minimum Rust version
Ruma currently requires Rust 1.43.0. In general, we will never require beta or
nightly for crates.io releases of our crates, and we will try to avoid releasing
crates that depend on features that were only just stabilized.
The exception to this is ruma-signatures (and hence ruma with the federation-api
feature) since it depends on [ring][], which is only guaranteed to work on the
latest stable.
[ring]: https://github.com/briansmith/ring/

View File

@ -7,10 +7,6 @@
**ruma-api** contains core types used to define the requests and responses for each endpoint in the various [Matrix](https://matrix.org/) API specifications. **ruma-api** contains core types used to define the requests and responses for each endpoint in the various [Matrix](https://matrix.org/) API specifications.
These types can be shared by client and server code for all Matrix APIs. These types can be shared by client and server code for all Matrix APIs.
## Minimum Rust version
ruma-api requires Rust 1.40.0 or later.
## Documentation ## Documentation
ruma-api has [comprehensive documentation](https://docs.rs/ruma-api) available on docs.rs. ruma-api has [comprehensive documentation](https://docs.rs/ruma-api) available on docs.rs.

View File

@ -8,10 +8,6 @@
**ruma-client-api** contains serializable types for the requests and responses for each endpoint in the [Matrix](https://matrix.org/) client API specification. **ruma-client-api** contains serializable types for the requests and responses for each endpoint in the [Matrix](https://matrix.org/) client API specification.
These types can be shared by client and server code. These types can be shared by client and server code.
## Minimum Rust version
ruma-client-api requires Rust 1.40.0 or later.
## Contributing ## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md). See [CONTRIBUTING.md](CONTRIBUTING.md).

View File

@ -6,10 +6,6 @@
**ruma-events** contains serializable types for the events in the [Matrix](https://matrix.org/) specification that can be shared by client and server code. **ruma-events** contains serializable types for the events in the [Matrix](https://matrix.org/) specification that can be shared by client and server code.
## Minimum Rust version
ruma-events requires Rust 1.40.0 or later.
## Documentation ## Documentation
ruma-events has [comprehensive documentation](https://docs.rs/ruma-events) available on docs.rs. ruma-events has [comprehensive documentation](https://docs.rs/ruma-events) available on docs.rs.

View File

@ -3,10 +3,6 @@
**ruma-federation-api** contains serializable types for the requests and responses for each endpoint in the [Matrix](https://matrix.org/) Federation API specification. **ruma-federation-api** contains serializable types for the requests and responses for each endpoint in the [Matrix](https://matrix.org/) Federation API specification.
These types can be shared by client and server code. These types can be shared by client and server code.
## Minimum Rust version
ruma-federation-api requires Rust 1.40.0 or later.
## Documentation ## Documentation
[https://docs.rs/ruma-federation-api](https://docs.rs/ruma-federation-api) [https://docs.rs/ruma-federation-api](https://docs.rs/ruma-federation-api)

View File

@ -6,10 +6,6 @@
**ruma-identifiers** contains types for [Matrix](https://matrix.org/) identifiers for events, rooms, room aliases, and users. **ruma-identifiers** contains types for [Matrix](https://matrix.org/) identifiers for events, rooms, room aliases, and users.
## Minimum Rust version
ruma-identifiers requires Rust 1.36.0 or later.
## Documentation ## Documentation
ruma-identifiers has [comprehensive documentation](https://docs.rs/ruma-identifiers) available on docs.rs. ruma-identifiers has [comprehensive documentation](https://docs.rs/ruma-identifiers) available on docs.rs.

View File

@ -6,7 +6,3 @@ Part of that is a fork of serde_urlencoded, with support for sequences in `Deser
`Serialize` structs (e.g. `Vec<Something>`) that are (de)serialized as `field=val1&field=val2` `Serialize` structs (e.g. `Vec<Something>`) that are (de)serialized as `field=val1&field=val2`
(instead of the more common `field[]=val1&field[]=val2` format supported by other crates like (instead of the more common `field[]=val1&field[]=val2` format supported by other crates like
`serde_qs`). `serde_qs`).
## Minimum Rust version
ruma-serde requires Rust 1.36.0 or later.

View File

@ -9,11 +9,3 @@ ruma-signatures provides functionality for creating digital signatures according
## Documentation ## Documentation
ruma-signatures has [comprehensive documentation](https://docs.rs/ruma-signatures) available on docs.rs. ruma-signatures has [comprehensive documentation](https://docs.rs/ruma-signatures) available on docs.rs.
## Minimum Rust version
ruma-client-api is only guaranteed to work on the latest stable version of Rust.
This support policy is inherited from the dependency on [ring][].
[ring]: https://github.com/briansmith/ring/