chore: update to Rust Edition 2021 (#273)
This commit is contained in:
parent
9edea30f53
commit
058f6d5d2b
@ -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"
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
@ -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" }
|
||||
|
@ -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]
|
||||
|
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "sea-orm-issues-249-app"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
|
@ -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"] }
|
||||
|
@ -4,7 +4,7 @@
|
||||
[package]
|
||||
name = "sea-orm-issues-262"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
|
@ -4,7 +4,7 @@
|
||||
[package]
|
||||
name = "sea-orm-issues-86"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user