schematic 0.15.0

A layered serde configuration and schema library.
Documentation
1
2
3
4
5
6
7
8
use std::env;
use std::path::PathBuf;

pub fn get_fixture_path(name: &str) -> PathBuf {
    PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap())
        .join("tests/__fixtures__")
        .join(name)
}