Compare commits
4 commits
f2952ce449
...
625da21941
Author | SHA1 | Date | |
---|---|---|---|
625da21941 | |||
8b17b6d824 | |||
e5defe0f61 | |||
0f83f29c85 |
4 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,10 @@ either = { version = "1.13.0", default-features = false }
|
|||
cacache-storage = ["dep:cacache"]
|
||||
simple-generator = ["dep:captcha"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.9"
|
||||
tokio = { version = "1.35", features = ["macros", "rt-multi-thread"] }
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#[cfg(feature = "simple-generator")]
|
||||
mod simple_generator;
|
||||
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "simple-generator")))]
|
||||
#[cfg(feature = "simple-generator")]
|
||||
pub use simple_generator::*;
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#![deny(warnings)]
|
||||
#![deny(missing_docs)]
|
||||
#![deny(clippy::print_stdout)]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
|
||||
mod captcha_gen;
|
||||
mod finder;
|
||||
|
|
|
@ -15,6 +15,7 @@ use std::{sync::Arc, time::Duration};
|
|||
mod cacache_storage;
|
||||
mod memory_storage;
|
||||
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "cacache-storage")))]
|
||||
#[cfg(feature = "cacache-storage")]
|
||||
pub use cacache_storage::*;
|
||||
pub use memory_storage::*;
|
||||
|
|
Loading…
Reference in a new issue