# 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.60" name = "supply-chain-trust-example-crate-000016" version = "0.2.17" authors = ["Hassnain"] build = false exclude = [".*"] autobins = false autoexamples = false autotests = false autobenches = false description = "A small cross-platform library for retrieving random data from system source" documentation = "https://docs.rs/getrandom" readme = "README.md" categories = [ "os", "no-std", ] license = "MIT OR Apache-2.0" [package.metadata.cross.target.x86_64-unknown-netbsd] pre-build = [ "mkdir -p /tmp/netbsd", "curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O", "tar -C /tmp/netbsd -xJf base.tar.xz", "cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib", "rm base.tar.xz", "rm -rf /tmp/netbsd", ] [package.metadata.docs.rs] features = ["std"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "supply_chain_trust_example_crate_000016" path = "src/lib.rs" [[test]] name = "mod" path = "tests/mod.rs" [[bench]] name = "buffer" path = "benches/buffer.rs" [dependencies.cfg-if] version = "1" [dependencies.compiler_builtins] version = "0.1" optional = true [dependencies.core] version = "1.0" optional = true package = "rustc-std-workspace-core" [features] rustc-dep-of-std = [ "compiler_builtins", "core", ] std = [] [target.'cfg(all(any(target_os = "linux", target_os = "android"), any(target_env = "", getrandom_backend = "linux_rustix")))'.dependencies.rustix] version = "0.38.38" features = ["rand"] default-features = false [target.'cfg(all(any(target_os = "linux", target_os = "android"), not(any(target_env = "", getrandom_backend = "linux_rustix", getrandom_backend = "custom"))))'.dependencies.libc] version = "0.2.154" default-features = false [target.'cfg(all(getrandom_backend = "wasm_js", any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.js-sys] version = "0.3" [target.'cfg(all(getrandom_backend = "wasm_js", any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.wasm-bindgen] version = "0.2.89" default-features = false [target.'cfg(all(getrandom_backend = "wasm_js", getrandom_browser_test, target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test] version = "0.3.39" [target.'cfg(all(target_arch = "wasm32", target_os = "wasi", target_env = "p2"))'.dependencies.wasi] version = "0.13" default-features = false [target.'cfg(all(windows, not(target_vendor = "win7")))'.dependencies.windows-targets] version = "0.52" [target.'cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "hurd", target_os = "illumos", all(target_os = "horizon", target_arch = "arm")))'.dependencies.libc] version = "0.2.154" default-features = false [target.'cfg(any(target_os = "haiku", target_os = "redox", target_os = "nto", target_os = "aix"))'.dependencies.libc] version = "0.2.154" default-features = false [target.'cfg(any(target_os = "ios", target_os = "visionos", target_os = "watchos", target_os = "tvos"))'.dependencies.libc] version = "0.2.154" default-features = false [target.'cfg(any(target_os = "macos", target_os = "openbsd", target_os = "vita", target_os = "emscripten"))'.dependencies.libc] version = "0.2.154" default-features = false [target.'cfg(target_os = "netbsd")'.dependencies.libc] version = "0.2.154" default-features = false [target.'cfg(target_os = "solaris")'.dependencies.libc] version = "0.2.154" default-features = false [target.'cfg(target_os = "vxworks")'.dependencies.libc] version = "0.2.154" default-features = false [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ 'cfg(getrandom_backend, values("custom", "rdrand", "rndr", "linux_getrandom", "linux_rustix", "wasm_js", "esp_idf"))', "cfg(getrandom_sanitize)", "cfg(getrandom_browser_test)", "cfg(getrandom_test_linux_fallback)", ]