initial commit

This commit is contained in:
DecDuck
2024-10-06 13:45:03 +11:00
commit 2b07f487a6
27 changed files with 3543 additions and 0 deletions

31
Cargo.toml Normal file
View File

@ -0,0 +1,31 @@
[package]
edition = "2021"
name = "droplet"
version = "0.0.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.12.2", default-features = false, features = ["napi4", "async"] }
napi-derive = "2.12.2"
xz2 = "0.1.7"
rayon = "1.10.0"
serde = "1.0.210"
ciborium = "0.2.2"
[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"