commit_hash
stringlengths
40
40
author
stringlengths
1
57
date
timestamp[s]date
2010-07-26 04:45:09
2026-04-14 18:21:10
message
stringlengths
8
1.39M
diff
stringlengths
68
51.2k
files_changed
int64
1
136
insertions
int64
0
2.35k
deletions
int64
0
1.9k
0b656f51e133850bbba8b96c4cae535619f9604e
Rob Ede
2021-01-31T04:48:03
deprecate rt TLS item storage
diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index 44e34b5..72e2d3e 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -218,11 +218,13 @@ impl Arbiter { /// Insert item into Arbiter's thread-local storage. /// /// Overwrites any item of the same type previously insert...
2
5
0
0eb68d1c7b3f3337d9aee2fe0360c17f881515e8
Rob Ede
2021-01-31T04:45:27
Revert "remove arbiter TLS item storage" This reverts commit 3e6f69885cbcca4d9516d50f958c95a237e75ce8.
diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index a3cb527..44e34b5 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -1,5 +1,7 @@ use std::{ + any::{Any, TypeId}, cell::RefCell, + collections::HashMap, fmt, future::Future, pin::Pin, @@ -20,6 +22,7 @@ pub...
2
90
0
3e6f69885cbcca4d9516d50f958c95a237e75ce8
Rob Ede
2021-01-31T04:43:35
remove arbiter TLS item storage
diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index 44e34b5..a3cb527 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -1,7 +1,5 @@ use std::{ - any::{Any, TypeId}, cell::RefCell, - collections::HashMap, fmt, future::Future, pin::Pin, @@ -22,7 +20,6 @@ pub...
2
0
90
29244199055abaa868c9ec790c5fbd399b7d71df
Rob Ede
2021-01-29T14:16:10
prevent spawn_fn panic bubbling (#255)
diff --git a/actix-rt/src/builder.rs b/actix-rt/src/builder.rs index 01c8551..93d2fe2 100644 --- a/actix-rt/src/builder.rs +++ b/actix-rt/src/builder.rs @@ -11,38 +11,25 @@ use crate::{ worker::Worker, }; -/// Builder an actix runtime. +/// System builder. /// /// Either use `Builder::build` to create a syste...
4
51
61
feac376c17f563e79b45be9bee3690b008c54ee7
fakeshadow
2021-01-28T10:31:57
fix actix-tls build (#252)
diff --git a/actix-rt/tests/integration_tests.rs b/actix-rt/tests/integration_tests.rs index fd57982..225fd53 100644 --- a/actix-rt/tests/integration_tests.rs +++ b/actix-rt/tests/integration_tests.rs @@ -172,17 +172,3 @@ fn attack_to_tokio() { assert_eq!(res, 2); } - -#[tokio::test] -async fn attack_to_tokio_m...
3
4
18
a633d2353c5f9281a5a3ba274fef1f4f0147d4cf
Rob Ede
2021-01-27T11:23:28
fix addr iterator
diff --git a/actix-tls/src/connect/connect.rs b/actix-tls/src/connect/connect.rs index ab7e03d..9e5d417 100755 --- a/actix-tls/src/connect/connect.rs +++ b/actix-tls/src/connect/connect.rs @@ -175,7 +175,10 @@ impl Iterator for ConnectAddrsIter<'_> { fn next(&mut self) -> Option<Self::Item> { match *self ...
1
38
1
45edff625e194ff21223f67e41cd2fb5b5e007c8
Rob Ede
2021-01-26T09:46:14
add rt tests and doc tests
diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index f2fe843..5bc7941 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -23,3 +23,7 @@ macros = ["actix-macros"] actix-macros = { version = "0.2.0-beta.1", optional = true } tokio = { version = "1", features = ["rt", "net", "parking_lot", "signal",...
7
252
164
cff9deb729ac44ed1601342f83b3d0d7715b3820
Rob Ede
2021-01-26T09:45:43
attribute nits
diff --git a/actix-router/src/path.rs b/actix-router/src/path.rs index 0998c61..76fd97d 100644 --- a/actix-router/src/path.rs +++ b/actix-router/src/path.rs @@ -50,20 +50,20 @@ impl<T: ResourcePath> Path<T> { } } - #[inline] /// Get reference to inner path instance + #[inline] pub fn get...
4
15
15
6112a47529ee636bc83572dcbf78b5d1a8bdb8b0
Rob Ede
2021-01-09T15:19:16
update local deps
diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml index d88b0c2..7392eb1 100644 --- a/actix-macros/Cargo.toml +++ b/actix-macros/Cargo.toml @@ -20,7 +20,7 @@ syn = { version = "^1", features = ["full"] } actix-reexport = [] [dev-dependencies] -actix-rt = "1.0" +actix-rt = "2.0.0-beta.2" futures-util...
6
10
10
d4c46b7da9db2c14670ce65d5804ed3012361928
Rob Ede
2021-01-09T14:58:15
fix macros code
diff --git a/actix-macros/src/lib.rs b/actix-macros/src/lib.rs index dd79157..60f177f 100644 --- a/actix-macros/src/lib.rs +++ b/actix-macros/src/lib.rs @@ -36,25 +36,14 @@ pub fn main(_: TokenStream, item: TokenStream) -> TokenStream { sig.asyncness = None; - if cfg!(feature = "actix-reexport") { - ...
1
8
19
147c4f4f2cf81ba4b4efa36b7bc16cf0790fab8f
Rob Ede
2021-01-03T04:42:08
test bytestring with ahash
diff --git a/bytestring/Cargo.toml b/bytestring/Cargo.toml index 3fc43fe..6af7603 100644 --- a/bytestring/Cargo.toml +++ b/bytestring/Cargo.toml @@ -24,4 +24,4 @@ serde = { version = "1.0", optional = true } [dev-dependencies] serde_json = "1.0" -siphasher = "0.3" +ahash = { version = "0.6", default-features = fals...
2
4
4
03eb96d6d4007e9c9492ca0b07b8f39238a8afaa
fakeshadow
2020-12-29T11:36:17
fix actix-tls tests (#241)
diff --git a/Cargo.toml b/Cargo.toml index 533fbc1..342f866 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,3 +27,7 @@ actix-tracing = { path = "actix-tracing" } actix-utils = { path = "actix-utils" } actix-router = { path = "router" } bytestring = { path = "string" } + +# FIXME: remove override +trust-dns-proto = {...
12
291
207
3c6de3a81ba3d3923f2b03e3299cba49f5b8b06a
Rob Ede
2020-12-29T00:08:59
use correct service version for tracing
diff --git a/actix-tracing/Cargo.toml b/actix-tracing/Cargo.toml index d0b7bf2..720e7ad 100644 --- a/actix-tracing/Cargo.toml +++ b/actix-tracing/Cargo.toml @@ -16,11 +16,12 @@ name = "actix_tracing" path = "src/lib.rs" [dependencies] -actix-service = "1.0.4" +actix-service = "2.0.0-beta.1" + futures-util = { vers...
1
3
2
3d3bd60368f72ab09347b7f82e93b979204757d0
Rob Ede
2020-12-28T01:53:11
fix rt override
diff --git a/Cargo.toml b/Cargo.toml index b327456..6128018 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ members = [ [patch.crates-io] actix-codec = { path = "actix-codec" } actix-connect = { path = "actix-connect" } -actix-rt = { git = "https://github.com/actix/actix-net.git", ref = "ba44ea7d0bafaf5fc...
1
1
1
d684128831dbaaf86bbd42639dad34a776d91907
Rob Ede
2020-12-28T01:48:19
fix rt override
diff --git a/Cargo.toml b/Cargo.toml index cea3ee3..b327456 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ members = [ [patch.crates-io] actix-codec = { path = "actix-codec" } actix-connect = { path = "actix-connect" } -actix-rt = { git = "https://github.com/actix/actix-net.git", ref = "ba44ea7d0bafaf5fc...
1
1
1
b296d0f254c46c5485f7d2ae760875eefa41c3a5
Aravinth Manivannan
2020-12-14T08:22:30
Intradoc links conversion (#227) * intra doc conversion * rm trailing blank comment
diff --git a/actix-codec/src/lib.rs b/actix-codec/src/lib.rs index 0793954..8c34605 100644 --- a/actix-codec/src/lib.rs +++ b/actix-codec/src/lib.rs @@ -4,8 +4,6 @@ //! [`AsyncWrite`], to framed streams implementing [`Sink`] and [`Stream`]. //! Framed streams are also known as `transports`. //! -//! [`AsyncRead`]: A...
7
7
13
02a902068f9df39c3fedb2097e11569a69600ca2
Juan Aguilar
2020-12-13T19:26:57
Refactor LocalWaker (#224)
diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index 9a5f1f9..295d262 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -333,7 +333,7 @@ impl Future for CleanupPending { let mut pending = cell.borrow_mut(); let mut i = 0; while i != pending.len(...
7
21
16
049795662febac074a39b838a29c263ebebb8b0a
fakeshadow
2020-12-13T00:46:32
remove ServerMessage type. remove one unused InternalServiceFactory impl (#225)
diff --git a/actix-server/src/config.rs b/actix-server/src/config.rs index fda1ade..28996b9 100644 --- a/actix-server/src/config.rs +++ b/actix-server/src/config.rs @@ -8,10 +8,9 @@ use futures_util::future::{ok, Future, FutureExt, LocalBoxFuture}; use log::error; use super::builder::bind_addr; -use super::service:...
3
22
66
4e43216b99a4928551dddd491173de4be32c02f7
Rob Ede
2020-12-12T23:24:00
standardise compiler lints across all crates (#226)
diff --git a/actix-codec/src/lib.rs b/actix-codec/src/lib.rs index d972763..0793954 100644 --- a/actix-codec/src/lib.rs +++ b/actix-codec/src/lib.rs @@ -9,8 +9,10 @@ //! [`Sink`]: futures_sink::Sink //! [`Stream`]: futures_core::Stream -#![deny(rust_2018_idioms)] +#![deny(rust_2018_idioms, nonstandard_style)] #![w...
15
49
14
8aca8d4d07f9c33768ac9190799f75d3ab1dcf87
Rob Ede
2020-11-25T01:41:14
fix clippy warnings (#214) and make my spelling checker happy
diff --git a/router/src/resource.rs b/router/src/resource.rs index d3b3972..2ab4ceb 100644 --- a/router/src/resource.rs +++ b/router/src/resource.rs @@ -167,13 +167,13 @@ impl ResourceDef { /// Is prefix path a match against this resource. pub fn is_prefix_match(&self, path: &str) -> Option<usize> { - ...
2
32
30
e0dd2a3d76938e5b64b0132dc5b8d7711543089c
fakeshadow
2020-11-24T17:03:09
remove actix-threadpool re-export from actix-rt (#212)
diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index b7d272c..68bca81 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -17,10 +17,9 @@ path = "src/lib.rs" [dependencies] actix-macros = "0.1.0" -actix-threadpool = "0.3" -futures-channel = { version = "0.3.4", default-features = false } -futures-...
2
2
6
59e976aacaab7e4fbaad18108863846dfbd2dfcd
Rob Ede
2020-11-24T16:35:47
address clippy error (#213)
diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index eff10ca..9a5f1f9 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -134,10 +134,7 @@ impl Arbiter { .unbounded_send(SystemCommand::RegisterArbiter(id, arb)); // run loop - let ...
1
1
4
4cc1c877242014569a5c6b9f07e15716ae46c6eb
Zura Benashvili
2020-11-20T22:45:57
docs(transform): remove extra generic parameter (#211)
diff --git a/actix-service/src/transform.rs b/actix-service/src/transform.rs index b6d3eb8..0ebfc5b 100644 --- a/actix-service/src/transform.rs +++ b/actix-service/src/transform.rs @@ -70,7 +70,7 @@ where /// timeout: Duration, /// } /// -/// impl<S> Transform<S> for TimeoutTransform<E> +/// impl<S> Transform<S>...
1
1
1
98a2197a09482bae9dc464e53cbdc3a8d5e15290
nujz
2020-09-19T14:12:41
fix doc error (#195)
diff --git a/actix-service/src/and_then.rs b/actix-service/src/and_then.rs index d011685..caaf861 100644 --- a/actix-service/src/and_then.rs +++ b/actix-service/src/and_then.rs @@ -9,7 +9,7 @@ use super::{Service, ServiceFactory}; /// Service for the `and_then` combinator, chaining a computation onto the end /// of a...
4
6
6
88d99ac89c978eb6cd96941ed4e8416a4b623fb9
Robert Gabriel Jakabosky
2020-09-06T09:41:42
Fix clippy errors. (#187)
diff --git a/actix-server/src/config.rs b/actix-server/src/config.rs index 65f1988..fda1ade 100644 --- a/actix-server/src/config.rs +++ b/actix-server/src/config.rs @@ -151,7 +151,7 @@ impl InternalServiceFactory for ConfiguredService { )); }; } - return Ok(...
2
4
4
7632f51509bb765819e7e5279fb60a7e3ae3e29c
Rob Ede
2020-09-02T21:14:07
prepare connect v2 stable release (#185)
diff --git a/actix-connect/Cargo.toml b/actix-connect/Cargo.toml index 3dfdb21..233195c 100644 --- a/actix-connect/Cargo.toml +++ b/actix-connect/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "actix-connect" -version = "2.0.0-alpha.4" +version = "2.0.0" authors = ["Nikolay Kim <fafhrd91@gmail.com>"] -description = "Ac...
9
35
29
5d28be9ad6428405b98f02c789544db41e7543e6
Rob Ede
2020-08-11T11:20:09
fix actix-service readme reference (#176)
diff --git a/actix-service/Cargo.toml b/actix-service/Cargo.toml index f88e2fb..7c73e9b 100644 --- a/actix-service/Cargo.toml +++ b/actix-service/Cargo.toml @@ -7,7 +7,7 @@ keywords = ["network", "framework", "async", "futures", "service"] homepage = "https://actix.rs" repository = "https://github.com/actix/actix-net...
1
1
1
afb0a3c9fc813d49c5f2b43657561eace02fe6b0
Igor Aleksanov
2020-08-07T08:16:45
actix-service: Fix clippy warning in benches (#174)
diff --git a/actix-service/benches/and_then.rs b/actix-service/benches/and_then.rs index 98de007..f4174dd 100644 --- a/actix-service/benches/and_then.rs +++ b/actix-service/benches/and_then.rs @@ -293,9 +293,8 @@ where let start = std::time::Instant::now(); // benchmark body rt.bl...
2
2
4
02aaa755915c02f2c4770788b8714abc6a7ea683
Miloas
2020-08-06T10:21:51
fix actix-service doc error (#172)
diff --git a/actix-service/src/lib.rs b/actix-service/src/lib.rs index 68a5dbc..e1493ac 100644 --- a/actix-service/src/lib.rs +++ b/actix-service/src/lib.rs @@ -52,7 +52,7 @@ pub use self::transform::{apply, Transform}; /// type Request = u8; /// type Response = u64; /// type Error = MyError; -/// ...
1
1
1
0c5f1da625b97370e75206218586375936b30ee2
Matt Kantor
2020-07-28T20:46:53
Remove garbled doc comment for actix_router::IntoPattern::is_single (#168)
diff --git a/router/src/lib.rs b/router/src/lib.rs index 75485b5..f97b34e 100644 --- a/router/src/lib.rs +++ b/router/src/lib.rs @@ -37,7 +37,6 @@ impl ResourcePath for bytestring::ByteString { /// Helper trait for type that could be converted to path pattern pub trait IntoPattern { - /// Signle patter fn i...
1
0
1
10b4c30a0651624e9ea73019c13e078ef9d467cd
Yuki Okushi
2020-07-14T10:11:30
Use `OR` instead of deprecated `/` in license field (#155)
diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml index 3c7a93b..1d9a669 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -8,7 +8,7 @@ homepage = "https://actix.rs" repository = "https://github.com/actix/actix-net.git" documentation = "https://docs.rs/actix-codec/" categories = ["networ...
14
14
14
9528df4486eb9e028676456491a20badb9ea4acd
Taiki Endo
2020-06-05T21:42:45
Remove uses of pin_project::project attribute pin-project will deprecate the project attribute due to some unfixable limitations. Refs: https://github.com/taiki-e/pin-project/issues/225
diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml index cab79a9..3c7a93b 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -24,4 +24,4 @@ futures-sink = { version = "0.3.4", default-features = false } tokio = { version = "0.2.4", default-features=false } tokio-util = { version = "0.2.0", ...
11
37
54
755a8bb9d16bf5c43ae57109fef2af393d006ddc
Pen Tree
2020-06-02T17:05:39
fix codec doc links (#148)
diff --git a/actix-codec/src/lib.rs b/actix-codec/src/lib.rs index fc53b68..7c38bdf 100644 --- a/actix-codec/src/lib.rs +++ b/actix-codec/src/lib.rs @@ -2,10 +2,12 @@ //! //! Contains adapters to go from streams of bytes, [`AsyncRead`] and //! [`AsyncWrite`], to framed streams implementing [`Sink`] and [`Stream`]. -...
1
5
3
e35c261c9fe609bbb779ad5ca4298b101575ac77
Daniel Pintara
2020-04-21T17:11:48
actix-macros: test: Simplify by using #sig instead of #name(#inputs) #ret
diff --git a/actix-macros/src/lib.rs b/actix-macros/src/lib.rs index ffd8147..04c374a 100644 --- a/actix-macros/src/lib.rs +++ b/actix-macros/src/lib.rs @@ -55,13 +55,11 @@ pub fn main(_: TokenStream, item: TokenStream) -> TokenStream { /// ``` #[proc_macro_attribute] pub fn test(_: TokenStream, item: TokenStream) -...
1
9
9
c0482e25322bcd372a6e5c6fe7c9a51df638e7d0
Yuki Okushi
2020-04-19T23:02:08
Remove unnecessary clone usage
diff --git a/actix-server/src/config.rs b/actix-server/src/config.rs index e09a567..65f1988 100644 --- a/actix-server/src/config.rs +++ b/actix-server/src/config.rs @@ -218,7 +218,7 @@ impl ServiceRuntime { // let name = name.to_owned(); if let Some(token) = self.names.get(name) { self.se...
1
1
1
6906f25e014ec76869b8e7ebffb1b38590edda3d
Jonathas-Conceicao
2020-04-16T06:12:00
actix-rt: Set threshold size for arbiter's pending futures list Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index eb9965e..2c0c1b5 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -21,4 +21,5 @@ actix-threadpool = "0.3" futures-channel = { version = "0.3.4", default-features = false } futures-util = { version = "0.3.4", default-features = false, features =...
2
20
7
06bca19524b73a0bd71b12b752acd35c8916964c
Jonathas-Conceicao
2020-04-09T23:36:35
actix-rt: Spawn future to cleanup pending JoinHandles Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index 124a558..cf24ad8 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -183,7 +183,8 @@ impl Arbiter { // Spawn the future on running executor PENDING.with(move |cell| { cell.borro...
1
26
1
aae52a80ab2df410538e62f8bcc0bccc5d9dcd0f
Ruben De Smet
2020-04-08T14:48:10
Forward actix_rt::test arguments to test function. Previously, ```rust async fn foo(_a: u32) {} ``` would compile to ```rust fn foo() {/* something */} ``` This patches changes this behaviour to ```rust fn foo(_a: u32) {/* something */} ``` by simply forwarding the input arguments. This allows any test fixture ...
diff --git a/actix-macros/src/lib.rs b/actix-macros/src/lib.rs index b6a57b9..ffd8147 100644 --- a/actix-macros/src/lib.rs +++ b/actix-macros/src/lib.rs @@ -58,6 +58,7 @@ pub fn test(_: TokenStream, item: TokenStream) -> TokenStream { let input = syn::parse_macro_input!(item as syn::ItemFn); let ret = &inpu...
1
3
2
69e8df9d6214f1b66d04bebd6588558c11bacce2
Jonathas-Conceicao
2020-04-04T22:03:53
actix-rt: Run rustfmt Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index c8c4977..b9fbc51 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -8,7 +8,10 @@ use std::{fmt, thread}; use futures_channel::mpsc::{unbounded, UnboundedReceiver, UnboundedSender}; use futures_channel::oneshot::{channel, Cancel...
1
5
3
187a58472dbe2a8ad256c03a92186f7bcf44a4a7
Rob Ede
2020-04-04T22:57:52
fix noisy check warning
diff --git a/router/src/url.rs b/router/src/url.rs index 1c06819..189a9e8 100644 --- a/router/src/url.rs +++ b/router/src/url.rs @@ -31,7 +31,7 @@ fn set_bit(array: &mut [u8], ch: u8) { } thread_local! { - static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") }; + static DEFAULT_QUOTER: Quoter = Quoter:...
1
1
1
0dd5a7ce1dbfed17c461e7616569072eb79d99d5
Kornel Lesiński
2020-03-13T12:35:20
std Error for BlockingError #93
diff --git a/actix-threadpool/src/lib.rs b/actix-threadpool/src/lib.rs index beead54..08b563e 100644 --- a/actix-threadpool/src/lib.rs +++ b/actix-threadpool/src/lib.rs @@ -48,6 +48,8 @@ pub enum BlockingError<E: fmt::Debug> { Canceled, } +impl<E: fmt::Debug> std::error::Error for BlockingError<E> {} + /// Exe...
1
2
0
08959dfc211040f781a8fe9a95c74f9f2a745266
Yuki Okushi
2020-03-11T20:10:08
actix-tracing: Minimize `futures-util` dependencies
diff --git a/actix-tracing/Cargo.toml b/actix-tracing/Cargo.toml index 055cd11..a878236 100644 --- a/actix-tracing/Cargo.toml +++ b/actix-tracing/Cargo.toml @@ -17,7 +17,7 @@ path = "src/lib.rs" [dependencies] actix-service = "1.0.4" -futures-util = "0.3.1" +futures-util = { version = "0.3.4", default-features = fa...
1
1
1
2792433ad6d77b218fa85d027e00947eb912f8f1
Yuki Okushi
2020-03-11T20:02:03
actix-codec: Minimize `futures-*` dependencies
diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml index d647ab7..cab79a9 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -19,8 +19,8 @@ path = "src/lib.rs" [dependencies] bitflags = "1.2.1" bytes = "0.5.2" -futures-core = "0.3.1" -futures-sink = "0.3.1" +futures-core = { version = "0.3...
1
2
2
437a7b05c67cb8de64ed9e1ee8ed1ca3927ff93b
Yuki Okushi
2020-03-11T20:00:41
actix-rt: Fix build
diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index a7918a9..3f7b50b 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -18,7 +18,7 @@ path = "src/lib.rs" [dependencies] actix-macros = "0.1.0" actix-threadpool = "0.3" -futures-channel = { version = "0.3.1", default-features = false } -futures-uti...
1
2
2
3d125c5381e1a77606ac4357cab57962e95fb51f
Yuki Okushi
2020-03-11T19:37:21
actix-testing: Remove unused deps
diff --git a/actix-testing/Cargo.toml b/actix-testing/Cargo.toml index 6c0f96c..4c1891c 100644 --- a/actix-testing/Cargo.toml +++ b/actix-testing/Cargo.toml @@ -24,4 +24,3 @@ actix-service = "1.0.0" log = "0.4" net2 = "0.2" -futures = "0.3.1"
1
0
1
fbf7d6ef3371d2a837a97685f9e2417251d96b14
Yuki Okushi
2020-03-11T19:35:41
Update examples
diff --git a/examples/basic.rs b/examples/basic.rs index 5ff109d..3de6d21 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -11,7 +11,7 @@ use actix_codec::{AsyncRead, AsyncWrite}; use actix_rt::System; use actix_server::{Io, Server}; use actix_service::{service_fn, NewService}; -use futures::{future, Future...
2
2
2
e6b6f08369c06795bcfe77c2ac356acf0b88ce4a
Yuki Okushi
2020-03-11T19:35:29
actix-utils: Minimize `futures-*` dependencies
diff --git a/actix-utils/Cargo.toml b/actix-utils/Cargo.toml index 62207b3..4c55da0 100644 --- a/actix-utils/Cargo.toml +++ b/actix-utils/Cargo.toml @@ -22,7 +22,9 @@ actix-codec = "0.2.0" bitflags = "1.2" bytes = "0.5.3" either = "1.5.3" -futures = "0.3.1" +futures-channel = { version = "0.3.4", default-features = ...
12
22
19
4e806b3e3f7e3bc33581b80f3ebb41ceb98aac64
Yuki Okushi
2020-03-11T19:30:32
actix-tls: Minimize `futures-*` dependencies
diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml index 58baadc..0d235e2 100644 --- a/actix-tls/Cargo.toml +++ b/actix-tls/Cargo.toml @@ -38,7 +38,7 @@ actix-utils = "1.0.0" actix-rt = "1.0.0" derive_more = "0.99.2" either = "1.5.2" -futures = "0.3.1" +futures-util = { version = "0.3.4", default-features = fa...
4
6
6
f5b07053fc1d58a335f3dbc36c6375249dda73b0
Yuki Okushi
2020-03-11T19:27:26
actix-server: Minimize `futures-*` dependencies
diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml index eef518e..bf9ee34 100644 --- a/actix-server/Cargo.toml +++ b/actix-server/Cargo.toml @@ -30,7 +30,8 @@ log = "0.4" num_cpus = "1.11" mio = "0.6.19" net2 = "0.2" -futures = "0.3.1" +futures-channel = { version = "0.3.4", default-features = false } +f...
8
21
20
dd3bec83bfdfdc9e7917024f0670db67dcbcce67
Yuki Okushi
2020-03-11T19:23:04
actix-ioframe: Minimize `futures-*` dependencies
diff --git a/actix-ioframe/Cargo.toml b/actix-ioframe/Cargo.toml index 555efad..f9c144a 100644 --- a/actix-ioframe/Cargo.toml +++ b/actix-ioframe/Cargo.toml @@ -22,10 +22,12 @@ actix-utils = "1.0.4" actix-rt = "1.0.0" bytes = "0.5.3" either = "1.5.3" -futures = "0.3.1" +futures-sink = { version = "0.3.4", default-fe...
5
8
6
f955e499301ffadffecb0669e5c76ad2dff3b1ae
Yuki Okushi
2020-03-11T19:22:38
actix-connect: Minimize `futures-*` dependencies
diff --git a/actix-connect/Cargo.toml b/actix-connect/Cargo.toml index fb1674e..739dfee 100644 --- a/actix-connect/Cargo.toml +++ b/actix-connect/Cargo.toml @@ -37,7 +37,7 @@ actix-utils = "1.0.6" actix-rt = "1.0.0" derive_more = "0.99.2" either = "1.5.3" -futures = "0.3.1" +futures-util = { version = "0.3.4", defau...
7
10
10
baba533407f36315ab4395e84e6a73a971681107
Yuki Okushi
2020-03-08T05:38:07
Update `actix-http` dependency
diff --git a/actix-ioframe/Cargo.toml b/actix-ioframe/Cargo.toml index 13a7eee..555efad 100644 --- a/actix-ioframe/Cargo.toml +++ b/actix-ioframe/Cargo.toml @@ -27,5 +27,5 @@ pin-project = "0.4.6" log = "0.4" [dev-dependencies] -actix-connect = "2.0.0-alpha.1" +actix-connect = "2.0.0-alpha.2" actix-testing = "1.0....
1
1
1
cb30f9e86a37ba134e926d628535cfff8841e54d
Jonathas-Conceicao
2020-03-07T17:37:39
actix-connect: Run cargo fmt Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
diff --git a/actix-connect/tests/test_connect.rs b/actix-connect/tests/test_connect.rs index 4e9fb40..b22352c 100644 --- a/actix-connect/tests/test_connect.rs +++ b/actix-connect/tests/test_connect.rs @@ -14,12 +14,10 @@ use actix_connect::Connect; #[actix_rt::test] async fn test_string() { let srv = TestServer:...
1
24
36
857e50120bbada79555dec94dd219145df11d5f3
Yuki Okushi
2020-03-06T04:45:21
Unpin quote version
diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml index 8691f04..eb72e52 100644 --- a/actix-macros/Cargo.toml +++ b/actix-macros/Cargo.toml @@ -14,7 +14,7 @@ workspace = ".." proc-macro = true [dependencies] -quote = "=1.0.2" +quote = "1.0.3" syn = { version = "^1", features = ["full"] } [dev-depen...
1
1
1
346bd072d37f9a2f440af690bc9f3d5f0d3044bd
Maksym Vorobiov
2020-03-05T12:58:44
fix build with failing quote
diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml index e1a961b..8691f04 100644 --- a/actix-macros/Cargo.toml +++ b/actix-macros/Cargo.toml @@ -14,7 +14,7 @@ workspace = ".." proc-macro = true [dependencies] -quote = "^1" +quote = "=1.0.2" syn = { version = "^1", features = ["full"] } [dev-dependen...
1
1
1
c41b5d8dd4235ccca84d0b687996615c0c64d956
Aaron Hill
2020-03-04T16:48:19
Replace calls to `Pin::new_unchecked` with `pin_project`. This is a breaking change, as it changes some public methods to take `Pin<&mut Self>` rather than `&mut self`. This brings these methods into line with `Stream::poll_next`, which also takes a `Pin<&mut Self>`
diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml index 9decfdc..d647ab7 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -23,4 +23,5 @@ futures-core = "0.3.1" futures-sink = "0.3.1" tokio = { version = "0.2.4", default-features=false } tokio-util = { version = "0.2.0", default-features...
7
116
104
e3ad5de2702c663519b1f7630e14e4ca58d0b8fd
Yuki Okushi
2020-03-03T08:24:41
Update `actix-connect` dependency
diff --git a/actix-ioframe/Cargo.toml b/actix-ioframe/Cargo.toml index c20da1f..13a7eee 100644 --- a/actix-ioframe/Cargo.toml +++ b/actix-ioframe/Cargo.toml @@ -27,5 +27,5 @@ pin-project = "0.4.6" log = "0.4" [dev-dependencies] -actix-connect = "1.0.0" +actix-connect = "2.0.0-alpha.1" actix-testing = "1.0.0"
1
1
1
1b7c969f6a9d39dba5485e6b54e2badc6caff47d
Erich Gubler
2020-02-26T16:15:21
`actix-rt`: minimize `futures` dependencies to `futures-{channel,util}` with default features off (#104) * build(deps): minimize `futures` deps by using `futures-channel` and `futures-util` directly * style(actix-rt): enforce spaces around equals in `Cargo.toml`
diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index 3ab88ba..a7918a9 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -18,6 +18,7 @@ path = "src/lib.rs" [dependencies] actix-macros = "0.1.0" actix-threadpool = "0.3" -futures = "0.3.1" +futures-channel = { version = "0.3.1", default-features = f...
5
11
10
e3b6a33b97d1af2485d0bf84620fc4139ec59494
Jonathas-Conceicao
2020-02-06T01:59:45
Add integration tests These initial tests validade basic usage with timed futures for: - `System::block_on`; - `Arbiter::new`; - `Arbiter::stop`; - `Arbiter::join`; Signed-off-by: Jonathas-Conceicao <jadoliveira@inf.ufpel.edu.br>
diff --git a/actix-rt/tests/wait_spawned.rs b/actix-rt/tests/wait_spawned.rs new file mode 100644 index 0000000..e3296e8 --- /dev/null +++ b/actix-rt/tests/wait_spawned.rs @@ -0,0 +1,63 @@ +use std::time::{Duration, Instant}; + +#[test] +fn await_for_timer() { + let time = Duration::from_secs(2); + let instant = ...
1
63
0
98f0290f65e4321572d7c3c1c53637db8cf43f6a
Yuki Okushi
2020-02-26T10:48:52
actix-server: Bump up to 1.0.2
diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml index 1394dbf..eef518e 100644 --- a/actix-server/Cargo.toml +++ b/actix-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-server" -version = "1.0.1" +version = "1.0.2" authors = ["Nikolay Kim <fafhrd91@gmail.com>"] description = "Actix server - ...
1
1
1
dd59ee498ed7716dd6a45e7b8b389bf2811a64c9
Yuki Okushi
2020-02-26T10:48:27
Add FIXME comment
diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml index e18fa61..1394dbf 100644 --- a/actix-server/Cargo.toml +++ b/actix-server/Cargo.toml @@ -34,6 +34,7 @@ futures = "0.3.1" slab = "0.4" # unix domain sockets +# FIXME: Remove it and use mio own uds feature once mio 0.7 is released mio-uds = { versio...
1
1
0
83320efa31a4c3e7eaf2302d1322a1932a3102d7
Dany Laporte
2020-02-26T09:40:31
Avoid error by `register()` on Windows (#103)
diff --git a/actix-server/src/accept.rs b/actix-server/src/accept.rs index 993ecab..4dc218f 100644 --- a/actix-server/src/accept.rs +++ b/actix-server/src/accept.rs @@ -298,12 +298,7 @@ impl Accept { } Command::Resume => { for (token, info) in self.sock...
1
34
12
4d37858fc6e97edecb2e7b4f13e515186a696388
Maxim Vorobjov
2020-02-26T07:45:23
Benchmarks for actix-service: focused around UnsafeCell usage (#98) * add benchmark comparing unsafecell vs refcell * fix syntax * add benches for and_then implementation options * repeat benches to stabilize
diff --git a/actix-service/Cargo.toml b/actix-service/Cargo.toml index e4e3e0b..939ed17 100644 --- a/actix-service/Cargo.toml +++ b/actix-service/Cargo.toml @@ -21,3 +21,12 @@ pin-project = "0.4.6" [dev-dependencies] actix-rt = "1.0.0" +criterion = "0.3" + +[[bench]] +name = "unsafecell_vs_refcell" +harness = false...
3
450
0
fa25e30427d054200dbc0b8eedd047c8f4bf5cdf
Yuki Okushi
2020-02-25T09:41:15
Remove single import
diff --git a/actix-server/src/builder.rs b/actix-server/src/builder.rs index ee1c3e2..ecc3e4e 100644 --- a/actix-server/src/builder.rs +++ b/actix-server/src/builder.rs @@ -13,7 +13,6 @@ use futures::stream::FuturesUnordered; use futures::{ready, Future, FutureExt, Stream, StreamExt}; use log::{error, info}; use net...
1
0
1
043057ecbdaeaf672eb8354dfb1623c44a19dc6e
Yuki Okushi
2020-02-01T14:32:08
Fix import scopes
diff --git a/actix-server/tests/test_server.rs b/actix-server/tests/test_server.rs index 46587a8..c5aa70b 100644 --- a/actix-server/tests/test_server.rs +++ b/actix-server/tests/test_server.rs @@ -1,15 +1,10 @@ -use std::io::Read; use std::sync::atomic::{AtomicUsize, Ordering::Relaxed}; use std::sync::{mpsc, Arc}; u...
1
6
5
e12bf9200b99f58e25020b6b54a2fbaeab7fdb6c
Yuki Okushi
2020-01-30T17:21:25
Clean up metadata
diff --git a/actix-service/Cargo.toml b/actix-service/Cargo.toml index 1825a6e..e4e3e0b 100644 --- a/actix-service/Cargo.toml +++ b/actix-service/Cargo.toml @@ -11,10 +11,6 @@ categories = ["network-programming", "asynchronous"] license = "MIT/Apache-2.0" edition = "2018" -[badges] -travis-ci = { repository = "acti...
1
0
4
d5a6c83207e674bc5eef76a3de69adebdc8665fa
Yuki Okushi
2020-01-28T11:27:33
Suppress/fix clippy warnings
diff --git a/actix-connect/src/ssl/rustls.rs b/actix-connect/src/ssl/rustls.rs index 01cb2fa..1964b3a 100644 --- a/actix-connect/src/ssl/rustls.rs +++ b/actix-connect/src/ssl/rustls.rs @@ -38,7 +38,7 @@ where { pub fn service(connector: Arc<ClientConfig>) -> RustlsConnectorService<T, U> { RustlsConnector...
19
50
48
e5b5df1261dd30dab2d2f55aeb253b2f751f5fb6
zero-systems
2020-01-21T21:35:22
Optimize vector fill in builder. (#89) * optimize vector fill
diff --git a/actix-server/src/builder.rs b/actix-server/src/builder.rs index df73375..0f3722c 100644 --- a/actix-server/src/builder.rs +++ b/actix-server/src/builder.rs @@ -263,12 +263,14 @@ impl ServerBuilder { info!("Starting {} workers", self.threads); // start workers - let mu...
1
9
7
aed5fecc8a0b994cc871483bcf15b3c5fbb350df
Rajasekharan Vengalil
2020-01-15T19:43:53
Add support for tokio tracing for actix Service. (#86) * Add support for tokio tracing for actix Service. * Address comments * Change trace's return type to ApplyTransform * Remove redundant type args * Remove reference to MakeSpan from docs
diff --git a/Cargo.toml b/Cargo.toml index 1557e0f..1e6643d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ members = [ "actix-testing", "actix-threadpool", "actix-tls", + "actix-tracing", "actix-utils", "router", "string", diff --git a/actix-tracing/Cargo.toml b/actix-tracing/Cargo.toml n...
3
289
0
4bbba803c112e407316c06c8555ad3800745650c
amosonn
2020-01-11T22:44:01
Fix Service documentation (#85)
diff --git a/actix-service/src/lib.rs b/actix-service/src/lib.rs index 0041770..d018e0e 100644 --- a/actix-service/src/lib.rs +++ b/actix-service/src/lib.rs @@ -57,7 +57,7 @@ pub use self::transform::{apply, Transform}; /// /// fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { ......
1
2
2
3b4f2222428940d730f8af128170459aa29a136a
Eric Findlay
2020-01-10T11:52:49
Minor grammatical fix to docs.
diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index a5cbe8e..1653447 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -42,8 +42,8 @@ impl fmt::Debug for ArbiterCommand { #[derive(Debug)] /// Arbiters provide an asynchronous execution environment for actors, functions -/// and f...
1
2
2
33fd6adc11a4f7a31c3d8fa2c2db00e596c8de02
Nikolay Kim
2019-12-12T00:56:45
better InOrder test
diff --git a/actix-utils/src/order.rs b/actix-utils/src/order.rs index 15bf636..fc099b6 100644 --- a/actix-utils/src/order.rs +++ b/actix-utils/src/order.rs @@ -1,10 +1,10 @@ use std::collections::VecDeque; use std::convert::Infallible; use std::fmt; -use std::rc::Rc; use std::future::Future; use std::marker::Phan...
1
10
7
9d84d14ef4926e087b596dc4dfae05272becd838
Nikolay Kim
2019-12-11T08:47:30
update deps
diff --git a/actix-connect/Cargo.toml b/actix-connect/Cargo.toml index e3b9d20..3088638 100644 --- a/actix-connect/Cargo.toml +++ b/actix-connect/Cargo.toml @@ -55,4 +55,4 @@ webpki = { version = "0.21", optional = true } [dev-dependencies] bytes = "0.5.2" -actix-testing = { version="1.0.0-alpha.2" } +actix-testing...
4
5
5
2c81c22b3edfd03b1ee2da651d2fe8ac857deb1d
Nikolay Kim
2019-12-11T08:36:11
refactor ioframe dispatcher
diff --git a/actix-ioframe/src/cell.rs b/actix-ioframe/src/cell.rs deleted file mode 100644 index c14ffef..0000000 --- a/actix-ioframe/src/cell.rs +++ /dev/null @@ -1,39 +0,0 @@ -//! Custom cell impl - -use std::cell::UnsafeCell; -use std::fmt; -use std::rc::Rc; - -pub(crate) struct Cell<T> { - inner: Rc<UnsafeCell<...
8
341
444
dded4825142d6c60b33e4bddfae68fa961eab4f5
Nikolay Kim
2019-12-11T08:36:00
allow to close mpsc sender
diff --git a/actix-utils/src/framed.rs b/actix-utils/src/framed.rs index c924cbe..dfa572e 100644 --- a/actix-utils/src/framed.rs +++ b/actix-utils/src/framed.rs @@ -274,15 +274,11 @@ where State::Error(_) => { // flush write buffer if !self.framed.is_write_buf_...
2
26
7
631cb86947cb2a3d2ccce2db59cf8e6d6fc23680
Nikolay Kim
2019-12-11T06:42:07
refactor framed and stream dispatchers
diff --git a/actix-utils/src/cell.rs b/actix-utils/src/cell.rs index 716982a..ee35125 100644 --- a/actix-utils/src/cell.rs +++ b/actix-utils/src/cell.rs @@ -41,6 +41,7 @@ impl<T> Cell<T> { unsafe { &mut *self.inner.as_ref().get() } } + #[allow(clippy::mut_from_ref)] pub(crate) unsafe fn get_mut_...
3
176
277
13fd6159665d30dabf9725ea3d173e6daed6721d
Nikolay Kim
2019-12-11T04:32:01
actix-macros release
diff --git a/actix-macros/Cargo.toml b/actix-macros/Cargo.toml index f702d51..59af1a9 100644 --- a/actix-macros/Cargo.toml +++ b/actix-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-macros" -version = "0.1.0-alpha.1" +version = "0.1.0" authors = ["Nikolay Kim <fafhrd91@gmail.com>"] description = "Actix r...
1
2
2
25012d290a780a3e15e82c5ac1313d93e3916c45
Nikolay Kim
2019-12-11T04:23:01
update actix-codec dependencies
diff --git a/actix-connect/Cargo.toml b/actix-connect/Cargo.toml index b72afcb..8d88b2a 100644 --- a/actix-connect/Cargo.toml +++ b/actix-connect/Cargo.toml @@ -34,7 +34,7 @@ uri = ["http"] [dependencies] actix-service = "1.0.0-alpha.3" -actix-codec = "0.2.0-alpha.3" +actix-codec = "0.2.0" actix-utils = "1.0.0-alp...
6
6
6
7163e2c2a2c6e442ebeecc82c64d9c0b29a78cb3
Nikolay Kim
2019-12-10T15:11:39
update doc strings
diff --git a/actix-codec/src/lib.rs b/actix-codec/src/lib.rs index 6348b58..fc53b68 100644 --- a/actix-codec/src/lib.rs +++ b/actix-codec/src/lib.rs @@ -7,7 +7,6 @@ //! [`AsyncRead`]: # //! [`AsyncWrite`]: # #![deny(rust_2018_idioms, warnings)] -#![allow(clippy::type_complexity)] mod bcodec; mod framed; diff --g...
8
185
9
1d810b456102f24401dc5f0fb537fafa650f1923
Nikolay Kim
2019-12-10T06:15:27
re-export AlpnError
diff --git a/actix-tls/src/openssl.rs b/actix-tls/src/openssl.rs index 802fe0b..e9dd8a7 100644 --- a/actix-tls/src/openssl.rs +++ b/actix-tls/src/openssl.rs @@ -3,7 +3,7 @@ use std::marker::PhantomData; use std::pin::Pin; use std::task::{Context, Poll}; -pub use open_ssl::ssl::{SslAcceptor, SslAcceptorBuilder}; +pu...
1
1
1
0913badd618103b173f77ef8ff21130667232558
daxpedda
2019-12-10T02:47:35
Macro improvements. (#74) * Macro improvements. * Fix usage in `fn main`.
diff --git a/actix-macros/src/lib.rs b/actix-macros/src/lib.rs index ea16092..811abff 100644 --- a/actix-macros/src/lib.rs +++ b/actix-macros/src/lib.rs @@ -17,25 +17,26 @@ use quote::quote; #[proc_macro_attribute] #[cfg(not(test))] // Work around for rust-lang/rust#62127 pub fn main(_: TokenStream, item: TokenStrea...
1
12
11
a899b1e04d6778b280a4a229090e4bca5a025438
Nikolay Kim
2019-12-07T04:55:54
bump actix-ioframe version
diff --git a/actix-ioframe/Cargo.toml b/actix-ioframe/Cargo.toml index f4315b6..e30b84f 100644 --- a/actix-ioframe/Cargo.toml +++ b/actix-ioframe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-ioframe" -version = "0.3.0-alpha.2" +version = "0.3.0-alpha.3" authors = ["Nikolay Kim <fafhrd91@gmail.com>"] descripti...
1
1
1
393cf1ab25b8f206d3bafa7ac3ebb0e480ee008f
Nikolay Kim
2019-12-07T04:48:22
add unsafe from_bytes_unchecked
diff --git a/string/src/lib.rs b/string/src/lib.rs index df7949a..a458f29 100644 --- a/string/src/lib.rs +++ b/string/src/lib.rs @@ -30,6 +30,11 @@ impl ByteString { pub fn from_static(src: &'static str) -> ByteString { Self(Bytes::from_static(src.as_ref())) } + + /// Creates a new `ByteString` fr...
1
5
0
40fbbb9c327ad2e48a741444df63256443d7f08b
Nikolay Kim
2019-12-07T04:39:33
fix crate name
diff --git a/router/src/lib.rs b/router/src/lib.rs index 9c0e9b4..3d70f59 100644 --- a/router/src/lib.rs +++ b/router/src/lib.rs @@ -29,7 +29,7 @@ impl<'a> ResourcePath for &'a str { } } -impl ResourcePath for bytesrting::ByteString { +impl ResourcePath for bytestring::ByteString { fn path(&self) -> &str {...
1
1
1
99fef4f06bcd32fabf96fcfc5245cf2b4286a602
Nikolay Kim
2019-12-07T04:22:08
add helper conversions
diff --git a/string/src/lib.rs b/string/src/lib.rs index a8fab28..df7949a 100644 --- a/string/src/lib.rs +++ b/string/src/lib.rs @@ -90,6 +90,24 @@ impl TryFrom<Vec<u8>> for ByteString { } } +impl TryFrom<Bytes> for ByteString { + type Error = str::Utf8Error; + + fn try_from(value: Bytes) -> Result<Self, ...
1
29
1
fc0825fcdd8facdc6f44ad89d96edd14d0822c4e
Nikolay Kim
2019-12-07T04:15:26
update tokio to 0.2.4
diff --git a/actix-codec/Cargo.toml b/actix-codec/Cargo.toml index d0eb6f0..67744c4 100644 --- a/actix-codec/Cargo.toml +++ b/actix-codec/Cargo.toml @@ -21,6 +21,6 @@ path = "src/lib.rs" bitflags = "1.2.1" bytes = "0.5.2" futures = "0.3.1" -tokio = { version = "0.2.3", default-features=false } +tokio = { version = "...
4
5
5
6f07c9d72abbc8fc10b127a82eb50389c125a59e
Nikolay Kim
2019-12-06T08:08:11
update trust-dns
diff --git a/actix-connect/Cargo.toml b/actix-connect/Cargo.toml index 5ddaf26..52e11e9 100644 --- a/actix-connect/Cargo.toml +++ b/actix-connect/Cargo.toml @@ -43,7 +43,7 @@ futures = "0.3.1" http = { version = "0.2.0", optional = true } log = "0.4" # trust-dns-resolver = { version="0.18.0", default-features = fals...
1
1
1
fa48ddcfa1ec92b64ea0d024746021a7c479f221
Nikolay Kim
2019-12-06T08:06:14
fix non unix signals support
diff --git a/actix-server/src/signals.rs b/actix-server/src/signals.rs index 7da8ea4..db22658 100644 --- a/actix-server/src/signals.rs +++ b/actix-server/src/signals.rs @@ -8,25 +8,23 @@ use futures::future::lazy; use crate::server::Server; /// Different types of process signals +#[allow(dead_code)] #[derive(Parti...
1
11
14
f89a992daf4cf753ae3614b243711a200c9748f7
Max Gortman
2019-12-06T04:34:44
eager drop in then, and_then, and_then_apply_fn (#72)
diff --git a/actix-service/src/and_then.rs b/actix-service/src/and_then.rs index 1c7d52b..690d0cb 100644 --- a/actix-service/src/and_then.rs +++ b/actix-service/src/and_then.rs @@ -51,7 +51,7 @@ where fn call(&mut self, req: A::Request) -> Self::Future { AndThenServiceResponse { - state: Stat...
3
34
13
e670a32ff39608f67cf4499b084757c7ab9d0f9c
Nikolay Kim
2019-12-05T19:34:13
inclide stream feature
diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index 8b1a058..e1e5990 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -22,4 +22,4 @@ actix-macros = "0.1.0-alpha.1" actix-threadpool = "0.3" futures = "0.3.1" copyless = "0.1.4" -tokio = { version = "0.2.2", default-features=false, features=["rt-c...
1
1
1
021c742d22079e915e31bfcf61b7803627fc7e4c
Nikolay Kim
2019-12-05T18:10:27
use string crate from master
diff --git a/router/Cargo.toml b/router/Cargo.toml index 7ed2dab..cb8785f 100644 --- a/router/Cargo.toml +++ b/router/Cargo.toml @@ -22,7 +22,8 @@ default = ["http"] [dependencies] regex = "1.3.1" serde = "1.0.80" -string = "0.2.1" +# string = "0.2.1" +string = { git = "https://github.com/carllerche/string.git" } l...
1
2
1
88a60ffa66bc132b166a636f9d82e11a1b1b56e2
Nikolay Kim
2019-12-05T17:09:34
reexport ssl types
diff --git a/actix-connect/src/ssl/mod.rs b/actix-connect/src/ssl/mod.rs index 8b3bd2e..8ace5ef 100644 --- a/actix-connect/src/ssl/mod.rs +++ b/actix-connect/src/ssl/mod.rs @@ -1,13 +1,7 @@ //! SSL Services #[cfg(feature = "openssl")] -mod openssl; -#[cfg(feature = "openssl")] -pub use self::openssl::{ - Openssl...
5
12
13
cb2845cb26d472349e3075c860c8615ac101e9ab
Nikolay Kim
2019-12-05T14:58:28
fix dependencies
diff --git a/actix-tls/Cargo.toml b/actix-tls/Cargo.toml index a5abd3e..acd463a 100644 --- a/actix-tls/Cargo.toml +++ b/actix-tls/Cargo.toml @@ -26,7 +26,7 @@ default = [] openssl = ["open-ssl", "tokio-openssl"] # rustls -rustls = ["rust-tls", "webpki"] +rustls = ["rust-tls", "webpki", "webpki-roots", "tokio-rustls...
1
1
1
de846637685a35a27ae22ad1f19c7a50f113d9e8
Nikolay Kim
2019-12-04T09:52:49
fix initial worker service state
diff --git a/actix-server/src/worker.rs b/actix-server/src/worker.rs index c927ed9..2965e3a 100644 --- a/actix-server/src/worker.rs +++ b/actix-server/src/worker.rs @@ -200,7 +200,7 @@ impl Worker { wrk.services.push(WorkerService { factory, ...
1
1
1
c4e20513276fa729050ca208681673994160cf5b
Nikolay Kim
2019-12-04T09:12:02
refactor server worker
diff --git a/actix-server/src/lib.rs b/actix-server/src/lib.rs index 50df114..5143164 100644 --- a/actix-server/src/lib.rs +++ b/actix-server/src/lib.rs @@ -25,7 +25,7 @@ pub(crate) struct Token(usize); impl Token { pub(crate) fn next(&mut self) -> Token { - let token = Token(self.0 + 1); + let to...
3
121
88
2756bedc3d8ef2036bf80e700060bd1e69bbfa8c
Aaron Housh
2019-12-03T04:07:54
Fix for non Unix OS (#69)
diff --git a/actix-rt/src/lib.rs b/actix-rt/src/lib.rs index c56fe73..d2dd13c 100644 --- a/actix-rt/src/lib.rs +++ b/actix-rt/src/lib.rs @@ -53,6 +53,7 @@ pub mod net { pub use tokio::net::{UnixDatagram, UnixListener, UnixStream}; } + #[cfg(unix)] pub use self::unix::*; } diff --git a/actix-s...
2
5
1
bd4c4cda8b96997d3cf00940863c4d571b6549f9
Nikolay Kim
2019-12-02T16:49:02
update threadpool
diff --git a/actix-rt/Cargo.toml b/actix-rt/Cargo.toml index 5f7910b..b2315ae 100644 --- a/actix-rt/Cargo.toml +++ b/actix-rt/Cargo.toml @@ -19,7 +19,7 @@ path = "src/lib.rs" [dependencies] actix-macros = "0.1.0-alpha.1" -actix-threadpool = "0.2" +actix-threadpool = "0.3" futures = "0.3.1" copyless = "0.1.4"
1
1
1
9ed35cca7abbe0cb216333958a6614db058f58d3
Nikolay Kim
2019-12-02T15:27:48
use owned value for service factory config
diff --git a/actix-connect/src/connector.rs b/actix-connect/src/connector.rs index fa78b8a..c0cf6ab 100644 --- a/actix-connect/src/connector.rs +++ b/actix-connect/src/connector.rs @@ -49,7 +49,7 @@ impl<T: Address> ServiceFactory for TcpConnectorFactory<T> { type InitError = (); type Future = Ready<Result<Se...
30
112
143
3385682e0919fb2469c95212103cdebecb7872df
Nikolay Kim
2019-12-02T11:04:42
remove server feature
diff --git a/actix-connect/src/ssl/openssl.rs b/actix-connect/src/ssl/openssl.rs index 184eb19..bae1cb5 100644 --- a/actix-connect/src/ssl/openssl.rs +++ b/actix-connect/src/ssl/openssl.rs @@ -4,8 +4,8 @@ use std::pin::Pin; use std::task::{Context, Poll}; use std::{fmt, io}; -use actix_rt::net::TcpStream; use acti...
3
2
21
f55f96bc77ec1e773ebf753d1676869faf6b61f7
Nikolay Kim
2019-12-02T05:49:42
fix dependencies
diff --git a/actix-connect/src/ssl/openssl.rs b/actix-connect/src/ssl/openssl.rs index 6cbe3d6..184eb19 100644 --- a/actix-connect/src/ssl/openssl.rs +++ b/actix-connect/src/ssl/openssl.rs @@ -4,11 +4,11 @@ use std::pin::Pin; use std::task::{Context, Poll}; use std::{fmt, io}; +use actix_rt::net::TcpStream; use ac...
3
3
3