From 47a0b22503dc024c2f8d509d52d47aa025860202 Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 6 Oct 2022 19:14:17 +0200 Subject: [PATCH] Add Plotters dependency. --- Cargo.lock | 29 +++++++++++++++++++++++++++++ Cargo.toml | 5 +++++ 2 files changed, 34 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index bdd7cbc..a1d884b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1934,6 +1934,34 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "plotters" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2538b639e642295546c50fcd545198c9d64ee2a38620a628724a3b266d5fbf97" +dependencies = [ + "num-traits", + "plotters-backend", + "plotters-svg", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "plotters-backend" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "193228616381fecdc1224c62e96946dfbc73ff4384fba576e052ff8c1bea8142" + +[[package]] +name = "plotters-svg" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9a81d2759aae1dae668f783c308bc5c8ebd191ff4184aaa1b37f65a6ae5a56f" +dependencies = [ + "plotters-backend", +] + [[package]] name = "polling" version = "2.3.0" @@ -3048,6 +3076,7 @@ dependencies = [ "clap 4.0.10", "color-eyre", "dotenvy", + "plotters", "sea-orm", "sea-orm-migration", "surf", diff --git a/Cargo.toml b/Cargo.toml index 07f6787..6a7b1f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,11 @@ tracing = "0.1.36" features = ["derive"] version = "4.0.10" +[dependencies.plotters] +default-features = false +features = ["svg_backend"] +version = "0.3.4" + [dependencies.sea-orm] features = ["macros", "mock", "runtime-async-std-rustls", "sqlx-postgres"] version = "0.9.3"