1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-04-05 01:29:36 +00:00

Drop hashbrown dep in favour of core's

This commit is contained in:
Andras Mocsary 2019-10-17 10:44:29 +02:00
parent ace98e3a1e
commit 57d72705a6
14 changed files with 23 additions and 12 deletions

View file

@ -2,6 +2,10 @@
## [1.0.9] - 2019-xx-xx
### Deleted
* Removed hashbrown dependency as it is [core in rust 1.36.0](https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1360-2019-07-04)
### Added
* Add `Payload::into_inner` method and make stored `def::Payload` public. (#1110)

View file

@ -89,7 +89,6 @@ bytes = "0.4"
derive_more = "0.15.0"
encoding_rs = "0.8"
futures = "0.1.25"
hashbrown = "0.5.0"
log = "0.4"
mime = "0.3"
net2 = "0.2.33"

View file

@ -2,6 +2,10 @@
## Not released yet
### Deleted
* Removed hashbrown dependency as it is [core in rust 1.36.0](https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1360-2019-07-04)
### Added
* Add support for serde_json::Value to be passed as argument to ResponseBuilder.body()

View file

@ -62,7 +62,6 @@ derive_more = "0.15.0"
either = "1.5.2"
encoding_rs = "0.8"
futures = "0.1.25"
hashbrown = "0.5.0"
h2 = "0.1.16"
http = "0.1.17"
httparse = "1.3"

View file

@ -8,7 +8,7 @@ Actix http
* [API Documentation](https://docs.rs/actix-http/)
* [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-http](https://crates.io/crates/actix-http)
* Minimum supported Rust version: 1.31 or later
* Minimum supported Rust version: 1.36 or later
## Example

View file

@ -12,7 +12,7 @@ use futures::task::AtomicTask;
use futures::unsync::oneshot;
use futures::{Async, Future, Poll};
use h2::client::{handshake, Handshake};
use hashbrown::HashMap;
use std::collections::HashMap;
use http::uri::Authority;
use indexmap::IndexSet;
use slab::Slab;

View file

@ -1,7 +1,7 @@
use std::any::{Any, TypeId};
use std::fmt;
use hashbrown::HashMap;
use std::collections::HashMap;
#[derive(Default)]
/// A type map of request extensions.

View file

@ -1,6 +1,6 @@
use either::Either;
use hashbrown::hash_map::{self, Entry};
use hashbrown::HashMap;
use std::collections::hash_map::{self, Entry};
use std::collections::HashMap;
use http::header::{HeaderName, HeaderValue};
use http::HttpTryFrom;

View file

@ -1,5 +1,11 @@
# Changes
## Not released yet
### Deleted
* Removed hashbrown dependency as it is [core in rust 1.36.0](https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1360-2019-07-04)
## [0.2.0] - 2019-07-08
* Enhanced ``actix-session`` to facilitate state changes. Use ``Session.renew()``

View file

@ -29,7 +29,6 @@ actix-service = "0.4.1"
bytes = "0.4"
derive_more = "0.15.0"
futures = "0.1.25"
hashbrown = "0.5.0"
serde = "1.0"
serde_json = "1.0"
time = "0.1.42"

View file

@ -6,4 +6,4 @@
* [API Documentation](https://docs.rs/actix-session/)
* [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-session](https://crates.io/crates/actix-session)
* Minimum supported Rust version: 1.34 or later
* Minimum supported Rust version: 1.36 or later

View file

@ -47,7 +47,7 @@ use std::rc::Rc;
use actix_web::dev::{Extensions, Payload, ServiceRequest, ServiceResponse};
use actix_web::{Error, FromRequest, HttpMessage, HttpRequest};
use hashbrown::HashMap;
use std::collections::HashMap;
use serde::de::DeserializeOwned;
use serde::Serialize;
use serde_json;

View file

@ -4,7 +4,7 @@ use std::rc::Rc;
use actix_service::{Service, Transform};
use futures::future::{err, ok, Either, Future, FutureResult};
use futures::Poll;
use hashbrown::HashMap;
use std::collections::HashMap;
use crate::dev::{ServiceRequest, ServiceResponse};
use crate::error::{Error, Result};

View file

@ -2,7 +2,7 @@ use std::cell::RefCell;
use std::rc::Rc;
use actix_router::ResourceDef;
use hashbrown::HashMap;
use std::collections::HashMap;
use url::Url;
use crate::error::UrlGenerationError;