Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for cargo publish #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

bddap
Copy link

@bddap bddap commented Nov 5, 2021

closes #5

@@ -1,6 +1,6 @@
use piston_window::{EventLoop, PistonWindow, WindowSettings};
use plotters::prelude::*;
use plotters_piston::{draw_piston_window, PistonBackend};
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PistonBackend is unused.

@@ -43,7 +43,7 @@ fn main() {
.caption("Real Time CPU Usage", ("sans-serif", 30))
.x_label_area_size(40)
.y_label_area_size(50)
.build_ranged(0..N_DATA_POINTS as u32, 0f32..1f32)?;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build_ranged is now deprecated in favor of build_cartesian_2d

Comment on lines 14 to -20
[dependencies]
plotters-backend = "0.3.0"
plotters-backend = "0.3.2"
piston_window = "0.120.0"

[dev-dependencies]
plotters = {version = "0.3.0", default_features = false, features = ["ttf", "all_series"]}
systemstat = "0.1.5"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated by cargo upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

crates.io publish
1 participant