Skip to content

Commit

Permalink
Bump all crates to edition 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhoule committed Dec 8, 2021
1 parent fe231d6 commit 2ce78cb
Show file tree
Hide file tree
Showing 39 changed files with 41 additions and 85 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "introspection-connector"
version = "0.1.0"
authors = ["Marcus Böhm <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
async-trait = "0.1.17"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
[package]
name = "mongodb-introspection-connector"
version = "0.1.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
mongodb = { git="https://github.com/mongodb/mongo-rust-driver.git", rev = "8e55cb2", features = ["bson-chrono-0_4", "bson-uuid-0_8"] }
mongodb = { git = "https://github.com/mongodb/mongo-rust-driver.git", rev = "8e55cb2", features = ["bson-chrono-0_4", "bson-uuid-0_8"] }
thiserror = "1.0"
async-trait = "0.1"
datamodel = { path = "../../../libs/datamodel/core" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
[package]
authors = ["Marcus Böhm <[email protected]>"]
edition = "2018"
edition = "2021"
name = "sql-introspection-connector"
version = "0.1.0"

[features]
vendored-openssl = ["quaint/vendored-openssl"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.26"
async-trait = "0.1.17"
Expand Down
2 changes: 1 addition & 1 deletion introspection-engine/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "introspection-core"
version = "0.1.0"
authors = ["Marcus Böhm <[email protected]>"]
edition = "2018"
edition = "2021"

[features]
vendored-openssl = ["sql-introspection-connector/vendored-openssl"]
Expand Down
2 changes: 1 addition & 1 deletion introspection-engine/introspection-engine-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "introspection-engine-tests"
version = "0.1.0"
authors = ["Julius de Bruijn <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
sql-datamodel-connector = { path = "../../libs/datamodel/connectors/sql-datamodel-connector" }
Expand Down
4 changes: 1 addition & 3 deletions libs/datamodel/connectors/datamodel-connector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "datamodel-connector"
version = "0.1.0"
authors = ["Marcus Böhm <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
diagnostics = { path = "../../diagnostics" }
Expand Down
4 changes: 1 addition & 3 deletions libs/datamodel/connectors/dml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "dml"
version = "0.1.0"
authors = ["Carmen Berndt <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
prisma-value = { path = "../../../prisma-value" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
[package]
authors = [""]
edition = "2018"
edition = "2021"
name = "mongodb-datamodel-connector"
version = "0.1.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
datamodel-connector = { path = "../datamodel-connector" }
dml = { path = "../dml" }
Expand Down
4 changes: 1 addition & 3 deletions libs/datamodel/connectors/sql-datamodel-connector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "sql-datamodel-connector"
version = "0.1.0"
authors = ["Marcus Böhm <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
datamodel-connector = { path = "../datamodel-connector" }
Expand Down
2 changes: 1 addition & 1 deletion libs/datamodel/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Emanuel Joebstl <[email protected]>"]
edition = "2018"
edition = "2021"
name = "datamodel"
version = "0.1.0"

Expand Down
4 changes: 1 addition & 3 deletions libs/json-rpc-stdio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "json-rpc-stdio"
version = "0.1.0"
authors = ["Tom Houlé <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
jsonrpc-core = "17"
Expand Down
4 changes: 1 addition & 3 deletions libs/native-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "native-types"
version = "0.1.0"
authors = ["Marcus Böhm <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
serde = { version = "1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion libs/prisma-inflector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "prisma-inflector"
version = "0.1.0"
authors = ["Dominic Petrick <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
once_cell = "1.3"
Expand Down
2 changes: 1 addition & 1 deletion libs/prisma-value/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Marcus Böhm <[email protected]>"]
edition = "2018"
edition = "2021"
name = "prisma-value"
version = "0.1.0"

Expand Down
6 changes: 2 additions & 4 deletions libs/sql-ddl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "sql-ddl"
version = "0.1.0"
authors = ["Tom Houlé <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[features]
postgres = []
Expand All @@ -16,4 +14,4 @@ default = ["postgres", "mysql", "sqlite", "mssql"]
[dependencies]

[dev-dependencies]
indoc = "1.0"
indoc = "1.0"
2 changes: 1 addition & 1 deletion libs/sql-schema-describer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Arve Knudsen <[email protected]>"]
edition = "2018"
edition = "2021"
name = "sql-schema-describer"
version = "0.1.0"

Expand Down
4 changes: 1 addition & 3 deletions libs/test-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "test-cli"
version = "0.1.0"
authors = ["Tom Houlé <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
anyhow = "1.0.26"
Expand Down
4 changes: 1 addition & 3 deletions libs/test-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
name = "test-macros"
version = "0.1.0"
authors = ["Tom Houlé <[email protected]>"]
edition = "2018"
edition = "2021"

[lib]
proc-macro = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
proc-macro2 = "1.0.26"
quote = "1.0.2"
Expand Down
2 changes: 1 addition & 1 deletion libs/test-setup/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "test-setup"
version = "0.1.0"
authors = ["Tom Houlé <[email protected]>"]
edition = "2018"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
4 changes: 1 addition & 3 deletions libs/user-facing-error-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "user-facing-error-macros"
version = "0.1.0"
authors = ["Tom Houlé <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[lib]
proc-macro = true
Expand Down
4 changes: 1 addition & 3 deletions libs/user-facing-errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "user-facing-errors"
version = "0.1.0"
authors = ["Tom Houlé <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
user-facing-error-macros = { path = "../user-facing-error-macros" }
Expand Down
4 changes: 1 addition & 3 deletions migration-engine/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "migration-engine-cli"
version = "0.1.0"
authors = ["Tom Houlé <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
migration-connector = { path = "../connectors/migration-connector" }
Expand Down
2 changes: 1 addition & 1 deletion migration-engine/connectors/migration-connector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "migration-connector"
version = "0.1.0"
authors = ["Marcus Böhm <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
datamodel = { path = "../../../libs/datamodel/core" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
authors = [""]
edition = "2018"
edition = "2021"
name = "mongodb-migration-connector"
version = "0.1.0"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Marcus Böhm <[email protected]>"]
edition = "2018"
edition = "2021"
name = "sql-migration-connector"
version = "0.1.0"

Expand Down
2 changes: 1 addition & 1 deletion migration-engine/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Marcus Böhm <[email protected]>", "Julius de Bruijn <[email protected]>"]
edition = "2018"
edition = "2021"
name = "migration-core"
version = "0.1.0"

Expand Down
4 changes: 1 addition & 3 deletions migration-engine/migration-engine-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "migration-engine-tests"
version = "0.1.0"
authors = ["Tom Houlé <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[features]
default = ["sql"]
Expand Down
7 changes: 1 addition & 6 deletions prisma-fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
name = "prisma-fmt"
version = "0.1.0"
authors = ["Emanuel Joebstl <[email protected]>"]
edition = "2018"

# crate-type for wasm builds.
# Commented out because it fails binary builds on linux-musl (Alpine).
# [lib]
# crate-type = ["cdylib"]
edition = "2021"

[dependencies]
datamodel = { path = "../libs/datamodel/core" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "query-test-macros"
version = "0.1.0"
authors = ["Dominic Petrick <[email protected]>"]
edition = "2018"
edition = "2021"

[lib]
proc-macro = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "query-tests-setup"
version = "0.1.0"
authors = ["Dominic Petrick <[email protected]>"]
edition = "2018"
edition = "2021"

[dependencies]
serde_json = "1.0"
Expand Down
3 changes: 1 addition & 2 deletions query-engine/connectors/mongodb-query-connector/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
authors = []
edition = "2018"
edition = "2021"
name = "mongodb-query-connector"
version = "0.1.0"

Expand Down
3 changes: 1 addition & 2 deletions query-engine/connectors/query-connector/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
authors = []
edition = "2018"
edition = "2021"
name = "query-connector"
version = "0.1.0"

Expand Down
3 changes: 1 addition & 2 deletions query-engine/connectors/sql-query-connector/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
authors = []
edition = "2018"
edition = "2021"
name = "sql-query-connector"
version = "0.1.0"

Expand Down
2 changes: 1 addition & 1 deletion query-engine/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Dominic Petrick <[email protected]>", "Katharina Fey <[email protected]>"]
edition = "2018"
edition = "2021"
name = "query-core"
version = "0.1.0"

Expand Down
2 changes: 1 addition & 1 deletion query-engine/prisma-models/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = [
"Marcus Böhm <[email protected]>",
"Katharina Fey <[email protected]>",
]
edition = "2018"
edition = "2021"
name = "prisma-models"
version = "0.0.0"

Expand Down
2 changes: 1 addition & 1 deletion query-engine/query-engine-node-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "query-engine-node-api"
version = "0.1.0"
authors = ["Julius de Bruijn <[email protected]>"]
edition = "2018"
edition = "2021"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion query-engine/query-engine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
authors = ["Dominic Petrick <[email protected]>", "Katharina Fey <[email protected]>"]
edition = "2018"
edition = "2021"
name = "query-engine"
version = "0.1.0"

Expand Down
4 changes: 1 addition & 3 deletions query-engine/request-handlers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
name = "request-handlers"
version = "0.1.0"
authors = ["Julius de Bruijn <[email protected]>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition = "2021"

[dependencies]
query-core = { path = "../core" }
Expand Down
2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
max_width = 120
edition = "2018"
edition = "2021"

0 comments on commit 2ce78cb

Please sign in to comment.