Skip to content

Commit

Permalink
feat: Disable signature verification when not needed
Browse files Browse the repository at this point in the history
`ring` is failing to compile for wasm targets.
Only the signature verification requires `ring` and is only useful
when either `hyper` or `axum` features are enabled.
Thus disabling signature verification and thus `ring` compilation
when neither `hyper` or `axum` are enabled.
  • Loading branch information
dax committed Feb 15, 2024
1 parent 18317c7 commit 57349e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ pub mod errors;
pub mod listener;
mod ratectl;
mod scroller;
#[cfg(any(feature = "hyper", feature = "axum"))]
pub mod signature_verifier;
pub mod socket_mode;

Expand Down

0 comments on commit 57349e6

Please sign in to comment.