#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

#524 in Rust patterns

Download history 453/week @ 2021-01-07 1728/week @ 2021-01-14 1807/week @ 2021-01-21 578/week @ 2021-01-28 427/week @ 2021-02-04 1048/week @ 2021-02-11 764/week @ 2021-02-18 510/week @ 2021-02-25 850/week @ 2021-03-04 566/week @ 2021-03-11 433/week @ 2021-03-18 577/week @ 2021-03-25 59/week @ 2021-04-01 320/week @ 2021-04-08 63/week @ 2021-04-15 28/week @ 2021-04-22

3,285 downloads per month
Used in 25 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

~165KB