Skip to content

Cyborus04/bytes-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bytes-text

crates.io docs build status

Text is to Bytes what String is to Vec<u8>

Example

let text = Text::from("Hello, world!");
println!("{}", text);

let hello = text.get(..5).unwrap();
assert_eq!(hello, "Hello");

(this crate is not offically related to bytes)

License

This project is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Reference-counted UTF-8 text

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