Update cargo-run-wasm (#3057)

This commit is contained in:
Lucas Kent 2022-10-09 13:51:01 +11:00 committed by GitHub
parent 3cd93983b2
commit 81dc1e24eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

8
Cargo.lock generated
View File

@ -216,9 +216,9 @@ dependencies = [
[[package]]
name = "cargo-run-wasm"
version = "0.1.1"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "504f8305a43320764724b4faddba9acc3ac94750049e8265ae3f6c338d69fdaa"
checksum = "611b811fad83eebfcdcf47ae1e425c82d1249608bc571d537448d706be08cf27"
dependencies = [
"devserver_lib",
"pico-args",
@ -1358,9 +1358,9 @@ dependencies = [
[[package]]
name = "pico-args"
version = "0.4.2"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db8bcd96cb740d03149cbad5518db9fd87126a10ab519c011893b1754134c468"
checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315"
[[package]]
name = "pin-project-lite"

View File

@ -6,4 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cargo-run-wasm = "0.1.1"
cargo-run-wasm = "0.2.0"

View File

@ -1,3 +1,3 @@
fn main() {
cargo_run_wasm::run_wasm();
cargo_run_wasm::run_wasm_with_css("body { margin: 0px; }");
}