sweden 0.2.0

Security-first no_std facade for typed Swedish public APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![no_std]
#![forbid(unsafe_code)]
#![doc = "Facade for independently publishable Sweden crates."]

/// Shared transport-neutral contracts.
pub use sweden_core as core;

#[cfg(test)]
mod tests {
    #[test]
    fn facade_always_exposes_core() {
        let id = crate::core::SourceId::new("sweden");
        assert!(id.is_ok());
        if let Ok(value) = id {
            assert_eq!(value.as_str(), "sweden");
        }
    }
}