Browse Source

Remove references to unused byteorder crate.

Bruce Mitchener 7 years ago
parent
commit
75024e3dcd
3 changed files with 4 additions and 9 deletions
  1. 0 1
      Cargo.toml
  2. 0 2
      README.md
  3. 4 6
      tests/misc.rs

+ 0 - 1
Cargo.toml

@@ -30,6 +30,5 @@ time = "0.1"
 
 [dev-dependencies]
 
-byteorder = "0.5.3"
 elf = "0.0.10"
 json = "0.11.4"

+ 0 - 2
README.md

@@ -341,7 +341,6 @@ to your `Cargo.toml` file.
 ```toml
 [dependencies]
 rbpf = "0.0.2"
-byteorder = "0.5.3"
 elf = "0.0.10"
 ```
 
@@ -355,7 +354,6 @@ in charger the buffer update so that we only have to provide a reference to the
 packet data for each run of the program.
 
 ```rust
-extern crate byteorder;
 extern crate elf;
 use std::path::PathBuf;
 

+ 4 - 6
tests/misc.rs

@@ -8,17 +8,15 @@
 #![allow(unused_mut)]
 #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
 
-// These crates would be needed to load bytecode from a BPF-compiled object file. Since the crates
-// are not used anywhere else in the library, it is deactivated: we do not want to load and compile
-// them just for the tests. If you want to use them, do not forget to add the following
-// dependencies to your Cargo.toml file:
+// This crate would be needed to load bytecode from a BPF-compiled object file. Since the crate
+// is not used anywhere else in the library, it is deactivated: we do not want to load and compile
+// it just for the tests. If you want to use it, do not forget to add the following
+// dependency to your Cargo.toml file:
 //
 // ---
-// byteorder = "0.5.3"
 // elf = "0.0.10"
 // ---
 //
-// extern crate byteorder;
 // extern crate elf;
 // use std::path::PathBuf;