32 lines
1 KiB
TOML
32 lines
1 KiB
TOML
[package]
|
|
name = "model"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[features]
|
|
default = []
|
|
noarray = []
|
|
napi = ["dep:napi", "dep:napi-derive"]
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.68"
|
|
cfg-if = "1.0.0"
|
|
chrono = "0.4.24"
|
|
database = { path = "../database" }
|
|
derive_more = "0.99.17"
|
|
jsonschema = "0.17.0"
|
|
once_cell = "1.17.1"
|
|
parse-display = "0.8.0"
|
|
schemars = { version = "0.8.12", features = ["chrono"] }
|
|
sea-orm = { version = "0.11.3", features = ["sqlx-postgres", "postgres-array", "sqlx-sqlite", "runtime-tokio-rustls"] }
|
|
serde = { version = "1.0.163", features = ["derive"] }
|
|
serde_json = "1.0.96"
|
|
thiserror = "1.0.40"
|
|
tokio = { version = "1.28.1", features = ["sync"] }
|
|
util = { path = "../util" }
|
|
utoipa = "3.3.0"
|
|
|
|
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
|
|
napi = { version = "2.12.0", default-features = false, features = ["napi4"], optional = true }
|
|
napi-derive = { version = "2.12.0", optional = true }
|