1
0
Fork 1
mirror of https://example.com synced 2024-11-23 03:16:40 +09:00
firefish/packages/backend/native-utils/Cargo.toml

49 lines
1.1 KiB
TOML

[package]
edition = "2021"
name = "native-utils"
version = "0.0.0"
[workspace]
members = ["migration"]
[features]
default = []
napi = ["dep:napi-derive"]
[lib]
crate-type = ["cdylib", "lib"]
[dependencies]
async-trait = "0.1.77"
cfg-if = "1.0.0"
chrono = "0.4.31"
cuid2 = "0.1.2"
derive_more = "0.99.17"
idna = "0.5.0"
jsonschema = "0.17.1"
once_cell = "1.19.0"
parse-display = "0.8.2"
rand = "0.8.5"
schemars = { version = "0.8.16", features = ["chrono"] }
sea-orm = { version = "0.12.11", features = ["sqlx-postgres", "runtime-tokio-rustls"] }
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
serde_yaml = "0.9.30"
thiserror = "1.0.56"
tokio = { version = "1.35.1", features = ["full"] }
url = "2.5.0"
utoipa = "4.2.0"
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.14.2", default-features = false, features = ["napi9", "tokio_rt"] }
napi-derive = { version = "2.14.6", optional = true }
basen = "0.1.0"
[dev-dependencies]
pretty_assertions = "1.4.0"
[build-dependencies]
napi-build = "2.1.0"
[profile.release]
lto = true