#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

#2872 in Rust patterns

Download history 738/week @ 2024-07-21 1701/week @ 2024-07-28 1283/week @ 2024-08-04 1333/week @ 2024-08-11 1658/week @ 2024-08-18 1078/week @ 2024-08-25 1658/week @ 2024-09-01 639/week @ 2024-09-08 1714/week @ 2024-09-15 629/week @ 2024-09-22 434/week @ 2024-09-29 772/week @ 2024-10-06 2115/week @ 2024-10-13 581/week @ 2024-10-20 988/week @ 2024-10-27 1164/week @ 2024-11-03

5,223 downloads per month
Used in 77 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

~145KB