rtci-crypto 0.5.0

Provider-neutral cryptography interface of a sans-I/O WebRTC stack, with ring and aws-lc-rs providers
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(feature = "crypto-ring")]
#[test]
fn ring_is_the_default_when_enabled() {
    assert_eq!(rtci_crypto::default_provider().unwrap().name(), "ring");
}

#[cfg(all(not(feature = "crypto-ring"), feature = "crypto-aws-lc-rs"))]
#[test]
fn aws_lc_rs_is_the_default_when_it_is_the_only_builtin() {
    assert_eq!(rtci_crypto::default_provider().unwrap().name(), "aws-lc-rs");
}