chore: update to Rust Edition 2021 (#273)

This commit is contained in:
Carter Snook 2021-10-26 04:27:53 -05:00 committed by GitHub
parent 9edea30f53
commit 058f6d5d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 16 additions and 16 deletions

View File

@ -5,7 +5,7 @@ members = [".", "sea-orm-macros", "sea-orm-codegen"]
name = "sea-orm"
version = "0.3.1"
authors = ["Chris Tsang <tyt2y7@gmail.com>"]
edition = "2018"
edition = "2021"
description = "🐚 An async & dynamic ORM for Rust"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/sea-orm"

View File

@ -2,7 +2,7 @@
name = "sea-orm-actix-4-beta-example"
version = "0.1.0"
authors = ["Sam Samai <sam@studio2pi.com.au>"]
edition = "2018"
edition = "2021"
publish = false
[workspace]

View File

@ -2,7 +2,7 @@
name = "sea-orm-actix-example"
version = "0.1.0"
authors = ["Sam Samai <sam@studio2pi.com.au>"]
edition = "2018"
edition = "2021"
publish = false
[workspace]

View File

@ -4,7 +4,7 @@
[package]
name = "sea-orm-example-async-std"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false
[dependencies]
@ -13,4 +13,4 @@ sea-orm = { path = "../../", features = [ "sqlx-all", "runtime-async-std-native-
serde_json = { version = "^1" }
futures = { version = "^0.3" }
async-stream = { version = "^0.3" }
futures-util = { version = "^0.3" }
futures-util = { version = "^0.3" }

View File

@ -2,7 +2,7 @@
name = "sea-orm-rocket-example"
version = "0.1.0"
authors = ["Sam Samai <sam@studio2pi.com.au>"]
edition = "2018"
edition = "2021"
publish = false
[workspace]

View File

@ -1,7 +1,7 @@
[package]
name = "sea-orm-issues-249-app"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false
[dependencies]

View File

@ -1,11 +1,11 @@
[package]
name = "core"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false
[dependencies]
sea-orm = { path = "../../../", default-features = false }
[dev-dependencies]
sea-orm = { path = "../../../", features = ["mock"] }
sea-orm = { path = "../../../", features = ["mock"] }

View File

@ -4,7 +4,7 @@
[package]
name = "sea-orm-issues-262"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false
[dependencies]

View File

@ -4,7 +4,7 @@
[package]
name = "sea-orm-issues-86"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false
[dependencies]

View File

@ -5,7 +5,7 @@
name = "sea-orm-cli"
version = "0.3.1"
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
edition = "2018"
edition = "2021"
description = "Command line utility for SeaORM"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/sea-orm"

View File

@ -2,7 +2,7 @@
name = "sea-orm-codegen"
version = "0.3.1"
authors = ["Billy Chan <ccw.billy.123@gmail.com>"]
edition = "2018"
edition = "2021"
description = "Code Generator for SeaORM"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/sea-orm"

View File

@ -2,7 +2,7 @@
name = "sea-orm-macros"
version = "0.3.1"
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
edition = "2018"
edition = "2021"
description = "Derive macros for SeaORM"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/sea-orm"

View File

@ -7,7 +7,7 @@ repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools"
readme = "../README.md"
keywords = ["rocket", "framework", "database", "pools"]
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
[lib]
proc-macro = true

View File

@ -7,7 +7,7 @@ repository = "https://github.com/SeaQL/sea-orm"
readme = "../README.md"
keywords = ["rocket", "framework", "database", "pools"]
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
[package.metadata.docs.rs]
all-features = true