Skip to content

Commit

Permalink
Revert "chore: update to Rust Edition 2021 (#273)"
Browse files Browse the repository at this point in the history
This reverts commit 058f6d5.
  • Loading branch information
tyt2y3 committed Nov 2, 2021
1 parent e2d4ccf commit 8be8521
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 16 deletions.
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 <[email protected]>"]
edition = "2021"
edition = "2018"
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 <[email protected]>"]
edition = "2021"
edition = "2018"
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 <[email protected]>"]
edition = "2021"
edition = "2018"
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 = "2021"
edition = "2018"
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 <[email protected]>"]
edition = "2021"
edition = "2018"
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 = "2021"
edition = "2018"
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 = "2021"
edition = "2018"
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 = "2021"
edition = "2018"
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 = "2021"
edition = "2018"
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 <[email protected]>" ]
edition = "2021"
edition = "2018"
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 <[email protected]>"]
edition = "2021"
edition = "2018"
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 <[email protected]>" ]
edition = "2021"
edition = "2018"
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 = "2021"
edition = "2018"

[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 = "2021"
edition = "2018"

[package.metadata.docs.rs]
all-features = true
Expand Down

0 comments on commit 8be8521

Please sign in to comment.