#reuse #shorthand #traitw

abbreviation-trait

This crate provides the Abbreviation and TryFromAbbreviation traits, common in the north-america, europe, south-america, etc crates

3 releases (breaking)

Uses new Rust 2024

0.3.0 Feb 2, 2025
0.2.0 Feb 2, 2025
0.1.0 Dec 19, 2024

#19 in #shorthand

Download history 127/week @ 2024-12-15 14/week @ 2024-12-22 9/week @ 2025-01-05 6/week @ 2025-01-12 5/week @ 2025-01-19 10/week @ 2025-01-26 290/week @ 2025-02-02 18/week @ 2025-02-09 53/week @ 2025-02-16 17/week @ 2025-02-23 20/week @ 2025-03-02

117 downloads per month
Used in 9 crates

MIT license

3KB

This crate provides the Abbreviation trait, common in the north-america, europe, south-america, etc crates

pub trait Abbreviation {
    fn abbreviation(&self) -> &'static str;
}

No runtime deps