#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

#11 in #try-from

Download history 581/week @ 2024-01-05 403/week @ 2024-01-12 565/week @ 2024-01-19 741/week @ 2024-01-26 1007/week @ 2024-02-02 1059/week @ 2024-02-09 654/week @ 2024-02-16 1303/week @ 2024-02-23 1276/week @ 2024-03-01 1563/week @ 2024-03-08 1636/week @ 2024-03-15 1274/week @ 2024-03-22 906/week @ 2024-03-29 1151/week @ 2024-04-05 1330/week @ 2024-04-12 1781/week @ 2024-04-19

5,410 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

~165KB