Skip to content

Commit

Permalink
Update and remove unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored and gz committed Mar 3, 2022
1 parent 8cb82f0 commit 6a568ee
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 13 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ license = "MIT"
edition = '2018'

[dependencies.x86]
version = "0.45.0"
version = "0.47.0"
features = ["performance-counter"]

[dependencies]
bitflags = "1.2.1"
libc = "0.2"
mmap = "0.1.*"
byteorder = "1.3.4"
nom = "4.2.3"
phf = "0.9.0"

[[bin]]
name = "perfcnt-list"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly
stable
3 changes: 0 additions & 3 deletions src/bin/list.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
extern crate perfcnt;
extern crate x86;

use x86::perfcnt::intel::{events, EventDescription};

fn print_counter(id: &str, info: &EventDescription) {
Expand Down
2 changes: 0 additions & 2 deletions src/bin/parse.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
extern crate perfcnt;

use std::env;
use std::fs::File;
use std::io::prelude::*;
Expand Down
4 changes: 0 additions & 4 deletions src/bin/stats.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
extern crate perfcnt;
extern crate phf;
extern crate x86;

use x86::perfcnt::intel::events;

fn print_stats(year: &'static str, name: &'static str, size: usize) {
Expand Down

0 comments on commit 6a568ee

Please sign in to comment.