# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.68" name = "mc-rand" version = "1.1.0" authors = ["MobileCoin"] description = "A platform abstraction layer providing a cryptographic RNG, `McRng`" readme = "README.md" keywords = [ "cryptography", "random", "rng", "no-std", "webassembly", ] categories = [ "cryptography", "hardware-support", "no-std::no-alloc", ] license = "Apache-2.0" repository = "https://github.com/mobilecoinfoundation/rand" [package.metadata.release] shared-version = true dev-version-ext = "beta.0" consolidate-commits = true consolidate-pushes = true tag-name = "v{{version}}" [[package.metadata.release.pre-release-replacements]] file = "README.md" search = "mc-[a-z-]+/[0-9.]+" replace = "{{crate_name}}/{{version}}" [profile.release] lto = "thin" [lib] doctest = false [dependencies.cfg-if] version = "1.0" [dependencies.rand] version = "0.8" default-features = false [dependencies.rand_core] version = "0.6" default-features = false [features] default = [] std = [ "rand_core/std", "rand/std", "rand/std_rng", ] [target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dev-dependencies.getrandom] version = "0.2" features = ["js"] [target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test] version = "0.2" [target."cfg(not(target_feature = \"rdrand\"))".dependencies.rand] version = "0.8" features = [ "std", "std_rng", ]