Registry / utility / darth-rust

darth-rust

JSON →
library4.4.1rscratesunverified

A Rust procedural macro library that auto-generates methods for struct manipulation, including getters, setters, JSON conversion, and validation.

# Cargo.toml [dependencies] darth-rust = "4.4.1"
INSTALL
IMPORT
SIG · DARTH-RUST
D
darth-rust
utilityrustv4.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Darth
✓ use darth_rust::Darth;

Derive Darth macro to auto-generate methods for a struct.

use darth_rust::Darth; #[derive(Darth)] struct MyStruct { field: String, } fn main() { let s = MyStruct { field: "hello".into() }; println!("{}", s.get_field()); }
Debug
Known issues
gotchaMacro may generate large amounts of code; compile times may increase.
fix
Use only necessary features or limit struct size.
affects: >=4.0.0
Upgrade
Version history
4.4.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
darth-rust — cargo add darth-rust · libregistry