leyline-http 0.1.5

HTTP client that impersonates Chrome, Firefox, and Safari on the wire: TLS (JA3/JA4), HTTP/2, and HTTP/3 fingerprints
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;

#[test]
fn root_store_is_non_empty() {
    let roots = load_system_roots().expect("open ROOT store");
    assert!(
        !roots.is_empty(),
        "Windows ROOT store returned zero certificates — bridge is broken"
    );
    for (i, der) in roots.iter().enumerate() {
        assert_eq!(der.first(), Some(&0x30), "root #{i} is not DER-encoded");
    }
}