chore!: Rename simple_generator
feature to simple-generator
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
ae832194e7
commit
c1e6a76a79
4 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- name: Build the source code
|
- name: Build the source code
|
||||||
run: cargo build
|
run: cargo build
|
||||||
- name: Build examples
|
- name: Build examples
|
||||||
run: cargo build -F 'cacache-storage' --example simple_login
|
run: cargo build -F 'simple-generator' --example simple_login
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --tests --all-features
|
run: cargo test --tests --all-features
|
||||||
- name: Check the code format
|
- name: Check the code format
|
||||||
|
|
|
@ -35,4 +35,4 @@ rstest = "0.22.0"
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "simple_login"
|
name = "simple_login"
|
||||||
required-features = ["simple_generator"]
|
required-features = ["simple-generator"]
|
||||||
|
|
2
Justfile
2
Justfile
|
@ -19,7 +19,7 @@ _default:
|
||||||
# Run the CI (Local use only)
|
# Run the CI (Local use only)
|
||||||
@ci:
|
@ci:
|
||||||
cargo fmt --all --check
|
cargo fmt --all --check
|
||||||
cargo build -F 'simple_generator' --example simple_login
|
cargo build -F 'simple-generator' --example simple_login
|
||||||
cargo clippy --workspace --all-targets --examples --tests --all-features -- -D warnings
|
cargo clippy --workspace --all-targets --examples --tests --all-features -- -D warnings
|
||||||
cargo nextest run --workspace --all-targets --all-features
|
cargo nextest run --workspace --all-targets --all-features
|
||||||
@{{JUST_EXECUTABLE}} msrv
|
@{{JUST_EXECUTABLE}} msrv
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
// THE SOFTWARE.
|
// THE SOFTWARE.
|
||||||
|
|
||||||
#[cfg(feature = "simple_generator")]
|
#[cfg(feature = "simple-generator")]
|
||||||
mod simple_generator;
|
mod simple_generator;
|
||||||
|
|
||||||
#[cfg(feature = "simple_generator")]
|
#[cfg(feature = "simple-generator")]
|
||||||
pub use simple_generator::*;
|
pub use simple_generator::*;
|
||||||
|
|
||||||
/// Captcha generator, used to generate a new captcha image and answer.
|
/// Captcha generator, used to generate a new captcha image and answer.
|
||||||
|
|
Loading…
Reference in a new issue