#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

#2895 in Rust patterns

Download history 1693/week @ 2024-03-13 1269/week @ 2024-03-20 1238/week @ 2024-03-27 851/week @ 2024-04-03 1033/week @ 2024-04-10 2335/week @ 2024-04-17 572/week @ 2024-04-24 1038/week @ 2024-05-01 331/week @ 2024-05-08 427/week @ 2024-05-15 1288/week @ 2024-05-22 436/week @ 2024-05-29 865/week @ 2024-06-05 767/week @ 2024-06-12 664/week @ 2024-06-19 957/week @ 2024-06-26

3,280 downloads per month
Used in 74 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

~155KB