chore: Switch to the 2021 edition

This commit is contained in:
Damir Jelić
2021-10-22 10:18:55 +02:00
parent 4bfc1041cc
commit e58eb70924
7 changed files with 14 additions and 21 deletions

View File

@@ -3,13 +3,12 @@ name = "matrix-qrcode"
description = "Library to encode and decode QR codes for interactive verifications in Matrix land"
version = "0.2.0"
authors = ["Damir Jelić <poljar@termina.org.uk>"]
edition = "2018"
edition = "2021"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "Apache-2.0"
readme = "README.md"
# This isn't yet supported by the stable cargo, we'll enable it when it is.
# rust-version = "1.54"
rust-version = "1.56"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
[package.metadata.docs.rs]

View File

@@ -1,15 +1,14 @@
[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
description = "The base component to build a Matrix client library."
edition = "2018"
edition = "2021"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "Apache-2.0"
name = "matrix-sdk-base"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
# This isn't yet supported by the stable cargo, we'll enable it when it is.
# rust-version = "1.54"
rust-version = "1.56"
version = "0.4.1"
[package.metadata.docs.rs]

View File

@@ -1,15 +1,14 @@
[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
description = "Collection of common types and imports used in the matrix-sdk"
edition = "2018"
edition = "2021"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "Apache-2.0"
name = "matrix-sdk-common"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
# This isn't yet supported by the stable cargo, we'll enable it when it is.
# rust-version = "1.54"
rust-version = "1.56"
version = "0.4.1"
[dependencies]

View File

@@ -1,15 +1,14 @@
[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
description = "Matrix encryption library"
edition = "2018"
edition = "2021"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "Apache-2.0"
name = "matrix-sdk-crypto"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
# This isn't yet supported by the stable cargo, we'll enable it when it is.
# rust-version = "1.54"
rust-version = "1.56"
version = "0.4.1"
[package.metadata.docs.rs]

View File

@@ -1,15 +1,14 @@
[package]
authors = ["stoically <stoically@protonmail.com>"]
description = "Helper macros to write tests for the Matrix SDK"
edition = "2018"
edition = "2021"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "Apache-2.0"
name = "matrix-sdk-test-macros"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
# This isn't yet supported by the stable cargo, we'll enable it when it is.
# rust-version = "1.54"
rust-version = "1.56"
version = "0.1.0"
[lib]

View File

@@ -1,15 +1,14 @@
[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
description = "Helpers to write tests for the Matrix SDK"
edition = "2018"
edition = "2021"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "Apache-2.0"
name = "matrix-sdk-test"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
# This isn't yet supported by the stable cargo, we'll enable it when it is.
# rust-version = "1.54"
rust-version = "1.56"
version = "0.4.0"
[features]

View File

@@ -1,15 +1,14 @@
[package]
authors = ["Damir Jelić <poljar@termina.org.uk>"]
description = "A high level Matrix client-server library."
edition = "2018"
edition = "2021"
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
keywords = ["matrix", "chat", "messaging", "ruma", "nio"]
license = "Apache-2.0"
name = "matrix-sdk"
readme = "README.md"
repository = "https://github.com/matrix-org/matrix-rust-sdk"
# This isn't yet supported by the stable cargo, we'll enable it when it is.
# rust-version = "1.54"
rust-version = "1.56"
version = "0.4.1"
[package.metadata.docs.rs]