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 = []
|
2024-01-16 03:17:43 +09:00
|
|
|
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-12-27 15:26:09 +09:00
|
|
|
async-trait = "0.1.75"
|
2023-06-02 21:48:12 +09:00
|
|
|
cfg-if = "1.0.0"
|
2023-12-27 15:26:09 +09:00
|
|
|
chrono = "0.4.31"
|
|
|
|
cuid2 = "0.1.2"
|
2023-06-02 21:48:12 +09:00
|
|
|
derive_more = "0.99.17"
|
2024-01-15 15:42:55 +09:00
|
|
|
idna = "0.5.0"
|
2023-12-27 15:26:09 +09:00
|
|
|
jsonschema = "0.17.1"
|
|
|
|
once_cell = "1.19.0"
|
|
|
|
parse-display = "0.8.2"
|
2023-06-02 21:48:12 +09:00
|
|
|
rand = "0.8.5"
|
2023-12-27 15:26:09 +09:00
|
|
|
schemars = { version = "0.8.16", features = ["chrono"] }
|
2023-12-27 15:18:06 +09:00
|
|
|
sea-orm = { version = "0.12.10", features = ["sqlx-postgres", "runtime-tokio-rustls"] }
|
2023-12-27 15:26:09 +09:00
|
|
|
serde = { version = "1.0.193", features = ["derive"] }
|
|
|
|
serde_json = "1.0.108"
|
2024-01-15 15:42:55 +09:00
|
|
|
serde_yaml = "0.9.29"
|
2023-12-27 15:26:09 +09:00
|
|
|
thiserror = "1.0.52"
|
|
|
|
tokio = { version = "1.35.1", features = ["full"] }
|
2024-01-15 15:42:55 +09:00
|
|
|
url = "2.5.0"
|
2023-12-27 15:26:09 +09:00
|
|
|
utoipa = "4.1.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
|
2024-01-16 03:17:43 +09:00
|
|
|
napi = { version = "2.14.1", default-features = false, features = ["napi9", "tokio_rt"] }
|
2023-12-27 15:26:09 +09:00
|
|
|
napi-derive = { version = "2.14.5", optional = true }
|
2023-08-06 15:34:44 +09:00
|
|
|
basen = "0.1.0"
|
2023-06-02 21:48:12 +09:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-12-27 15:26:09 +09:00
|
|
|
pretty_assertions = "1.4.0"
|
2023-03-31 10:58:28 +09:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-12-27 15:26:09 +09:00
|
|
|
napi-build = "2.1.0"
|
2023-03-31 10:58:28 +09:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|