{"id":59619,"library":"derive-where","title":"Derive Where","description":"Allows deriving traits with custom trait bounds, enabling more flexible derive macros.","status":"active","version":"1.6.1","language":"rust","source_language":null,"source_url":"https://github.com/ModProg/derive-where","tags":["derive","macros","traits","generics"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nderive-where = \"1.6.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add derive-where","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"DeriveWhere","correct":"use derive_where::DeriveWhere;"}],"quickstart":{"code":"use derive_where::DeriveWhere;\n\n#[derive(DeriveWhere)]\n#[derive_where(Debug, Clone; T: std::fmt::Debug + Clone)]\nstruct MyStruct<T> {\n    value: T,\n}\n\nfn main() {\n    let s = MyStruct { value: 42 };\n    println!(\"{:?}\", s);\n}","lang":"rust","description":"Derives Debug and Clone with custom bounds."},"warnings":[],"env_vars":null,"search_vec":"'allow':3 'bound':9 'custom':7 'deriv':1,4,13,15 'enabl':10 'flexibl':12 'generic':18 'macro':14,16 'trait':5,8,17","created_at":"2026-06-16T17:10:39.182649+00:00","updated_at":"2026-06-16T17:10:39.182649+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/ModProg/derive-where","github":"https://github.com/ModProg/derive-where","docs":"https://docs.rs/derive-where/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}