+
Skip to content

chore: update to Rust 2021 Edition #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/actix4_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion examples/actix_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions examples/basic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[package]
name = "sea-orm-example-async-std"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false

[dependencies]
Expand All @@ -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 changes: 1 addition & 1 deletion examples/rocket_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion issues/249/app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sea-orm-issues-249-app"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions issues/249/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"] }
2 changes: 1 addition & 1 deletion issues/262/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[package]
name = "sea-orm-issues-262"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion issues/86/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[package]
name = "sea-orm-issues-86"
version = "0.1.0"
edition = "2018"
edition = "2021"
publish = false

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion sea-orm-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion sea-orm-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion sea-orm-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion sea-orm-rocket/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sea-orm-rocket/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载