Add console_error_panic_hook feature
This commit is contained in:
parent
2204bdcc41
commit
b9a750c681
2 changed files with 3 additions and 5 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -3,6 +3,3 @@
|
|||
|
||||
# Rust build folder
|
||||
target
|
||||
|
||||
*.log
|
||||
*.sqlx
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue