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 ofVDChar
sVDGenerator
: a builder for random string generation (requiresgenerate
feature)
§Features
generate
— enablesVDGenerator
for random string creation (usesrand_core
)serde
— enablesSerialize
/Deserialize
support via theserde
crate
Structs§
- VDChar
- A single visibly distinguishable character from a restricted set.
- VDGenerator
- A builder-style configuration for generating random
VDString
s. - VDString
- A validated, immutable string composed entirely of
VDChar
s.
Enums§
- VDGenerator
Error - Error returned when
VDGenerator::generate
is called with an invalid configuration. - VDString
Error - Error returned when constructing or parsing a
VDString
.
Constants§
- VDS_
ALLOWED - Allowed characters for
VDChar
.