2023-03-31 03:58:28 +02:00
|
|
|
[package]
|
|
|
|
edition = "2021"
|
|
|
|
name = "native-utils"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2023-05-25 08:34:48 +02:00
|
|
|
[workspace]
|
2023-07-13 11:25:54 +02:00
|
|
|
members = ["migration", "scylla-migration"]
|
2023-06-02 14:48:12 +02:00
|
|
|
|
|
|
|
[features]
|
2023-06-02 18:19:36 +02:00
|
|
|
default = []
|
2023-07-10 07:39:33 +02:00
|
|
|
napi = ["dep:napi", "dep:napi-derive"]
|
2023-05-25 08:34:48 +02:00
|
|
|
|
2023-03-31 03:58:28 +02:00
|
|
|
[lib]
|
2023-06-02 14:48:12 +02:00
|
|
|
crate-type = ["cdylib", "lib"]
|
2023-03-31 03:58:28 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2023-06-02 14:48:12 +02: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"] }
|
2023-09-07 05:16:00 +02:00
|
|
|
sea-orm = { version = "0.12.2", features = ["sqlx-postgres", "runtime-tokio-rustls"] }
|
2023-06-02 14:48:12 +02:00
|
|
|
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-03-31 03:58:28 +02:00
|
|
|
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
|
2023-06-03 09:41:30 +02:00
|
|
|
napi = { version = "2.13.1", default-features = false, features = ["napi6", "tokio_rt"], optional = true }
|
2023-06-02 14:48:12 +02:00
|
|
|
napi-derive = { version = "2.12.0", optional = true }
|
2023-08-06 08:34:44 +02:00
|
|
|
basen = "0.1.0"
|
2023-06-02 14:48:12 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
pretty_assertions = "1.3.0"
|
2023-03-31 03:58:28 +02:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
napi-build = "2.0.1"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|