1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
Index: gif/Cargo.toml
===================================================================
--- gif.orig/Cargo.toml
+++ gif/Cargo.toml
@@ -26,23 +26,12 @@ documentation = "https://docs.rs/gif"
readme = "README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/image-rs/image-gif"
+autobenches = false
+autotests = false
[lib]
bench = false
-[[bench]]
-name = "decode"
-harness = false
-required-features = ["std"]
-
-[[bench]]
-name = "rgb_frame"
-harness = false
-required-features = [
- "std",
- "color_quant",
-]
-
[dependencies.color_quant]
version = "1.1"
optional = true
Index: gif/README.md
===================================================================
--- gif.orig/README.md
+++ gif/README.md
@@ -13,7 +13,7 @@ The high level interface consists of the
### Decoding GIF files
-```rust
+```no_run
// Open the file
use std::fs::File;
let input = File::open("tests/samples/sample_1.gif").unwrap();
Index: gif/src/lib.rs
===================================================================
--- gif.orig/src/lib.rs
+++ gif/src/lib.rs
@@ -14,7 +14,7 @@
//!
//! ### Decoding GIF files
//!
-//! ```rust
+//! ```no_run
//! // Open the file
//! use std::fs::File;
//! let mut decoder = gif::DecodeOptions::new();
@@ -56,7 +56,7 @@
//! 0, 0, 0, 1, 1, 0,
//! 0, 0, 0, 0, 0, 0,
//! ]];
-//! let mut image = File::create("tests/samples/beacon.gif").unwrap();;
+//! let mut image = File::create("target/beacon.gif").unwrap();;
//! let mut encoder = Encoder::new(&mut image, width, height, color_map).unwrap();
//! encoder.set_repeat(Repeat::Infinite).unwrap();
//! for state in &beacon_states {
|