Skip to content

Commit

Permalink
Merge pull request #713 from epage/readme
Browse files Browse the repository at this point in the history
test: Drop doc-comment dep
  • Loading branch information
epage authored Jan 24, 2025
2 parents 8876c0a + 22e694a commit bfbf94e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
7 changes: 0 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ memchr = { version = "2.5", optional = true, default-features = false }
terminal_size = { version = "0.4.0", optional = true }

[dev-dependencies]
doc-comment = "0.3"
proptest = "1.2.0"
criterion = "0.5.1"
lexopt = "0.3.0"
Expand Down
5 changes: 2 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@
#[cfg_attr(test, macro_use)]
#[allow(unused_extern_crates)]
extern crate alloc;
#[cfg(doctest)]
extern crate doc_comment;

#[doc = include_str!("../README.md")]
#[cfg(doctest)]
doc_comment::doctest!("../README.md");
pub struct ReadmeDoctests;

/// Lib module to re-export everything needed from `std` or `core`/`alloc`. This is how `serde` does
/// it, albeit there it is not public.
Expand Down

0 comments on commit bfbf94e

Please sign in to comment.