mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2026-02-19 15:37:43 -05:00
use plotters-iced2 from crates.io
This commit is contained in:
9
Cargo.lock
generated
9
Cargo.lock
generated
@@ -3737,9 +3737,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
|
||||
|
||||
[[package]]
|
||||
name = "plotters-iced"
|
||||
version = "0.12.0"
|
||||
source = "git+https://github.com/Joylei/plotters-iced.git?branch=iced-0.14#3d14d7708a88c29236af5e65dbfac44cae04d79f"
|
||||
name = "plotters-iced2"
|
||||
version = "0.14.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5b1039c8645f00d8a217cefe8ad37f3a8b268a51f7de5eff429b78920ad1a9ea"
|
||||
dependencies = [
|
||||
"iced_graphics",
|
||||
"iced_widget",
|
||||
@@ -4834,7 +4835,7 @@ dependencies = [
|
||||
"phf_codegen",
|
||||
"phf_shared",
|
||||
"plotters",
|
||||
"plotters-iced",
|
||||
"plotters-iced2",
|
||||
"reqwest",
|
||||
"rfd",
|
||||
"rodio",
|
||||
|
||||
@@ -42,7 +42,7 @@ etherparse = "0.19.0"
|
||||
chrono = { version = "0.4.42", default-features = false, features = ["clock"] }
|
||||
plotters = { version = "0.3.7", default-features = false, features = ["area_series", "line_series"] }
|
||||
iced = { version = "0.14.0", features = ["tokio", "svg", "advanced", "lazy", "image"] }
|
||||
plotters-iced = { git = "https://github.com/Joylei/plotters-iced.git", branch = "iced-0.14" }
|
||||
plotters-iced2 = "0.14.0"
|
||||
maxminddb = "0.27.1"
|
||||
confy = "2.0.0"
|
||||
serde = { version = "1.0.228", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
use iced::Element;
|
||||
use iced::widget::Column;
|
||||
use plotters::prelude::*;
|
||||
use plotters_iced::{Chart, ChartBuilder, ChartWidget, DrawingBackend};
|
||||
use plotters_iced2::{Chart, ChartBuilder, ChartWidget, DrawingBackend};
|
||||
|
||||
use crate::chart::types::chart_series::{ChartSeries, sample_spline};
|
||||
use crate::gui::styles::style_constants::CHARTS_LINE_BORDER;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
use iced::{Element, Length, Padding};
|
||||
use plotters::prelude::*;
|
||||
use plotters::series::LineSeries;
|
||||
use plotters_iced::{Chart, ChartBuilder, ChartWidget, DrawingBackend};
|
||||
use plotters_iced2::{Chart, ChartBuilder, ChartWidget, DrawingBackend};
|
||||
use splines::Spline;
|
||||
|
||||
use crate::chart::types::chart_series::{ChartSeries, sample_spline};
|
||||
|
||||
Reference in New Issue
Block a user