2023-07-20 04:17:05 +09:00
|
|
|
[package]
|
|
|
|
edition = "2021"
|
2024-01-23 01:29:15 +09:00
|
|
|
name = "backend-rs"
|
2023-07-20 04:17:05 +09:00
|
|
|
version = "0.0.0"
|
|
|
|
|
|
|
|
[features]
|
2024-01-20 05:57:00 +09:00
|
|
|
default = ["napi"]
|
2024-01-16 03:17:43 +09:00
|
|
|
napi = ["dep:napi-derive"]
|
2023-07-20 04:17:05 +09:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "lib"]
|
|
|
|
|
|
|
|
[dependencies]
|
2024-01-18 12:45:16 +09:00
|
|
|
async-trait = "0.1.77"
|
2023-07-20 04:17:05 +09:00
|
|
|
cfg-if = "1.0.0"
|
2024-01-25 03:50:41 +09:00
|
|
|
chrono = "0.4.32"
|
2023-12-27 15:26:09 +09:00
|
|
|
cuid2 = "0.1.2"
|
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-07-20 04:17:05 +09:00
|
|
|
rand = "0.8.5"
|
2024-01-27 06:48:10 +09:00
|
|
|
regex = "1.10.3"
|
2023-12-27 15:26:09 +09:00
|
|
|
schemars = { version = "0.8.16", features = ["chrono"] }
|
2024-01-25 03:50:41 +09:00
|
|
|
sea-orm = { version = "0.12.12", features = ["sqlx-postgres", "runtime-tokio-rustls"] }
|
2024-01-18 12:45:16 +09:00
|
|
|
serde = { version = "1.0.195", features = ["derive"] }
|
|
|
|
serde_json = "1.0.111"
|
|
|
|
serde_yaml = "0.9.30"
|
|
|
|
thiserror = "1.0.56"
|
2023-12-27 15:26:09 +09:00
|
|
|
tokio = { version = "1.35.1", features = ["full"] }
|
2024-01-15 15:42:55 +09:00
|
|
|
url = "2.5.0"
|
2023-07-20 04:17:05 +09:00
|
|
|
|
|
|
|
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
|
2024-01-25 03:50:41 +09:00
|
|
|
napi = { version = "2.14.4", default-features = false, features = ["napi9", "tokio_rt", "chrono_date", "serde-json"] }
|
2024-01-18 12:45:16 +09:00
|
|
|
napi-derive = { version = "2.14.6", optional = true }
|
2023-08-10 04:45:41 +09:00
|
|
|
basen = "0.1.0"
|
2024-01-23 18:20:05 +09:00
|
|
|
urlencoding = "2.1.3"
|
2024-01-29 03:18:55 +09:00
|
|
|
argon2 = "0.5.3"
|
|
|
|
bcrypt = "0.15.0"
|
2023-07-20 04:17:05 +09:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-12-27 15:26:09 +09:00
|
|
|
pretty_assertions = "1.4.0"
|
2023-07-20 04:17:05 +09:00
|
|
|
|
|
|
|
[build-dependencies]
|
2023-12-27 15:26:09 +09:00
|
|
|
napi-build = "2.1.0"
|
2023-07-20 04:17:05 +09:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|