| Crates.io | mithril-aggregator-client |
| lib.rs | mithril-aggregator-client |
| version | 0.1.5 |
| created_at | 2025-12-05 10:25:05.39417+00 |
| updated_at | 2025-12-05 10:25:05.39417+00 |
| description | Client to request data from a Mithril Aggregator |
| homepage | https://mithril.network |
| repository | https://github.com/input-output-hk/mithril/ |
| max_upload_size | |
| id | 1967987 |
| size | 210,050 |
This crate provides a client to request data from a Mithril Aggregator over http.
Reqwest is used as the backend for the http client. Its default features are disabled to let the user control which features to enable.
To enable a reqwest feature, add the following to your Cargo.toml:
reqwest = { version = "x.yy", features = ["feature_a", "feature_b"] }
for example, if reqwest is a workspace dependency, and you want to enable the default feature and the compression features:
reqwest = { workspace = true, features = [
"default",
"gzip",
"zstd",
"deflate",
"brotli"
] }
You should add the reqwest dependency even if you don't use it directly in your code.
If you are using cargo machete to track unused dependencies, it will raise a warning.
To avoid this warning, add the following to your Cargo.toml:
[package.metadata.cargo-machete]
# reqwest: for features configuration, indirect dependency via `mithril-aggregator-client`
ignored = ["reqwest"]