Cargo
This commit is contained in:
parent
2060e30f06
commit
18f494109b
@ -41,10 +41,8 @@ chrono = { version = "^0", optional = true }
|
|||||||
futures = { version = "^0.3" }
|
futures = { version = "^0.3" }
|
||||||
futures-util = { version = "^0.3" }
|
futures-util = { version = "^0.3" }
|
||||||
rust_decimal = { version = "^1", optional = true }
|
rust_decimal = { version = "^1", optional = true }
|
||||||
sea-query = { version = "~0.12.8" }
|
sea-query = { version = "^0.12.8" }
|
||||||
# sea-query = { path = "../sea-query" }
|
|
||||||
sea-orm-macros = { path = "sea-orm-macros", optional = true }
|
sea-orm-macros = { path = "sea-orm-macros", optional = true }
|
||||||
sea-orm-codegen = { path = "sea-orm-codegen", optional = true }
|
|
||||||
serde = { version = "^1.0", features = ["derive"] }
|
serde = { version = "^1.0", features = ["derive"] }
|
||||||
sqlx = { version = "^0.5", optional = true }
|
sqlx = { version = "^0.5", optional = true }
|
||||||
sqlx-core = { version = "^0.5", optional = true }
|
sqlx-core = { version = "^0.5", optional = true }
|
||||||
@ -68,15 +66,13 @@ sea-orm = { path = ".", features = ["debug-print"] }
|
|||||||
debug-print = []
|
debug-print = []
|
||||||
default = [
|
default = [
|
||||||
"macros",
|
"macros",
|
||||||
"codegen",
|
"mock",
|
||||||
"with-json",
|
"with-json",
|
||||||
"with-chrono",
|
"with-chrono",
|
||||||
"with-rust_decimal",
|
"with-rust_decimal",
|
||||||
"mock",
|
|
||||||
"with-uuid",
|
"with-uuid",
|
||||||
]
|
]
|
||||||
macros = ["sea-orm-macros"]
|
macros = ["sea-orm-macros"]
|
||||||
codegen = ["sea-orm-codegen"]
|
|
||||||
mock = []
|
mock = []
|
||||||
with-json = ["serde_json", "sea-query/with-json", "sqlx-json"]
|
with-json = ["serde_json", "sea-query/with-json", "sqlx-json"]
|
||||||
with-chrono = ["chrono", "sea-query/with-chrono", "sqlx-chrono"]
|
with-chrono = ["chrono", "sea-query/with-chrono", "sqlx-chrono"]
|
||||||
|
@ -20,13 +20,13 @@ clap = { version = "^2.33.3" }
|
|||||||
dotenv = { version = "^0.15" }
|
dotenv = { version = "^0.15" }
|
||||||
async-std = { version = "^1.9", features = [ "attributes" ] }
|
async-std = { version = "^1.9", features = [ "attributes" ] }
|
||||||
sea-orm-codegen = { path = "../sea-orm-codegen" }
|
sea-orm-codegen = { path = "../sea-orm-codegen" }
|
||||||
sea-schema = { version = "^0.2", git = "https://github.com/SeaQL/sea-schema.git", branch = "pg-discovery-writer", default-features = false, features = [
|
sea-schema = { version = "^0.2.4", default-features = false, features = [
|
||||||
"sqlx-mysql",
|
"sqlx-mysql",
|
||||||
"sqlx-postgres",
|
"sqlx-postgres",
|
||||||
"discovery",
|
"discovery",
|
||||||
"writer",
|
"writer",
|
||||||
] }
|
] }
|
||||||
sqlx = { version = "^0.5", default-features = false, features = [ "mysql" ] }
|
sqlx = { version = "^0.5", default-features = false, features = [ "mysql", "postgres" ] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = [ "runtime-async-std-native-tls" ]
|
default = [ "runtime-async-std-native-tls" ]
|
||||||
|
@ -16,7 +16,7 @@ name = "sea_orm_codegen"
|
|||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sea-query = { version = "~0.12.8", git = "https://github.com/SeaQL/sea-query.git" }
|
sea-query = { version = "^0.12.8" }
|
||||||
syn = { version = "^1", default-features = false, features = [
|
syn = { version = "^1", default-features = false, features = [
|
||||||
"derive",
|
"derive",
|
||||||
"parsing",
|
"parsing",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user