mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-03 07:46:24 +00:00
Remove __doctest
feature
This commit is contained in:
parent
77d0bec82d
commit
2960f2c454
@ -27,7 +27,6 @@ oldtime = []
|
|||||||
wasmbind = ["wasm-bindgen", "js-sys"]
|
wasmbind = ["wasm-bindgen", "js-sys"]
|
||||||
unstable-locales = ["pure-rust-locales", "alloc"]
|
unstable-locales = ["pure-rust-locales", "alloc"]
|
||||||
__internal_bench = []
|
__internal_bench = []
|
||||||
__doctest = []
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
num-traits = { version = "0.2", default-features = false }
|
num-traits = { version = "0.2", default-features = false }
|
||||||
@ -58,7 +57,6 @@ android-tzdata = { version = "0.1.1", optional = true }
|
|||||||
serde_json = { version = "1" }
|
serde_json = { version = "1" }
|
||||||
serde_derive = { version = "1", default-features = false }
|
serde_derive = { version = "1", default-features = false }
|
||||||
bincode = { version = "1.3.0" }
|
bincode = { version = "1.3.0" }
|
||||||
doc-comment = { version = "0.3" }
|
|
||||||
|
|
||||||
[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependencies]
|
[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependencies]
|
||||||
wasm-bindgen-test = "0.3"
|
wasm-bindgen-test = "0.3"
|
||||||
|
@ -481,14 +481,6 @@ pub use duration::OutOfRangeError;
|
|||||||
|
|
||||||
use core::fmt;
|
use core::fmt;
|
||||||
|
|
||||||
#[cfg(feature = "__doctest")]
|
|
||||||
#[cfg_attr(feature = "__doctest", cfg(doctest))]
|
|
||||||
use doc_comment::doctest;
|
|
||||||
|
|
||||||
#[cfg(feature = "__doctest")]
|
|
||||||
#[cfg_attr(feature = "__doctest", cfg(doctest))]
|
|
||||||
doctest!("../README.md");
|
|
||||||
|
|
||||||
/// A convenience module appropriate for glob imports (`use chrono::prelude::*;`).
|
/// A convenience module appropriate for glob imports (`use chrono::prelude::*;`).
|
||||||
pub mod prelude {
|
pub mod prelude {
|
||||||
#[doc(no_inline)]
|
#[doc(no_inline)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user