瀏覽代碼

Remove references to unused byteorder crate.

Bruce Mitchener 7 年之前
父節點
當前提交
75024e3dcd
共有 3 個文件被更改,包括 4 次插入9 次删除
  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]
 [dev-dependencies]
 
 
-byteorder = "0.5.3"
 elf = "0.0.10"
 elf = "0.0.10"
 json = "0.11.4"
 json = "0.11.4"

+ 0 - 2
README.md

@@ -341,7 +341,6 @@ to your `Cargo.toml` file.
 ```toml
 ```toml
 [dependencies]
 [dependencies]
 rbpf = "0.0.2"
 rbpf = "0.0.2"
-byteorder = "0.5.3"
 elf = "0.0.10"
 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.
 packet data for each run of the program.
 
 
 ```rust
 ```rust
-extern crate byteorder;
 extern crate elf;
 extern crate elf;
 use std::path::PathBuf;
 use std::path::PathBuf;
 
 

+ 4 - 6
tests/misc.rs

@@ -8,17 +8,15 @@
 #![allow(unused_mut)]
 #![allow(unused_mut)]
 #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
 #![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"
 // elf = "0.0.10"
 // ---
 // ---
 //
 //
-// extern crate byteorder;
 // extern crate elf;
 // extern crate elf;
 // use std::path::PathBuf;
 // use std::path::PathBuf;