Skip to content

Commit b7c55e3

Browse files
committed
chore: dep and lints
1 parent f2d340e commit b7c55e3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "trevm"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
rust-version = "1.79.0"
55
edition = "2021"
66
authors = ["init4"]
@@ -34,7 +34,7 @@ alloy-rpc-types-eth = "0.2.0"
3434
alloy-sol-types = "0.7.7"
3535
revm = { version = "12.0.0", default-features = false, features = ["std"] }
3636
thiserror = "1.0.63"
37-
zenith-types = "0.2.2"
37+
zenith-types = "0.3"
3838

3939
[dev-dependencies]
4040
revm = { version = "12.0.0", features = ["test-utils", "serde-json", "std", "alloydb"] }
@@ -49,10 +49,8 @@ alloy-signer-local = { version = "0.1", default-features = false }
4949

5050
alloy-rlp = { version = "0.3", default-features = false }
5151

52-
5352
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
5453

55-
5654
# misc
5755
eyre = "0.6"
5856

src/fill/noop.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ use revm::primitives::{BlockEnv, CfgEnv};
33
use crate::{Block, Cfg};
44

55
/// A no-op block filler.
6-
#[derive(Debug)]
6+
#[derive(Debug, Clone, Copy)]
77
pub struct NoopBlock;
88

99
impl Block for NoopBlock {
1010
fn fill_block_env(&self, _: &mut BlockEnv) {}
1111
}
1212

1313
/// A no-op configuration filler.
14-
#[derive(Debug)]
14+
#[derive(Debug, Clone, Copy)]
1515
pub struct NoopCfg;
1616

1717
impl Cfg for NoopCfg {

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@
394394
)]
395395
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
396396
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
397+
#![deny(unused_must_use, rust_2018_idioms)]
398+
#![warn(missing_docs, missing_copy_implementations, missing_debug_implementations)]
397399

398400
mod driver;
399401
pub use driver::{

src/states.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pub(crate) mod sealed {
8282
/// A state for the [`Trevm`].
8383
///
8484
/// [`Trevm`]: crate::Trevm
85-
#[derive(Debug)]
85+
#[derive(Debug, Copy, Clone)]
8686
pub struct $name { _private: () }
8787

8888
impl $name {

0 commit comments

Comments
 (0)