59 stable releases

2.3.20 Mar 10, 2024
2.3.19 Dec 24, 2023
2.3.18 Nov 27, 2023
2.3.15 May 6, 2023
1.0.4 Dec 29, 2020

#15 in #normalize

Download history 100/week @ 2024-07-19 151/week @ 2024-07-26 96/week @ 2024-08-02 86/week @ 2024-08-09 56/week @ 2024-08-16 65/week @ 2024-08-23 71/week @ 2024-08-30 75/week @ 2024-09-06 66/week @ 2024-09-13 66/week @ 2024-09-20 72/week @ 2024-09-27 59/week @ 2024-10-04 82/week @ 2024-10-11 106/week @ 2024-10-18 74/week @ 2024-10-25 75/week @ 2024-11-01

345 downloads per month
Used in 6 crates (5 directly)

Apache-2.0

46KB
1K SLoC

crypto-pair

Parse exchange-specific symbols to unified format.

Usage

use crypto_pair::normalize_pair;

fn main() {
    assert_eq!(Some("BTC/USD".to_string()), normalize_pair("XBTH21", "BitMEX"));
}

Dependencies

~4–16MB
~218K SLoC