cookiestr

Crates.iocookiestr
lib.rscookiestr
version0.1.2
sourcesrc
created_at2023-11-09 06:56:04.601505
updated_at2024-06-13 10:13:45.215594
descriptioncookiestr
homepagehttps://github.com/i18n-site/rust/tree/main/cookiestre
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1029868
size2,376
(3tieto)

documentation

README

cookiestr

use anyhow::Result;

#[test]
fn test_replace() -> Result<()> {
  let v = [1, 2, 3, 0];
  let e = cookiestr::e(v);
  println!("{:?} → {}", v, &e);
  let d = cookiestr::d(&e)?;
  assert_eq!(&v, &d[..]);
  Ok(())
}
Commit count: 3

cargo fmt