| Crates.io | bstring |
| lib.rs | bstring |
| version | 0.1.0 |
| created_at | 2017-06-23 17:30:49.89611+00 |
| updated_at | 2017-06-23 17:30:49.89611+00 |
| description | Byte string formatting and manipulation |
| homepage | https://github.com/murarth/bstring |
| repository | https://github.com/murarth/bstring |
| max_upload_size | |
| id | 20344 |
| size | 136,612 |
bstringThe bstring crate provides two types, bstr and BString,
which implement str-like functions for byte strings with unknown encoding.
The bstring_macros crate provides the bformat! macro,
which implements byte string formatting, similar to format!.
These types are intended to assist when implementing text-based protocols with no set character encoding.
To include bstring in your project, add the following to your Cargo.toml:
[dependencies]
bstring = "0.1"
bstring_macros = "0.1"
And the following to your crate root:
extern crate bstring;
#[macro_use] extern crate bstring_macros;
bstring is distributed under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.