camera-trng/Cargo.toml

32 lines
750 B
TOML

[package]
name = "camera-trng"
version = "0.1.0"
edition = "2021"
description = "True random number generator using camera sensor noise - with OpenSSL provider"
[lib]
crate-type = ["lib", "cdylib"]
[[bin]]
name = "camera-qrng"
path = "src/main.rs"
[dependencies]
nokhwa = { version = "0.10", features = ["input-native"] }
axum = { version = "0.7", features = ["json"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync"] }
sha2 = "0.10"
hex = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
bytes = "1"
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
async-stream = "0.3"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
panic = "abort"