Expand description

This module consists of types and functions for creating configuration of super::CargoLib.

Configuration may be represented by a JSON like:

let config_json = r#"{
    "log_level": "trace",
    "log_use_ansi": false,
    "log_file_enabled": true,
    "log_file_path": "cargo_lib_log",
    "log_file_rotate_directory": ".",
    "evs_url": "some_url",
    "redis_connection_string": "redis://127.0.0.1/0",
    "gql_url": "http://localhost:8000/graphql/"
}"#;

let _  = parse_config(config_json.as_bytes().to_vec()).unwrap();

It can be also provided via type implementing CargoCfgProvider.

Structs

Enums

Traits

Functions