Cargo.toml: define default build target

This commit is contained in:
Peter Cai 2020-04-11 10:11:58 +08:00
parent 23d899dd0e
commit f36bfb7afa
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook", "wee_alloc"]
[build]
target = "wasm32-unknown-unknown"
[build-dependencies]
serde = "1.0"
serde_json = "1.0"