#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

#2888 in Rust patterns

Download history 990/week @ 2024-11-15 735/week @ 2024-11-22 969/week @ 2024-11-29 618/week @ 2024-12-06 782/week @ 2024-12-13 1245/week @ 2024-12-20 704/week @ 2024-12-27 798/week @ 2025-01-03 1601/week @ 2025-01-10 712/week @ 2025-01-17 1596/week @ 2025-01-24 594/week @ 2025-01-31 834/week @ 2025-02-07 2335/week @ 2025-02-14 787/week @ 2025-02-21 1243/week @ 2025-02-28

5,247 downloads per month
Used in 85 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

~135KB