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

Download history 5/week @ 2024-06-21 2/week @ 2024-06-28 71/week @ 2024-07-05 13/week @ 2024-07-12 13/week @ 2024-08-02 8/week @ 2024-08-09 146/week @ 2024-08-16 9/week @ 2024-08-23 1/week @ 2024-08-30 2/week @ 2024-09-06 20/week @ 2024-09-13 22/week @ 2024-09-20 17/week @ 2024-09-27 4/week @ 2024-10-04

63 downloads per month
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

~400–560KB