Skip to content

Commit

Permalink
Reduce dependency on seed
Browse files Browse the repository at this point in the history
  • Loading branch information
treiher committed Nov 3, 2024
1 parent c15d492 commit b14642e
Show file tree
Hide file tree
Showing 5 changed files with 190 additions and 81 deletions.
55 changes: 55 additions & 0 deletions frontend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions frontend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ edition = "2021"

[dependencies]
chrono = { version = "0.4.20", default-features = false, features = ["serde", "wasmbind"] }
gloo-console = "0.3.0"
gloo-net = { version = "0.6.0", default-features = false, features = ["http", "json"] }
gloo-storage = "0.3.0"
plotters = { version = "0.3.2", default-features = false, features = ["svg_backend", "datetime", "line_series", "histogram", "point_series"] }
seed = "0.8"
Expand Down
5 changes: 1 addition & 4 deletions frontend/src/ui/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ use chrono::{prelude::*, Duration};
use plotters::prelude::*;
use seed::{prelude::*, *};

use crate::{
domain,
ui::data,
};
use crate::{domain, ui::data};

pub const ENTER_KEY: u32 = 13;

Expand Down
Loading

0 comments on commit b14642e

Please sign in to comment.