eure-json 0.1.9

JSON conversion support for Eure format
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use eure_schema::interop::VariantRepr;

#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct Config {
    pub variant_repr: VariantRepr,
}

impl Default for Config {
    fn default() -> Self {
        Self {
            variant_repr: VariantRepr::External,
        }
    }
}