You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,15 @@
1
1
# 📦 prefix_parse
2
-
A lightweight Rust crate for parsing numeric strings with radix-indicating prefixes like 0x, 0o, and 0b. It provides a trait-based interface for parsing numbers with standard or custom prefixes, supporting any type that implements [num_traits::Num](https://docs.rs/num-traits/latest/num_traits/trait.Num.html). Which includes all base rust numeric types.
2
+
A lightweight crate for parsing numeric strings with radix-indicating prefixes like `0x`, `0o`, and `0b`, or any other custom prefix, supporting any type that implements [num_traits::Num](https://docs.rs/num-traits/latest/num_traits/trait.Num.html). This includes all base rust numeric types.
3
3
4
-
The implementation relies on `[from_str_radix](https://docs.rs/num-traits/0.2.19/num_traits/trait.Num.html#tymethod.from_str_radix)` internally, so the same limitations and capabilities present their apply.
4
+
The implementation relies on [from_str_radix](https://docs.rs/num-traits/0.2.19/num_traits/trait.Num.html#tymethod.from_str_radix) internally, so the same limitations and capabilities present there apply.
Any new type that implements `Num` from `num_traits` will automatically implement this.
46
+
Any new type that implements [Num](https://docs.rs/num-traits/latest/num_traits/trait.Num.html) from [num_traits](https://crates.io/crates/num-traits) will automatically implement this.
0 commit comments