diff --git a/sasl/src/lib.rs b/sasl/src/lib.rs index 9d3f006d..55400950 100644 --- a/sasl/src/lib.rs +++ b/sasl/src/lib.rs @@ -25,7 +25,8 @@ //! //! ## More complex usage //! -//! ```rust,ignore +#![cfg_attr(feature = "scram", doc = "```rust\n")] +#![cfg_attr(not(feature = "scram"), doc = "```rust,ignore\n")] //! #[macro_use] extern crate sasl; //! //! use sasl::server::{Validator, Provider, Mechanism as ServerMechanism, Response};