Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Nov 26, 2023
1 parent 2abe518 commit 0f781e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "boyer-moore-magiclen"
version = "0.2.18"
version = "0.2.19"
authors = ["Magic Len <len@magiclen.org>"]
edition = "2021"
rust-version = "1.61"
Expand Down Expand Up @@ -31,3 +31,7 @@ harness = false
[[bench]]
name = "normal_text_search"
harness = false

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ assert_eq!(vec![7, 4, 1], bmb.rfind_full_all_in("coocoocoocoo"));
*/

#![cfg_attr(not(feature = "character"), no_std)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

#[macro_use]
extern crate alloc;
Expand Down

0 comments on commit 0f781e5

Please sign in to comment.