sea-orm/sea-orm-cli/Cargo.toml
Billy Chan d9ac5d83de
Fix compile errors on different runtime (#84)
* Fix compile errors on different runtime

* Split sea-orm-cli into separate workspace

* Hotfix
2021-08-14 18:43:47 +08:00

60 lines
1.6 KiB
TOML

[workspace]
# A separate workspace for sea-orm-cli
[package]
name = "sea-orm-cli"
version = "0.1.2"
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
edition = "2018"
description = "Command line utility for SeaORM"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/sea-orm"
repository = "https://github.com/SeaQL/sea-orm"
categories = [ "database" ]
keywords = ["async", "orm", "mysql", "postgres", "sqlite"]
[[bin]]
name = "sea-orm-cli"
path = "src/main.rs"
[dependencies]
clap = { version = "^2.33.3" }
dotenv = { version = "^0.15" }
async-std = { version = "^1.9", features = [ "attributes" ] }
sea-orm = { version = "^0.1", features = [ "sqlx-all" ] }
sea-orm-codegen = { version = "^0.1" }
sea-schema = { version = "^0.2.4", default-features = false, features = [
"sqlx-mysql",
"sqlx-postgres",
"discovery",
"writer",
] }
sqlx = { version = "^0.5", default-features = false, features = [ "mysql", "postgres" ] }
[features]
default = [ "runtime-async-std-native-tls" ]
runtime-actix-native-tls = [
"sqlx/runtime-actix-native-tls",
"sea-schema/runtime-actix-native-tls",
]
runtime-async-std-native-tls = [
"sqlx/runtime-async-std-native-tls",
"sea-schema/runtime-async-std-native-tls",
]
runtime-tokio-native-tls = [
"sqlx/runtime-tokio-native-tls",
"sea-schema/runtime-tokio-native-tls",
]
runtime-actix-rustls = [
"sqlx/runtime-actix-rustls",
"sea-schema/runtime-actix-rustls",
]
runtime-async-std-rustls = [
"sqlx/runtime-async-std-rustls",
"sea-schema/runtime-async-std-rustls",
]
runtime-tokio-rustls = [
"sqlx/runtime-tokio-rustls",
"sea-schema/runtime-tokio-rustls",
]