Skip to content

Lantern-chat/fixed-str

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fixed-str

Small fixed-size string type that can only be a given length, no more or less, exactly N bytes.

no_std compatible.

Usage

use fixed_str::FixedStr;

static TEST: FixedStr<4> = FixedStr::new("TEST");

Cargo Features

  • serde: Enables serialization and deserialization support via serde.
  • rkyv: Enables serialization and deserialization support via rkyv.
  • schemars: JSON schema generation support via schemars.

About

Fixed-length string type

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-Apache
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages