Remove strict features flag (in favor of clippy check).

This commit is contained in:
jcamiel 2023-08-03 18:21:33 +02:00
parent 4072ea2c8a
commit bdd4ff7b14
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
5 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
set -Eeuo pipefail
cargo clippy -- -D warnings
cargo clippy -- \
--deny warnings \
--deny clippy::empty_structs_with_brackets # https://rust-lang.github.io/rust-clippy/master/index.html#/empty_structs_with_brackets

View File

@ -14,8 +14,6 @@ rust-version = "1.71"
name = "hurl"
[features]
# Treat warnings as a build error.
strict = []
vendored-openssl = ["curl/static-ssl", "curl-sys/static-ssl"]
[dependencies]

View File

@ -15,7 +15,6 @@
* limitations under the License.
*
*/
#![cfg_attr(feature = "strict", deny(warnings))]
//! This crate provides a function to run a Hurl formatted content.
//! Hurl uses a plain text format to run and tests HTTP requests. The fully documented

View File

@ -15,8 +15,6 @@
* limitations under the License.
*
*/
#![cfg_attr(feature = "strict", deny(warnings))]
pub mod ast;
pub mod error;
pub mod format;

View File

@ -15,8 +15,6 @@
* limitations under the License.
*
*/
#![cfg_attr(feature = "strict", deny(warnings))]
pub mod cli;
pub mod curl;
pub mod format;