libwasm/Cargo.toml

25 lines
905 B
TOML
Raw Normal View History

2022-02-10 21:34:02 -06:00
[package]
name = "libwasm"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2022-08-02 02:05:57 -05:00
once_cell = { version = "1.10.0", default-features = false, optional = true }
rand_core = { version = "0.6", default-features = false, optional = true }
rand_pcg = { version = "0.3.1", default-features = false, optional = true }
[target.'cfg(not(ableOS))'.dependencies]
rand_core = { version = "0.6", default-features = false, optional = true, features = ["getrandom"] }
[features]
default = ["rng", "pcg_rng", "io"]
# Controls availability of the `rand` module, which provides seeding for `rand` (the crate) RNGs.
2022-08-02 05:06:04 -05:00
rng = ["rand_core"]
# Controls the availability of `obtain_rng`, which internally uses `rand_pcg`.
2022-08-02 05:06:04 -05:00
pcg_rng = ["rng", "rand_pcg"]
# Controls the availability of the cross platform `io` module.
2022-08-02 05:06:04 -05:00
io = ["once_cell"]