| Crates.io | zksync_config |
| lib.rs | zksync_config |
| version | 29.4.0-non-semver-compat |
| created_at | 2024-07-12 11:00:40.879976+00 |
| updated_at | 2025-09-24 17:49:05.142887+00 |
| description | ZKsync core configuration |
| homepage | https://zksync.io/ |
| repository | https://github.com/matter-labs/zksync-era |
| max_upload_size | |
| id | 1300570 |
| size | 421,626 |
This crate provides configuration parameters for ZKsync nodes. Internally, it uses the smart-config library for
layered configuration with rich built-in metadata and some other nice features.
WellKnown] in terms of smart-config). Avoid params with a complex internal structure; consider splitting such
params into multiple params.Vec, HashSet or HashMap where it's warranted. There are formats like NamedEntries
(for deserialization from either an object, or an array of key–value pairs) for more complex cases.Duration / ByteSize and
the default deserializer; avoid creating params with a specific unit. (There are legacy params that do not follow this
recommendation; their non-default deserialization will be deprecated and eventually removed.)test_complete in such tests to ensure full param coverage.