From 711ef51946fa3404cd7dd912f6ee3f9cc101db5c Mon Sep 17 00:00:00 2001 From: tottoto Date: Thu, 7 Mar 2024 01:10:13 +0900 Subject: [PATCH] chore(core): update to 2018 edition --- headers-core/Cargo.toml | 1 + headers-core/src/lib.rs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/headers-core/Cargo.toml b/headers-core/Cargo.toml index a7aad04d..98d7a9b1 100644 --- a/headers-core/Cargo.toml +++ b/headers-core/Cargo.toml @@ -8,6 +8,7 @@ homepage = "https://hyper.rs" repository = "https://github.com/hyperium/headers" authors = ["Sean McArthur "] keywords = ["http", "headers", "hyper", "hyperium"] +edition = "2018" rust-version = "1.49" [dependencies] diff --git a/headers-core/src/lib.rs b/headers-core/src/lib.rs index d5a05d6f..72728ca4 100644 --- a/headers-core/src/lib.rs +++ b/headers-core/src/lib.rs @@ -8,8 +8,6 @@ //! This is the core crate of the typed HTTP headers system, providing only //! the relevant traits. All actual header implementations are in other crates. -extern crate http; - pub use http::header::{self, HeaderName, HeaderValue}; use std::error;