From 46008fac0af7c51fb9ea71e8776d00a208048d1d Mon Sep 17 00:00:00 2001 From: HATA Date: Wed, 27 Jul 2022 10:44:27 +0800 Subject: [PATCH] Update Cargo.toml fixed dependencies and now demo runs --- Cargo.toml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 769da67..f936cad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,13 +8,11 @@ edition = "2018" crate-type=["cdylib"] [dependencies] -plotters = {git = "https://github.com/plotters-rs/plotters"} -wasm-bindgen = "0.2.62" +plotters = "^0.3.2" +wasm-bindgen = "0.2.78" wee_alloc = "0.4.5" web-sys = { version = "0.3.39", features = ["HtmlCanvasElement"] } - -[dependencies.plotters-canvas] -git = "https://github.com/plotters-rs/plotters-canvas" +plotters-canvas = "^0.3.0" [profile.release] lto = true