File tree Expand file tree Collapse file tree 5 files changed +2
-13
lines changed Expand file tree Collapse file tree 5 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ native-tls = ["tokio-native-tls"]
42
42
uri = [" http" ]
43
43
44
44
[dependencies ]
45
- actix-rt = { version = " 2.2.0 " , default-features = false }
45
+ actix-rt = { version = " 2.2" , default-features = false }
46
46
actix-service = " 2"
47
47
actix-utils = " 3"
48
48
Original file line number Diff line number Diff line change 21
21
use tokio_rustls:: rustls;
22
22
23
23
use std:: {
24
- env,
25
24
fs:: File ,
26
25
io:: { self , BufReader } ,
27
26
sync:: {
Original file line number Diff line number Diff line change @@ -10,15 +10,12 @@ use std::{
10
10
use actix_utils:: counter:: Counter ;
11
11
12
12
#[ cfg( feature = "openssl" ) ]
13
- #[ cfg_attr( docsrs, doc( cfg( feature = "openssl" ) ) ) ]
14
13
pub mod openssl;
15
14
16
15
#[ cfg( feature = "rustls" ) ]
17
- #[ cfg_attr( docsrs, doc( cfg( feature = "rustls" ) ) ) ]
18
16
pub mod rustls;
19
17
20
18
#[ cfg( feature = "native-tls" ) ]
21
- #[ cfg_attr( docsrs, doc( cfg( feature = "native-tls" ) ) ) ]
22
19
pub mod native_tls;
23
20
24
21
pub ( crate ) static MAX_CONN : AtomicUsize = AtomicUsize :: new ( 256 ) ;
Original file line number Diff line number Diff line change @@ -22,19 +22,15 @@ mod resolver;
22
22
pub mod tcp;
23
23
24
24
#[ cfg( feature = "uri" ) ]
25
- #[ cfg_attr( docsrs, doc( cfg( feature = "uri" ) ) ) ]
26
25
mod uri;
27
26
28
27
#[ cfg( feature = "openssl" ) ]
29
- #[ cfg_attr( docsrs, doc( cfg( feature = "openssl" ) ) ) ]
30
28
pub mod openssl;
31
29
32
30
#[ cfg( feature = "rustls" ) ]
33
- #[ cfg_attr( docsrs, doc( cfg( feature = "rustls" ) ) ) ]
34
31
pub mod rustls;
35
32
36
33
#[ cfg( feature = "native-tls" ) ]
37
- #[ cfg_attr( docsrs, doc( cfg( feature = "native-tls" ) ) ) ]
38
34
pub mod native_tls;
39
35
40
36
pub use self :: connection:: Connection ;
Original file line number Diff line number Diff line change 4
4
#![ warn( future_incompatible, missing_docs) ]
5
5
#![ doc( html_logo_url = "https://actix.rs/img/logo.png" ) ]
6
6
#![ doc( html_favicon_url = "https://actix.rs/favicon.ico" ) ]
7
- // enable unstable doc_cfg feature only on on docs.rs where nightly compiler is used
8
- #![ cfg_attr( docsrs, feature( doc_cfg) ) ]
7
+ #![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
9
8
10
9
#[ cfg( feature = "openssl" ) ]
11
10
#[ allow( unused_extern_crates) ]
12
11
extern crate tls_openssl as openssl;
13
12
14
13
#[ cfg( feature = "accept" ) ]
15
- #[ cfg_attr( docsrs, doc( cfg( feature = "accept" ) ) ) ]
16
14
pub mod accept;
17
15
18
16
#[ cfg( feature = "connect" ) ]
19
- #[ cfg_attr( docsrs, doc( cfg( feature = "connect" ) ) ) ]
20
17
pub mod connect;
You can’t perform that action at this time.
0 commit comments