mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-24 11:32:00 +03:00
Delete extern crate
import.
This commit is contained in:
parent
7431c0d4d7
commit
ff817a45da
@ -2,11 +2,11 @@ use cc::Build;
|
||||
use std::path::Path;
|
||||
|
||||
#[cfg(windows)]
|
||||
extern crate winres;
|
||||
use winres::WindowsResource;
|
||||
|
||||
#[cfg(windows)]
|
||||
fn set_icon() {
|
||||
let mut res = winres::WindowsResource::new();
|
||||
let mut res = WindowsResource::new();
|
||||
res.set_icon("../../ci/windows/logo.ico");
|
||||
res.compile().unwrap();
|
||||
}
|
||||
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
extern crate serde_json;
|
||||
|
||||
use super::ast::*;
|
||||
use float_cmp::approx_eq;
|
||||
|
||||
pub type JsonpathResult = Vec<serde_json::Value>;
|
||||
|
||||
|
@ -17,9 +17,6 @@
|
||||
*/
|
||||
#![cfg_attr(feature = "strict", deny(warnings))]
|
||||
|
||||
#[macro_use]
|
||||
extern crate float_cmp;
|
||||
|
||||
pub mod cli;
|
||||
pub mod http;
|
||||
pub mod json;
|
||||
|
@ -15,8 +15,6 @@
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
extern crate libxml;
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::ffi::OsStr;
|
||||
use std::fs::File;
|
||||
|
@ -15,9 +15,6 @@
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
extern crate libxml;
|
||||
extern crate serde_json;
|
||||
extern crate url as external_url;
|
||||
|
||||
use std::collections::HashMap;
|
||||
#[allow(unused)]
|
||||
|
@ -15,7 +15,6 @@
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
extern crate hurl;
|
||||
|
||||
use hurl::jsonpath;
|
||||
use serde_json::json;
|
||||
|
@ -15,8 +15,6 @@
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
extern crate hurl;
|
||||
|
||||
use hurl::cli;
|
||||
use hurl::http;
|
||||
use hurl::runner;
|
||||
|
@ -17,8 +17,6 @@
|
||||
*/
|
||||
#![cfg_attr(feature = "strict", deny(warnings))]
|
||||
|
||||
extern crate float_cmp;
|
||||
|
||||
pub mod ast;
|
||||
pub mod error;
|
||||
pub mod format;
|
||||
|
@ -15,8 +15,6 @@
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
extern crate hurl_core;
|
||||
|
||||
use hurl_core::ast::JsonValue;
|
||||
use std::fs;
|
||||
use std::fs::File;
|
||||
|
@ -15,8 +15,6 @@
|
||||
* limitations under the License.
|
||||
*
|
||||
*/
|
||||
extern crate clap;
|
||||
|
||||
use std::io::Write;
|
||||
use std::io::{self, Read};
|
||||
use std::path::Path;
|
||||
|
@ -16,8 +16,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
extern crate proptest;
|
||||
|
||||
use std::fs;
|
||||
|
||||
use proptest::prelude::prop::test_runner::TestRunner;
|
||||
|
Loading…
Reference in New Issue
Block a user