Remove running tests in the readme

It is too much of a pain to support stable (which supports `cfg(doctest)`), 1.39.0 (which has it, but as an experimental feature), and 1.34.0 (which doesn't have it at all).

Fixes #135.
This commit is contained in:
Marshall Pierce
2020-06-24 19:07:56 -06:00
parent 14996e0632
commit de23aa3f2b
3 changed files with 2 additions and 8 deletions
+2
View File
@@ -6,6 +6,8 @@ sudo: required
matrix:
include:
- rust: 1.34.0
# cfg(doctest) is experimental in 1.39 but ignored with 1.34.0, and that snuck in when 1.39.0 wasn't tested
- rust: 1.39.0
- rust: stable
- rust: beta
- rust: nightly
-1
View File
@@ -18,7 +18,6 @@ harness = false
[dev-dependencies]
criterion = "0.3"
rand = "0.6.1"
doc-comment = "0.3"
[features]
default = ["std"]
-7
View File
@@ -76,13 +76,6 @@ extern crate alloc;
#[cfg(any(feature = "std", test))]
extern crate std as alloc;
#[cfg(doctest)]
#[macro_use]
extern crate doc_comment;
#[cfg(doctest)]
doctest!("../README.md");
mod chunked_encoder;
pub mod display;
#[cfg(any(feature = "std", test))]