lamarge 0.6.0

Client for the LaMarge API: sign-in, takes, transfers, withdrawals and market making, each request checked before it is signed.
Documentation
1
2
3
4
5
6
7
8
9
use super::*;

#[test]
fn configs_set_alpn_and_leave_the_process_default_alone() {
    let (http, ws) = configs().unwrap();
    assert_eq!(http.alpn_protocols, [b"h2".to_vec(), b"http/1.1".to_vec()]);
    assert_eq!(ws.alpn_protocols, [b"http/1.1".to_vec()]);
    assert!(CryptoProvider::get_default().is_none());
}