Registry / utility / custom-derive

custom-derive

JSON →
library0.1.7rscratesunverified

Provides a macro to enable custom derive attributes, superseded by macro-attr.

# Cargo.toml [dependencies] custom_derive = "0.1.7"
INSTALL
IMPORT
SIG · CUSTOM-DERIVE
C
custom-derive
utilityrustv0.1.7
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.

custom_derive
✓ use custom_derive::custom_derive;

Defines a struct with custom derive attributes.

use custom_derive::custom_derive; custom_derive! { #[derive(Debug, Clone)] pub struct MyStruct { pub field: i32, } }
Debug
Known issues
breakingThis crate is superseded by `macro-attr` and may not be maintained.
fix
Use `macro-attr` crate instead.
affects: >=0.1.0
Upgrade
Version history
0.1.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
custom-derive — cargo add custom-derive · libregistry