aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / zeroize / Cargo.toml
| 1 | # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 | # |
| 3 | # When uploading crates to the registry Cargo will automatically |
| 4 | # "normalize" Cargo.toml files for maximal compatibility |
| 5 | # with all versions of Cargo and also rewrite `path` dependencies |
| 6 | # to registry (e.g., crates.io) dependencies. |
| 7 | # |
| 8 | # If you are reading this file be aware that the original Cargo.toml |
| 9 | # will likely look very different (and much more reasonable). |
| 10 | # See Cargo.toml.orig for the original contents. |
| 11 | |
| 12 | [package] |
| 13 | edition = "2024" |
| 14 | rust-version = "1.85" |
| 15 | name = "zeroize" |
| 16 | version = "1.9.0" |
| 17 | authors = ["The RustCrypto Project Developers"] |
| 18 | build = false |
| 19 | autolib = false |
| 20 | autobins = false |
| 21 | autoexamples = false |
| 22 | autotests = false |
| 23 | autobenches = false |
| 24 | description = """ |
| 25 | Securely clear secrets from memory with a simple trait built on |
| 26 | stable Rust primitives which guarantee memory is zeroed using an |
| 27 | operation will not be 'optimized away' by the compiler. |
| 28 | Uses a portable pure Rust implementation that works everywhere, |
| 29 | even WASM! |
| 30 | """ |
| 31 | documentation = "https://docs.rs/zeroize" |
| 32 | readme = "README.md" |
| 33 | keywords = [ |
| 34 | "memory", |
| 35 | "memset", |
| 36 | "secure", |
| 37 | "volatile", |
| 38 | "zero", |
| 39 | ] |
| 40 | categories = [ |
| 41 | "cryptography", |
| 42 | "memory-management", |
| 43 | "no-std", |
| 44 | "os", |
| 45 | ] |
| 46 | license = "Apache-2.0 OR MIT" |
| 47 | repository = "https://github.com/RustCrypto/utils" |
| 48 | |
| 49 | [package.metadata.docs.rs] |
| 50 | all-features = true |
| 51 | |
| 52 | [features] |
| 53 | aarch64 = [] |
| 54 | alloc = [] |
| 55 | default = ["alloc"] |
| 56 | derive = ["zeroize_derive"] |
| 57 | simd = [] |
| 58 | std = ["alloc"] |
| 59 | |
| 60 | [lib] |
| 61 | name = "zeroize" |
| 62 | path = "src/lib.rs" |
| 63 | |
| 64 | [[test]] |
| 65 | name = "alloc" |
| 66 | path = "tests/alloc.rs" |
| 67 | |
| 68 | [[test]] |
| 69 | name = "zeroize" |
| 70 | path = "tests/zeroize.rs" |
| 71 | |
| 72 | [[test]] |
| 73 | name = "zeroize_derive" |
| 74 | path = "tests/zeroize_derive.rs" |
| 75 | |
| 76 | [dependencies.serde] |
| 77 | version = "1" |
| 78 | optional = true |
| 79 | default-features = false |
| 80 | |
| 81 | [dependencies.zeroize_derive] |
| 82 | version = "1.5" |
| 83 | optional = true |
| 84 | |
| 85 | [lints.clippy] |
| 86 | borrow_as_ptr = "warn" |
| 87 | cast_lossless = "warn" |
| 88 | cast_possible_truncation = "warn" |
| 89 | cast_possible_wrap = "warn" |
| 90 | cast_precision_loss = "warn" |
| 91 | cast_sign_loss = "warn" |
| 92 | checked_conversions = "warn" |
| 93 | doc_markdown = "warn" |
| 94 | from_iter_instead_of_collect = "warn" |
| 95 | implicit_saturating_sub = "warn" |
| 96 | manual_assert = "warn" |
| 97 | map_unwrap_or = "warn" |
| 98 | missing_errors_doc = "warn" |
| 99 | missing_panics_doc = "warn" |
| 100 | mod_module_files = "warn" |
| 101 | must_use_candidate = "warn" |
| 102 | needless_range_loop = "allow" |
| 103 | ptr_as_ptr = "warn" |
| 104 | redundant_closure_for_method_calls = "warn" |
| 105 | ref_as_ptr = "warn" |
| 106 | return_self_not_must_use = "warn" |
| 107 | semicolon_if_nothing_returned = "warn" |
| 108 | std_instead_of_alloc = "warn" |
| 109 | std_instead_of_core = "warn" |
| 110 | trivially_copy_pass_by_ref = "warn" |
| 111 | undocumented_unsafe_blocks = "warn" |
| 112 | unnecessary_safety_comment = "warn" |
| 113 | unwrap_in_result = "warn" |
| 114 | unwrap_used = "warn" |
| 115 | |
| 116 | [lints.rust] |
| 117 | missing_copy_implementations = "warn" |
| 118 | missing_debug_implementations = "warn" |
| 119 | missing_docs = "warn" |
| 120 | trivial_casts = "warn" |
| 121 | trivial_numeric_casts = "warn" |
| 122 | unused_lifetimes = "warn" |
| 123 | unused_qualifications = "warn" |