Expand description
config
Re-exports§
pub use loader::ConfigLoader;
Modules§
- contracts
- Contracts Config
- deployments
- Embedded deployment files Embedded deployment files
- dotenv
- Environment variables
- error
- Config Error
- ipfs
- IPFS Config
- key
- Key Config
- loader
- Config Loader Trait Configuration loader trait
- log
- Log Config
- macros
- Macros
- rpc
- RPC Config
Macros§
- env_
option - macro that sets option field from environment variable
- env_
string - macro that sets field from environment variable
- merge_
address - macro for merging address fields - only merge if other field is non-zero address
- merge_
bool - macro for merging boolean fields - basically an OR
- merge_
numeric - macro for merging numeric fields - only merge if other field is non-zero
- merge_
option - macro for merging option fields - only merge if other field is Some
- merge_
string - macro for merging string fields - only merge if other field is non-empty