mirror of
https://github.com/Drop-OSS/droplet.git
synced 2025-11-09 20:12:18 +10:00
48 lines
1.1 KiB
TOML
48 lines
1.1 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "droplet"
|
|
version = "0.7.0"
|
|
license = "GPLv3-Affero"
|
|
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 = "2.12.2", default-features = false, features = [
|
|
"napi4",
|
|
"async",
|
|
] }
|
|
napi-derive = "2.12.2"
|
|
hex = "0.4.3"
|
|
serde_json = "1.0.128"
|
|
md5 = "0.7.0"
|
|
time-macros = "=0.2.21"
|
|
time = "0.3.40"
|
|
|
|
[dependencies.rcgen]
|
|
version = "0.13.2"
|
|
features = ["crypto", "pem", "x509-parser"]
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.210"
|
|
features = ["serde_derive"]
|
|
|
|
[dependencies.openssl]
|
|
version = "0.10.66"
|
|
|
|
[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"
|