sasl: remove ignore from scram-requiring doctest

We can make that conditional on the feature flag, thus always doing the
right thing depending on how the sasl crate is being built.
This commit is contained in:
Jonas Schäfer 2024-06-25 07:28:48 +02:00
parent a7fe743850
commit 8bc1f32218

View file

@ -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};