char-buf 0.1.2

A writable, fixed-length `char` buffer usable in `no_std` environments.
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented1 out of 3 items with examples
  • Size
  • Source code size: 23.49 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.02 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • kkitahara/char-buf-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kkitahara5101

crates.io docs.rs pipeline status coverage report

CharBuf

A writable, fixed-length char buffer usable in no_std environments.

use char_buf::CharBuf;
use core::fmt::Write;

// `CharBuf` with capacity `8`
type CharBuf8 = CharBuf<8>;

let mut w = CharBuf8::new();
write!(w, "x{:?}x", [1, 2]).unwrap();

assert_eq!(w, "x[1, 2]x");

License

Licensed under either of

at your option.

Contribution

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.


© 2023–2024 Koichi Kitahara