12 releases

0.1.12 Aug 17, 2024
0.1.11 Jun 13, 2024
0.1.10 Apr 29, 2024
0.1.9 Feb 29, 2024
0.1.5 Dec 25, 2023

#6 in #mark-down


Used in 3 crates (2 directly)

MulanPSL-2.0

8KB
109 lines

rany : decode/encode usize to radix any

#[test]
fn test() {
  for num in [u64::MAX, 1234567890, 0, 1] {
    #[cfg(feature = "url")]
    {
      use rany::URL;
      let encode = URL.estr(num);
      let decode = URL.dstr(&encode);
      assert_eq!(num, decode);
    }
    #[cfg(feature = "b255")]
    {
      use rany::{Rany, B255};
      let encode = B255.e(num);
      assert_eq!(num, B255.d(&encode));
    }
  }
}

About

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

Dependencies

~395–560KB