Skip to content

Commit

Permalink
fee: gate penumbra-proto/rpc on component feature (#4114)
Browse files Browse the repository at this point in the history
After deploying testnet 70, we discovered that an OS specific crate
popped up in the dependency tree of the `wasm` crate (used by the web
extension). We typically use the `component` feature to prevent this
from happening (e.g. mio relies on a variety of platform specific
syscalls that simply don't exist in a wasm environment) but one slipped
through.
  • Loading branch information
erwanor authored Mar 27, 2024
1 parent aed1f8f commit 0505885
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/core/component/fee/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ component = [
"cnidarium",
"penumbra-proto/cnidarium",
"tonic",
"penumbra-proto/rpc"
]
default = ["std", "component"]
std = ["ark-ff/std"]
Expand All @@ -27,7 +28,7 @@ decaf377-rdsa = {workspace = true}
metrics = {workspace = true}
penumbra-asset = {workspace = true, default-features = false}
penumbra-num = {workspace = true, default-features = false}
penumbra-proto = {workspace = true, features = ["rpc"], default-features = false}
penumbra-proto = {workspace = true, default-features = false}
rand = {workspace = true}
rand_core = {workspace = true, features = ["getrandom"]}
serde = {workspace = true, features = ["derive"]}
Expand Down

0 comments on commit 0505885

Please sign in to comment.