[package] name = "rng" version = "0.2.1" authors = ["Avril "] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 panic = "unwind" [dependencies] bitflags = { version = "1.3.2", optional = true } getrandom = "0.1" lazy_static = { version = "1.4.0", optional = true } libc = { version = "0.2.126", optional = true } regex = { version = "1.6.0", optional = true } [features] default = ["plugin-ffi"] # Dynamically allocate and populate all memory needed for `--bytes` at runtime instead of streaming in fixed size blocks. # # This can slightly improve total performance for large outputs, at the cost of a proportionally, arbitrary sized memory allocation along with a proportionally increasing wait while the entire area is populated. bytes-dynamic = [] # Allow plugin-loading at runtime with `[@]... ` plugin = ["libc", "bitflags", "lazy_static", "regex"] # Allow non-Rust (C interface) plugin symbol resolution. plugin-ffi = ["plugin"]