mirror of
https://github.com/eth-act/ere.git
synced 2026-02-19 11:54:42 -05:00
chore: add auto_impl
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -9531,6 +9531,7 @@ name = "zkvm-interface"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"auto_impl",
|
||||
"bincode",
|
||||
"indexmap 2.9.0",
|
||||
"serde",
|
||||
|
||||
@@ -11,6 +11,7 @@ serde = { version = "1.0", features = ["derive"] }
|
||||
bincode = "1.3"
|
||||
indexmap = { version = "2.9.0", features = ["serde"] }
|
||||
thiserror = "2"
|
||||
auto_impl = "1.0"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -24,6 +24,7 @@ pub enum ProverResourceType {
|
||||
}
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
#[auto_impl::auto_impl(&, Arc, Box)]
|
||||
/// zkVM trait to abstract away the differences between each zkVM
|
||||
pub trait zkVM {
|
||||
type Error: std::error::Error + Send + Sync + 'static;
|
||||
|
||||
Reference in New Issue
Block a user