Skip to content

Commit

Permalink
headers:v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jan 25, 2019
1 parent 42e8340 commit dd1de54
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 21 deletions.
23 changes: 8 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
[package]
name = "headers"
version = "0.0.0" # don't forget to update html_root_url
version = "0.2.0" # don't forget to update html_root_url
description = "typed HTTP headers"
license = "MIT"
readme = "README.md"
homepage = "https://hyper.rs"
license = "MIT"
repository = "https://github.com/hyperium/headers"
authors = ["Sean McArthur <[email protected]>"]
keywords = ["http", "hyper", "hyperium"]
categories = ["network-programming", "web-programming::http-client", "web-programming::http-server"]

publish = false

include = [
"Cargo.toml",
"LICENSE",
"src/**/*"
]
keywords = ["http", "headers", "hyper", "hyperium"]
categories = ["web-programming"]

[workspace]
members = [
Expand All @@ -25,9 +18,9 @@ members = [
]

[dependencies]
http = "0.1.14"
headers-core = { path = "./headers-core" }
headers-derive = { path = "./headers-derive" }
http = "0.1.15"
headers-core = { version = "0.1", path = "./headers-core" }
headers-derive = { version = "0.1", path = "./headers-derive" }
base64 = "0.10"
bitflags = "1.0"
bytes = "0.4"
Expand Down
14 changes: 8 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
//! Headers container, and common header fields.
#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![cfg_attr(test, deny(warnings))]
#![cfg_attr(all(test, feature = "nightly"), feature(test))]
#![doc(html_root_url = "https://docs.rs/headers/0.2.0")]

//! # Typed HTTP Headers
//!
//! hyper has the opinion that Headers should be strongly-typed, because that's
//! hyper has the opinion that headers should be strongly-typed, because that's
//! why we're using Rust in the first place. To set or get any header, an object
//! must implement the `Header` trait from this module. Several common headers
//! are already provided, such as `Host`, `ContentType`, `UserAgent`, and others.
Expand Down Expand Up @@ -66,10 +72,6 @@
//! }
//! ```
#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![cfg_attr(test, deny(warnings))]
#![cfg_attr(all(test, feature = "nightly"), feature(test))]

extern crate base64;
#[macro_use]
Expand Down

0 comments on commit dd1de54

Please sign in to comment.