2023-03-31 10:58:28 +09:00
|
|
|
[package]
|
|
|
|
edition = "2021"
|
|
|
|
name = "native-utils"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2023-05-25 15:34:48 +09:00
|
|
|
[workspace]
|
2023-06-03 12:37:36 +09:00
|
|
|
members = ["migration"]
|
2023-06-02 21:48:12 +09:00
|
|
|
|
|
|
|
[features]
|
2023-06-03 01:19:36 +09:00
|
|
|
default = []
|
2023-06-02 21:48:12 +09:00
|
|
|
noarray = []
|
2023-07-10 14:39:33 +09:00
|
|
|
napi = ["dep:napi", "dep:napi-derive"]
|
2023-05-25 15:34:48 +09:00
|
|
|
|
2023-03-31 10:58:28 +09:00
|
|
|
[lib]
|
2023-06-02 21:48:12 +09:00
|
|
|
crate-type = ["cdylib", "lib"]
|
2023-03-31 10:58:28 +09:00
|
|
|
|
|
|
|
[dependencies]
|
2023-06-02 21:48:12 +09:00
|
|
|
async-trait = "0.1.68"
|
|
|
|
cfg-if = "1.0.0"
|
|
|
|
chrono = "0.4.24"
|
|
|
|
cuid2 = "0.1.0"
|
|
|
|
derive_more = "0.99.17"
|
|
|
|
jsonschema = "0.17.0"
|
|
|
|
once_cell = "1.17.1"
|
|
|
|
parse-display = "0.8.0"
|
|
|
|
rand = "0.8.5"
|
|
|
|
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 = ["full"] }
|
|
|
|
utoipa = "3.3.0"
|
2023-07-10 14:39:33 +09:00
|
|
|
radix_fmt = "1.0.0"
|
2023-06-02 21:48:12 +09:00
|
|
|
|
2023-03-31 10:58:28 +09:00
|
|
|
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
|
2023-06-03 16:41:30 +09:00
|
|
|
napi = { version = "2.13.1", default-features = false, features = ["napi6", "tokio_rt"], optional = true }
|
2023-06-02 21:48:12 +09:00
|
|
|
napi-derive = { version = "2.12.0", optional = true }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
pretty_assertions = "1.3.0"
|
2023-03-31 10:58:28 +09:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
napi-build = "2.0.1"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|