xml-sec 0.2.0

Pure Rust XML Security: XMLDSig, XMLEnc, C14N. Drop-in replacement for libxmlsec1.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::{Clock, SystemClock};

#[test]
fn system_clock_remains_available_after_threads_start() {
    // Unix local-offset discovery may become indeterminate once the process is multithreaded;
    // compatibility mode must still provide an operation time.
    std::thread::spawn(|| SystemClock.now_local())
        .join()
        .expect("clock thread does not panic")
        .expect("system clock falls back to UTC when local offset is unavailable");
}