[package]
name = "secra-database"
version = "0.1.0"
edition = "2021"
description = "基于 SeaORM 的 Rust 数据库连接和管理库"
authors = ["Secra Team"]
license = "MIT OR Apache-2.0"
keywords = ["database", "orm", "sea-orm", "postgresql", "mysql"]
categories = ["database"]
[dependencies]
sea-orm = { version = "2.0.0-rc", features = [
"sqlx-postgres",
"debug-print",
"macros", "with-chrono",
"with-time", "with-json",
"with-rust_decimal",
"with-bigdecimal",
"with-uuid",
"postgres-array",
"sea-orm-internal"]}
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
tracing = "0.1"
log = "0.4"
urlencoding = "2.1"
[dev-dependencies]
tokio = { version = "1.0", features = ["full"] }