#crypto #pair #parse

crypto-pair

Parse exchange-specific symbols to unified format

39 stable releases

Uses new Rust 2021

new 2.3.0 Aug 5, 2022
2.2.12 Jul 8, 2022
2.2.10 Jun 24, 2022
2.2.2 Mar 27, 2022
1.0.4 Dec 29, 2020

#424 in Cryptography

Download history 177/week @ 2022-04-22 319/week @ 2022-04-29 457/week @ 2022-05-06 583/week @ 2022-05-13 182/week @ 2022-05-20 390/week @ 2022-05-27 418/week @ 2022-06-03 215/week @ 2022-06-10 130/week @ 2022-06-17 168/week @ 2022-06-24 293/week @ 2022-07-01 644/week @ 2022-07-08 590/week @ 2022-07-15 312/week @ 2022-07-22 706/week @ 2022-07-29 380/week @ 2022-08-05

2,090 downloads per month
Used in 6 crates (5 directly)

Apache-2.0

48KB
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

~3–12MB
~249K SLoC