feat: support no-std for reth-codecs (#5756)

This commit is contained in:
yjh
2023-12-18 16:07:25 +08:00
committed by GitHub
parent fcdd31a6f4
commit bb6f6f43c2
2 changed files with 13 additions and 5 deletions

View File

@ -24,7 +24,11 @@ proptest.workspace = true
proptest-derive.workspace = true
[features]
default = ["compact"]
default = ["compact", "std"]
std = [
"alloy-primitives/std",
"bytes/std",
]
compact = ["codecs-derive/compact"]
scale = ["codecs-derive/scale"]
postcard = ["codecs-derive/postcard"]