agplatform 0.1.0

Platform providing env, fs, request and process infrastructure for production and testing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use agplatform::Platform;

#[cfg(feature = "testing")]
mod test_platform_test;

#[test]
fn platform_should_expose_public_api() {
    agplatform::Error::fs("fs error");
    agplatform::Error::env("env error");

    let mut platform = agplatform::platform();
    platform.env();
    platform.env_mut();
    platform.fs();
    platform.fs_mut();
}