62 lines
2.4 KiB
TOML
62 lines
2.4 KiB
TOML
[workspace]
|
|
# A separate workspace
|
|
|
|
[package]
|
|
name = "sea-orm-cli"
|
|
version = "0.11.0-rc.1"
|
|
authors = [
|
|
"Chris Tsang <chris.2y3@outlook.com>",
|
|
"Billy Chan <ccw.billy.123@gmail.com>",
|
|
]
|
|
edition = "2021"
|
|
description = "Command line utility for SeaORM"
|
|
license = "MIT OR Apache-2.0"
|
|
homepage = "https://www.sea-ql.org/SeaORM"
|
|
documentation = "https://docs.rs/sea-orm"
|
|
repository = "https://github.com/SeaQL/sea-orm"
|
|
categories = ["database"]
|
|
keywords = ["async", "orm", "mysql", "postgres", "sqlite"]
|
|
default-run = "sea-orm-cli"
|
|
rust-version = "1.65"
|
|
|
|
[lib]
|
|
name = "sea_orm_cli"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "sea-orm-cli"
|
|
path = "src/bin/main.rs"
|
|
required-features = ["cli", "codegen"]
|
|
|
|
[[bin]]
|
|
name = "sea"
|
|
path = "src/bin/sea.rs"
|
|
required-features = ["cli", "codegen"]
|
|
|
|
[dependencies]
|
|
clap = { version = "3.2", default-features = false, features = ["std", "env", "derive"], optional = true }
|
|
dotenvy = { version = "0.15", default-features = false, optional = true }
|
|
async-std = { version = "1.9", default-features = false, features = ["attributes", "tokio1"], optional = true }
|
|
sea-orm-codegen = { version = "=0.11.0-rc.1", path = "../sea-orm-codegen", default-features = false, optional = true }
|
|
sea-schema = { version = "0.11" }
|
|
sqlx = { version = "0.6", default-features = false, features = ["mysql", "postgres"], optional = true }
|
|
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] }
|
|
tracing = { version = "0.1", default-features = false }
|
|
url = { version = "2.2", default-features = false }
|
|
chrono = { version = "0.4.20", default-features = false, features = ["clock"] }
|
|
regex = { version = "1", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
smol = "1.2.5"
|
|
|
|
[features]
|
|
default = ["codegen", "cli", "runtime-async-std-native-tls", "async-std"]
|
|
codegen = ["sea-schema/sqlx-all", "sea-orm-codegen"]
|
|
cli = ["clap", "dotenvy"]
|
|
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"]
|