Expand description
§vds
A #![no_std] crate for visibly distinguishable strings and codes.
This crate provides:
VDChar: a compact, index-based character typeVDString: a validated string ofVDCharsVDGenerator: a builder for random string generation (requiresgeneratefeature)
§Features
generate— enablesVDGeneratorfor random string creation (usesrand_core)serde— enablesSerialize/Deserializesupport via theserdecrate
Structs§
- VDChar
- A single visibly distinguishable character from a restricted set.
- VDGenerator
- A builder-style configuration for generating random
VDStrings. - VDString
- A validated, immutable string composed entirely of
VDChars.
Enums§
- VDGenerator
Error - Error returned when
VDGenerator::generateis called with an invalid configuration. - VDString
Error - Error returned when constructing or parsing a
VDString.
Constants§
- VDS_
ALLOWED - Allowed characters for
VDChar.