[package]
name = "rorm-cli"
version = "0.10.1"
edition = "2021"
authors = ["myOmikron <git@omikron.dev>"]
repository = "https://github.com/rorm-orm/rorm-cli"
keywords = ["cli", "database", "migrator", "orm"]
categories = ["command-line-utilities", "database"]
homepage = "https://rorm.rs"
documentation = "https://docs.rorm.rs"
license = "MIT"
description = "The cli tool for managing rorm applications."
[dependencies]
rorm-declaration = { version = "~0.5", path = "../rorm-declaration" }
rorm-db = { version = "~0.12", path = "../rorm-db" }
clap = { version = "~4", features = ["derive"] }
serde = { version = "~1", features = ["derive"] }
serde_json = { version = "~1" }
toml = { version = "~0.7" }
anyhow = { version = "~1" }
thiserror = { version = "~2" }
regex = { version = "~1" }
once_cell = { version = "~1" }
tokio = { version = ">=1.23.1", features = ["macros", "rt"] }
rpassword = { version = "~7" }
tracing = { version = "~0.1" }
tracing-subscriber = { version = "0.3", optional = true }
[dev-dependencies]
temp-dir = { version = "~0.1" }
[features]
default = [
"bin",
"sqlite",
"postgres",
]
bin = [
"tracing-subscriber",
]
sqlite = [
"rorm-db/sqlite",
"rorm-declaration/sqlite",
]
postgres = [
"rorm-db/postgres",
"rorm-declaration/postgres",
]