#string #pattern #macro #try-from #no-std

no-std stringly_conversions

A crate helping to convert to/from various representations of strings

1 unstable release

0.1.1 Oct 4, 2020
0.1.0 Oct 4, 2020

#2860 in Rust patterns

Download history 322/week @ 2023-12-06 1142/week @ 2023-12-13 1461/week @ 2023-12-20 928/week @ 2023-12-27 649/week @ 2024-01-03 317/week @ 2024-01-10 703/week @ 2024-01-17 627/week @ 2024-01-24 1040/week @ 2024-01-31 730/week @ 2024-02-07 936/week @ 2024-02-14 1253/week @ 2024-02-21 922/week @ 2024-02-28 1603/week @ 2024-03-06 1693/week @ 2024-03-13 947/week @ 2024-03-20

5,582 downloads per month
Used in 73 crates (2 directly)

MIT license

15KB
221 lines

Stringly conversions

Build Tests Lints codecov MIT licensed

A crate helping to convert to/from various representations of strings.

Features

  • no_std with an optional feature to enable alloc
  • Macros for implementing TryFrom<Stringly> for YourType where YourType: FromStr.
  • Macros for implementing From<YourType> for Stringly using Display

lib.rs:

A crate helping to convert to/from various representations of strings.

This crate is no_std with an optional feature to enable alloc.

Dependencies

~155KB