#macros #try-from #string #no-std #patterns

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

#1797 in Rust patterns

Download history 1281/week @ 2023-10-29 1021/week @ 2023-11-05 1359/week @ 2023-11-12 843/week @ 2023-11-19 394/week @ 2023-11-26 290/week @ 2023-12-03 663/week @ 2023-12-10 1033/week @ 2023-12-17 2150/week @ 2023-12-24 525/week @ 2023-12-31 493/week @ 2024-01-07 635/week @ 2024-01-14 555/week @ 2024-01-21 1044/week @ 2024-01-28 837/week @ 2024-02-04 1185/week @ 2024-02-11

3,732 downloads per month
Used in 72 crates (2 directly)

MIT license

15KB
221 lines

Stringly conversions

crates.io 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