Cargo Features
[dependencies]
sp1-verifier = { version = "4.0.1", default-features = false, features = ["std", "ark"] }
- default = std
-
The
std
feature is set by default wheneversp1-verifier
is added without
somewhere in the dependency tree.default-features = false - std default
-
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())]. - ark = ark-bn254, ark-ec, ark-ff, ark-groth16, ark-serialize
-
Affects
groth16::ark_converter
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- ark-bn254 ark?
-
Enables ark-bn254 ^0.4.0
arkworks
- ark-serialize ark?
-
Enables ark-serialize ^0.4.2
- ark-ff ark?
-
Enables ark-ff ^0.4.2
- ark-groth16 ark?
-
Enables ark-groth16 ^0.4.0
- ark-ec ark?
-
Enables ark-ec ^0.4.0