Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/getrandom/Cargo.toml.orig # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / getrandom / Cargo.toml.orig` 67 lines ยท 2467 bytes Raw Blame History 1 [package] 2 name = "getrandom" 3 version = "0.2.17" # Also update html_root_url in lib.rs when bumping this 4 edition = "2018" 5 authors = ["The Rand Project Developers"] 6 license = "MIT OR Apache-2.0" 7 description = "A small cross-platform library for retrieving random data from system source" 8 documentation = "https://docs.rs/getrandom" 9 repository = "https://github.com/rust-random/getrandom" 10 categories = ["os", "no-std"] 11 exclude = [".*"] 12 13 [dependencies] 14 cfg-if = "1" 15 16 # When built as part of libstd 17 compiler_builtins = { version = "0.1", optional = true } 18 core = { version = "1.0", optional = true, package = "rustc-std-workspace-core" } 19 20 [target.'cfg(unix)'.dependencies] 21 libc = { version = "0.2.154", default-features = false } 22 23 [target.'cfg(target_os = "wasi")'.dependencies] 24 wasi = { version = "0.11", default-features = false } 25 26 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies] 27 wasm-bindgen = { version = "0.2.62", default-features = false, optional = true } 28 js-sys = { version = "0.3", optional = true } 29 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies] 30 wasm-bindgen-test = "0.3.18" 31 32 [features] 33 # Implement std-only traits for getrandom::Error 34 std = [] 35 # Disable `/dev/urandom` fallback for Linux and Android targets. 36 # Bumps minimum supported Linux kernel version to 3.17 and Android API level to 23 (Marshmallow). 37 linux_disable_fallback = [] 38 # Feature to enable fallback RDRAND-based implementation on x86/x86_64 39 rdrand = [] 40 # Feature to enable JavaScript bindings on wasm*-unknown-unknown 41 js = ["wasm-bindgen", "js-sys"] 42 # Feature to enable custom RNG implementations 43 custom = [] 44 # Unstable feature to support being a libstd dependency 45 rustc-dep-of-std = [ 46 "compiler_builtins", 47 "core", 48 "libc/rustc-dep-of-std", 49 "wasi/rustc-dep-of-std", 50 ] 51 # Unstable/test-only feature to run wasm-bindgen tests in a browser 52 test-in-browser = [] 53 54 [package.metadata.docs.rs] 55 features = ["std", "custom"] 56 rustdoc-args = ["--cfg", "docsrs"] 57 58 # workaround for https://github.com/cross-rs/cross/issues/1345 59 [package.metadata.cross.target.x86_64-unknown-netbsd] 60 pre-build = [ 61 "mkdir -p /tmp/netbsd", 62 "curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O", 63 "tar -C /tmp/netbsd -xJf base.tar.xz", 64 "cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib", 65 "rm base.tar.xz", 66 "rm -rf /tmp/netbsd", 67 ]