Files
archived-droplet/Cargo.toml
2025-12-13 11:57:04 +11:00

51 lines
1.3 KiB
TOML

[package]
edition = "2021"
name = "droplet"
version = "0.3.5"
license = "AGPL-3.0-only"
description = "Droplet is a `napi.rs` Rust/Node.js package full of high-performance and low-level utils for Drop"
[lib]
crate-type = ["cdylib"]
[dependencies]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "3.0.0-beta.11", default-features = false, features = [
"napi6",
"async",
"web_stream",
"error_anyhow",
] }
napi-derive = "3.0.0-beta.11"
hex = "0.4.3"
tokio = { version = "1.45.1", features = ["fs", "io-util"] }
tokio-util = { version = "0.7.15", features = ["codec"] }
rhai = "1.22.2"
# mlua = { version = "0.11.2", features = ["luajit"] }
boa_engine = "0.20.0"
serde_json = "1.0.143"
anyhow = "*"
droplet-rs = { git = "https://github.com/Drop-OSS/droplet-rs.git" }
hashing-reader = "0.1.0"
sha2 = "0.10.9"
format-bytes = "0.3.0"
humansize = "2.1.3"
[dependencies.serde]
version = "1.0.210"
features = ["serde_derive"]
[dependencies.uuid]
version = "1.10.0"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
]
[build-dependencies]
napi-build = "2.0.1"
[profile.release]
lto = true
strip = "symbols"