Add console_error_panic_hook feature

This commit is contained in:
Andras Schmelczer 2025-06-15 14:53:38 +01:00
parent 2204bdcc41
commit b9a750c681
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 3 additions and 5 deletions

View file

@ -22,9 +22,10 @@ wasm-bindgen = { version = "0.2.99", optional = true }
console_error_panic_hook = { version = "0.1.7", optional = true }
[features]
default = ["serde", "wasm"]
default = []
serde = [ "dep:serde" ]
wasm = [ "dep:wasm-bindgen", "dep:console_error_panic_hook" ]
wasm = [ "dep:wasm-bindgen"]
console_error_panic_hook = [ "dep:console_error_panic_hook" ]
[dev-dependencies]
insta = "1.42.2"