inv_sig_helper/Cargo.toml
Cullum Smith 614e2e2b49
Fix build on FreeBSD targets (#40)
When running on FreeBSD, bump the rquickjs version to 0.6.2 (the next
version that manages to build successfully).

Fixes #33
2025-01-03 11:35:36 +01:00

32 lines
1,023 B
TOML

[package]
name = "inv_sig_helper_rust"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
regex = "1.10.4"
tokio = { version = "1.37.0", features = ["full", "net", "macros", "rt-multi-thread", "io-std", "io-util", "mio"] }
reqwest = "0.12.4"
lazy-regex = "3.1.0"
tub = "0.3.7"
tokio-util = { version = "0.7.10", features=["futures-io", "futures-util", "codec"]}
futures = "0.3.30"
log = "0.4.22"
env_logger = "0.11.5"
[target.'cfg(not(target_os = "freebsd"))'.dependencies]
rquickjs = {version = "0.6.0", features=["futures", "parallel"]}
[target.'cfg(target_os = "freebsd")'.dependencies]
rquickjs = {version = "0.6.2", features=["futures", "parallel", "bindgen"]}
# Compilation optimizations for release builds
# Increases compile time but typically produces a faster and smaller binary. Suitable for final releases but not for debug builds.
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
panic = 'abort'