Module config
Expand description
Module for structs used to configure various internal service clients.
On wasm32, only the pure-data submodules (vars, errors, idp_provider)
are available. paths, source, and docker_env_file resolve files via
dirs / std::fs and are native-only — wasm consumers must pass config
explicitly at construction time.
Re-exports§
pub use docker_env_file::DockerEnvFile;pub use errors::ConfigError;
Modules§
- docker_
env_ file - errors
- idp_
provider - paths
- Internal module for config-related path handling.
- vars
- This module defines all of the environment variables
used by
cipherstash-client.
Structs§
- Cipher
Stash Config File - Represents the standard configuration file usually named
cipherstash.toml. - Cipher
Stash Config File Builder - Builder (with a terribly long, Java like name) for the
cipherstash.tomlconfiguration file (used by stash CLI). - Cipher
Stash Secret Config File - Represents the
cipherstash.secret.tomlconfiguration file. - Cipher
Stash Secret Config File Builder - Builder (with a terribly long, Java like name) for the
cipherstash.secret.tomlconfiguration file (used by stash CLI). - File
Source - Specifies a configuration source that reads from a file and deserializes it into a type,
T. - User
Config Source - Specifies the format for a user’s configuration file.
Usually located at
~/.cipherstash/config.toml. See the module-level documentation for more details.
Traits§
- Config
Source - Into
File Source - Any config source that can be serialized and deserialized to/from a file.