{"id":69581,"library":"zeroize-derive","title":"Zeroize Derive","description":"Provides custom derive support for the zeroize crate to automatically zero out sensitive data.","status":"active","version":"1.5.0","language":"rust","source_language":null,"source_url":"https://github.com/RustCrypto/utils","tags":["zeroize","derive","security","sensitive-data"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nzeroize_derive = \"1.5.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add zeroize_derive","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Zeroize","correct":"use zeroize_derive::Zeroize;"}],"quickstart":{"code":"use zeroize_derive::Zeroize;\n\n#[derive(Zeroize)]\nstruct SecretData {\n    key: Vec<u8>,\n}\n\nfn main() {\n    let data = SecretData { key: vec![1, 2, 3] };\n    println!(\"Zeroize derive macro used\");\n}","lang":"rust","description":"Derive the Zeroize trait for a struct"},"warnings":[],"env_vars":null,"search_vec":"'automat':12 'crate':10 'custom':4 'data':16,22 'deriv':2,5,18 'provid':3 'secur':19 'sensit':15,21 'sensitive-data':20 'support':6 'zero':13 'zeroiz':1,9,17","created_at":"2026-06-17T18:03:29.229338+00:00","updated_at":"2026-06-17T18:03:29.229338+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/RustCrypto/utils","github":"https://github.com/RustCrypto/utils","docs":"https://docs.rs/zeroize_derive/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}