Crate zng_ext_config

source
Expand description

Config service and sources.

§Crate

This crate is part of the zng project.

§Cargo Features

This crate provides 3 feature flags, 0 enabled by default.

§"yaml"

Enable YAML support.

§"toml"

Enable TOML support.

§"ron"

Enable RON support.

Modules§

  • Settings are the config the user can directly edit, this module implements a basic settings data model.

Structs§

  • Represents the app main config.
  • Application extension that provides mouse events and service.
  • Map of configs already bound to a variable.
  • Represents a copy-on-write config source that wraps two other sources, a read-write config and a read-only fallback config.
  • Memory only config.
  • Represents any entry type in a config.
  • Config wrapper that only provides read-only variables from the inner config.
  • Represents a config source that can swap its backing config source without disconnecting any bound keys.
  • Represents multiple config sources that are matched by key.
  • Config source that auto syncs with file.

Enums§

Traits§

Type Aliases§

  • Unique key to a config entry.
  • Represents a config source that synchronizes with a JSON file.
  • Represents a config source that synchronizes with a RON file.
  • Represents a config source that synchronizes with a TOML file.
  • Represents a config source that synchronizes with a YAML file.