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

#27 in #mark-down

Download history 1/week @ 2024-05-13 19/week @ 2024-05-20 6/week @ 2024-05-27 8/week @ 2024-06-03 146/week @ 2024-06-10 7/week @ 2024-06-17 5/week @ 2024-06-24 84/week @ 2024-07-08 19/week @ 2024-08-05 129/week @ 2024-08-12 24/week @ 2024-08-19

172 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