{"id":70214,"library":"darth-rust","title":"darth-rust","description":"A Rust procedural macro library that auto-generates methods for struct manipulation, including getters, setters, JSON conversion, and validation.","status":"active","version":"4.4.1","language":"rust","source_language":null,"source_url":"https://github.com/pas2rust/darth-rust","tags":["macros","procedural","struct","codegen"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ndarth-rust = \"4.4.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add darth-rust","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Darth","correct":"use darth_rust::Darth;"}],"quickstart":{"code":"use darth_rust::Darth;\n\n#[derive(Darth)]\nstruct MyStruct {\n    field: String,\n}\n\nfn main() {\n    let s = MyStruct { field: \"hello\".into() };\n    println!(\"{}\", s.get_field());\n}","lang":"rust","description":"Derive Darth macro to auto-generate methods for a struct."},"warnings":[{"fix":"Use only necessary features or limit struct size.","message":"Macro may generate large amounts of code; compile times may increase.","severity":"gotcha","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'auto':11 'auto-gener':10 'codegen':27 'convers':21 'darth':2 'darth-rust':1 'generat':12 'getter':18 'includ':17 'json':20 'librari':8 'macro':7,24 'manipul':16 'method':13 'procedur':6,25 'rust':3,5 'setter':19 'struct':15,26 'valid':23","created_at":"2026-06-17T18:11:26.543051+00:00","updated_at":"2026-06-17T18:11:26.543051+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/pas2rust/darth-rust","github":"https://github.com/pas2rust/darth-rust","docs":"https://docs.rs/darth-rust/","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-17","next_check":"2026-12-14","install_tag":null}}