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

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

#818 in Rust patterns

Download history 2935/week @ 2022-06-08 3967/week @ 2022-06-15 2227/week @ 2022-06-22 3123/week @ 2022-06-29 1798/week @ 2022-07-06 1486/week @ 2022-07-13 704/week @ 2022-07-20 1086/week @ 2022-07-27 477/week @ 2022-08-03 798/week @ 2022-08-10 868/week @ 2022-08-17 789/week @ 2022-08-24 721/week @ 2022-08-31 579/week @ 2022-09-07 501/week @ 2022-09-14 297/week @ 2022-09-21

2,218 downloads per month
Used in 58 crates (2 directly)

MIT license

14KB
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

~140KB