Crates.io | papyrus_config |
lib.rs | papyrus_config |
version | 0.4.0-rc.0 |
source | src |
created_at | 2023-07-26 09:10:31.502821 |
updated_at | 2024-07-15 09:22:26.143032 |
description | A library for handling node configuration. |
homepage | |
repository | https://github.com/starkware-libs/papyrus/ |
max_upload_size | |
id | 926303 |
size | 72,252 |
papyrus-config is a flexible and powerful layered configuration system designed specifically for Papyrus, a Starknet node. This system allows you to easily manage configurations for your Papyrus node by leveraging various sources and providing additional helpful features.
Supports multiple configuration sources in ascending order of overriding priority:
Support for Nested Configuration Components: Organize your configurations into nested components, making it easy to manage complex settings for different aspects of the application.
Usage of Pointers: Use pointers to merge parameters that are common to multiple components. This capability helps in streamlining configurations and avoiding duplication of settings.
Automatically-Generated Command Line Parser: To simplify the process of handling command-line arguments, the system automatically generates a command-line parser. This means you don't have to write complex argument parsing code; it's ready to use out-of-the-box.
Automatically-Generated Reference Configuration File: Makes it easier for users by generating a reference configuration file. This file serves as a template that highlights all available configuration options and their default values, enabling users to customize their configurations efficiently.
Developer reference documentation is available at https://docs.rs/papyrus_config/. The documentation on this site is updated periodically.
To view the most up-to-date documentation, enter the following command at the root directory of the papyrus
project:
cargo doc --open -p papyrus_config