Crates.io | auditable-info |
lib.rs | auditable-info |
version | 0.9.0 |
source | src |
created_at | 2022-09-18 21:33:17.427973 |
updated_at | 2024-11-11 15:27:21.146132 |
description | High-level crate to extract the dependency trees embedded in binaries by `cargo auditable`. |
homepage | |
repository | https://github.com/rust-secure-code/cargo-auditable |
max_upload_size | |
id | 668809 |
size | 18,587 |
High-level crate to extract the dependency trees embedded in binaries by cargo auditable
.
Deserializes them to a JSON string or Rust data structures, at your option.
unsafe
in serde_json
and its dependencies, but only in serialization, which isn't used here).std
.// Uses the default limits: 1GiB input file size, 8MiB audit data size
let info = audit_info_from_file(&PathBuf::from("path/to/file"), Default::default())?;
Functions to load the data from a Read
instance or from &[u8]
are also provided,
see the documentation.
rust-audit-info
is a command-line interface to this crate.
If you need a lower-level interface than the one provided by this crate,
use the auditable-extract
and
auditable-serde
crates.