Declare the tinyvec_string feature semver-excluded
[sanitise-file-name] / test
1 #!/bin/sh
2 set -e
3 export RUSTFLAGS="-D warnings"
4 export RUSTDOCFLAGS="-D warnings"
5 for release in "" "--release"; do
6 for subcommand in clippy test doc; do
7 cargo $subcommand $release
8 cargo $subcommand $release --no-default-features
9 cargo $subcommand $release --no-default-features --features alloc
10 cargo $subcommand $release --features tinyvec_string
11 cargo $subcommand $release --no-default-features --features tinyvec_string,alloc
12 cargo $subcommand $release --all-features
13 done
14 done
15
16 RUSTDOCFLAGS="-D warnings --cfg docsrs" cargo +nightly doc --all-features --no-deps