diff --git a/Cargo.toml b/Cargo.toml index 4713e7ff..6042c59b 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,8 +39,8 @@ usvg = { version = "0.22.0", default-features = false, features = [ ] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -napi = { version = "2.2.0", features = ["serde-json"] } -napi-derive = "2.2.0" +napi = { version = "2.4.1", features = ["serde-json"] } +napi-derive = "2.4.0" usvg = { version = "0.22.0", default-features = false, features = [ "export", "filter", @@ -48,7 +48,7 @@ usvg = { version = "0.22.0", default-features = false, features = [ ] } [build-dependencies] -napi-build = "1" +napi-build = "2" [profile.release] lto = true # Enable Link Time Optimization diff --git a/rust-toolchain b/rust-toolchain index 9ba77d21..d6298cbf 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2022-04-20 +nightly-2022-04-13