Skip to main content

Crate type_lib_derive

Crate type_lib_derive 

Source
Expand description

Derive macro for type-lib.

This crate provides the Validated derive. It is re-exported from type-lib behind the derive feature; depend on type-lib with that feature rather than on this crate directly:

type-lib = { version = "1.0", features = ["derive"] }

Derive Macrosยง

Validated
Turns a single-field newtype into a validated parse-dont-validate type.