Cargo Features
Uniswap-Lens has no features set by default.
[dependencies]
uniswap-lens = { version = "0.9.0", features = ["std"] }
- std
-
Enables std of alloy and thiserror
thiserror:
Std feature enables support for formatting std::path::{Path, PathBuf}
conveniently in an error message.
#[derive(Error, Debug)]
#[error("failed to create configuration file {path}")]
pub struct MyError {
pub path: PathBuf,
pub source: std::io::Error,
}
Without std, this would need to be written #[error("... {}", path.display())].
Uniswap-Lens has 1 feature without comment.