-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
104 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ jobs: | |
- name: Setup mold linker | ||
if: matrix.target.os == 'ubuntu-latest' | ||
uses: rui314/setup-mold@v1 | ||
|
||
- name: Install nasm | ||
if: matrix.target.os == 'windows-latest' | ||
uses: ilammy/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
exclude = ["target/*"] | ||
include = ["**/*.toml"] | ||
|
||
[formatting] | ||
column_width = 110 | ||
|
||
[[rule]] | ||
include = ["**/Cargo.toml"] | ||
keys = [ | ||
"dependencies", | ||
"*-dependencies", | ||
"workspace.dependencies", | ||
"workspace.*-dependencies", | ||
"target.*.dependencies", | ||
"target.*.*-dependencies", | ||
] | ||
formatting.reorder_keys = true | ||
|
||
[[rule]] | ||
include = ["**/Cargo.toml"] | ||
keys = [ | ||
"dependencies.*", | ||
"*-dependencies.*", | ||
"workspace.dependencies.*", | ||
"workspace.*-dependencies.*", | ||
"target.*.dependencies", | ||
"target.*.*-dependencies", | ||
] | ||
formatting.reorder_keys = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
[package] | ||
name = "actix-codec" | ||
version = "0.5.2" | ||
authors = [ | ||
"Nikolay Kim <[email protected]>", | ||
"Rob Ede <[email protected]>", | ||
] | ||
authors = ["Nikolay Kim <[email protected]>", "Rob Ede <[email protected]>"] | ||
description = "Codec utilities for working with framed protocols" | ||
keywords = ["network", "framework", "async", "futures"] | ||
repository = "https://github.com/actix/actix-net" | ||
|
@@ -14,13 +11,7 @@ edition.workspace = true | |
rust-version.workspace = true | ||
|
||
[package.metadata.cargo_check_external_types] | ||
allowed_external_types = [ | ||
"bytes::*", | ||
"futures_core::*", | ||
"futures_sink::*", | ||
"tokio::*", | ||
"tokio_util::*", | ||
] | ||
allowed_external_types = ["bytes::*", "futures_core::*", "futures_sink::*", "tokio::*", "tokio_util::*"] | ||
|
||
[dependencies] | ||
bitflags = "2" | ||
|
@@ -40,3 +31,6 @@ tokio-test = "0.4.2" | |
[[bench]] | ||
name = "lines" | ||
harness = false | ||
|
||
[lints] | ||
workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#![allow(missing_docs)] | ||
|
||
use bytes::BytesMut; | ||
use criterion::{criterion_group, criterion_main, Criterion}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
name = "actix-macros" | ||
version = "0.2.4" | ||
authors = [ | ||
"Nikolay Kim <[email protected]>", | ||
"Ibraheem Ahmed <[email protected]>", | ||
"Rob Ede <[email protected]>", | ||
"Nikolay Kim <[email protected]>", | ||
"Ibraheem Ahmed <[email protected]>", | ||
"Rob Ede <[email protected]>", | ||
] | ||
description = "Macros for Actix system and runtime" | ||
repository = "https://github.com/actix/actix-net" | ||
|
@@ -15,7 +15,7 @@ rust-version.workspace = true | |
|
||
[package.metadata.cargo-machete] | ||
ignored = [ | ||
"proc_macro2", # specified for minimal versions compat | ||
"proc_macro2", # specified for minimal versions compat | ||
] | ||
|
||
[lib] | ||
|
@@ -34,3 +34,6 @@ actix-rt = "2" | |
futures-util = { version = "0.3.17", default-features = false } | ||
rustversion-msrv = "0.100" | ||
trybuild = "1" | ||
|
||
[lints] | ||
workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
[package] | ||
name = "actix-rt" | ||
version = "2.10.0" | ||
authors = [ | ||
"Nikolay Kim <[email protected]>", | ||
"Rob Ede <[email protected]>", | ||
] | ||
authors = ["Nikolay Kim <[email protected]>", "Rob Ede <[email protected]>"] | ||
description = "Tokio-based single-threaded async runtime for the Actix ecosystem" | ||
keywords = ["async", "futures", "io", "runtime"] | ||
homepage = "https://actix.rs" | ||
|
@@ -15,10 +12,7 @@ edition.workspace = true | |
rust-version.workspace = true | ||
|
||
[package.metadata.cargo_check_external_types] | ||
allowed_external_types = [ | ||
"actix_macros::*", | ||
"tokio::*", | ||
] | ||
allowed_external_types = ["actix_macros::*", "tokio::*"] | ||
|
||
[features] | ||
default = ["macros"] | ||
|
@@ -37,3 +31,6 @@ tokio-uring = { version = "0.5", optional = true } | |
|
||
[dev-dependencies] | ||
tokio = { version = "1.23.1", features = ["full"] } | ||
|
||
[lints] | ||
workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
name = "actix-server" | ||
version = "2.5.0" | ||
authors = [ | ||
"Nikolay Kim <[email protected]>", | ||
"Rob Ede <[email protected]>", | ||
"Ali MJ Al-Nasrawy <[email protected]>", | ||
"Nikolay Kim <[email protected]>", | ||
"Rob Ede <[email protected]>", | ||
"Ali MJ Al-Nasrawy <[email protected]>", | ||
] | ||
description = "General purpose TCP server built for the Actix ecosystem" | ||
keywords = ["network", "tcp", "server", "framework", "async"] | ||
|
@@ -16,9 +16,7 @@ edition.workspace = true | |
rust-version.workspace = true | ||
|
||
[package.metadata.cargo_check_external_types] | ||
allowed_external_types = [ | ||
"tokio::*", | ||
] | ||
allowed_external_types = ["tokio::*"] | ||
|
||
[features] | ||
default = [] | ||
|
@@ -28,7 +26,6 @@ io-uring = ["tokio-uring", "actix-rt/io-uring"] | |
actix-rt = { version = "2.10", default-features = false } | ||
actix-service = "2" | ||
actix-utils = "3" | ||
|
||
futures-core = { version = "0.3.17", default-features = false, features = ["alloc"] } | ||
futures-util = { version = "0.3.17", default-features = false, features = ["alloc"] } | ||
mio = { version = "1", features = ["os-poll", "net"] } | ||
|
@@ -45,6 +42,9 @@ actix-codec = "0.5" | |
actix-rt = "2.8" | ||
|
||
bytes = "1" | ||
pretty_env_logger = "0.5" | ||
futures-util = { version = "0.3.17", default-features = false, features = ["sink", "async-await-macro"] } | ||
pretty_env_logger = "0.5" | ||
tokio = { version = "1.23.1", features = ["io-util", "rt-multi-thread", "macros", "fs"] } | ||
|
||
[lints] | ||
workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
[package] | ||
name = "actix-service" | ||
version = "2.0.2" | ||
authors = [ | ||
"Nikolay Kim <[email protected]>", | ||
"Rob Ede <[email protected]>", | ||
] | ||
authors = ["Nikolay Kim <[email protected]>", "Rob Ede <[email protected]>"] | ||
description = "Service trait and combinators for representing asynchronous request/response operations." | ||
keywords = ["network", "framework", "async", "futures", "service"] | ||
categories = ["network-programming", "asynchronous", "no-std"] | ||
|
@@ -22,3 +19,6 @@ pin-project-lite = "0.2" | |
actix-rt = "2" | ||
actix-utils = "3" | ||
futures-util = { version = "0.3.17", default-features = false } | ||
|
||
[lints] | ||
workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
[package] | ||
name = "actix-tls" | ||
version = "3.4.0" | ||
authors = [ | ||
"Nikolay Kim <[email protected]>", | ||
"Rob Ede <[email protected]>", | ||
] | ||
authors = ["Nikolay Kim <[email protected]>", "Rob Ede <[email protected]>"] | ||
description = "TLS acceptor and connector services for Actix ecosystem" | ||
keywords = ["network", "tls", "ssl", "async", "transport"] | ||
repository = "https://github.com/actix/actix-net.git" | ||
|
@@ -18,17 +15,12 @@ all-features = true | |
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[package.metadata.cargo_check_external_types] | ||
allowed_external_types = [ | ||
"actix_service::*", | ||
"actix_utils::*", | ||
"futures_core::*", | ||
"tokio::*", | ||
] | ||
allowed_external_types = ["actix_service::*", "actix_utils::*", "futures_core::*", "tokio::*"] | ||
|
||
[package.metadata.cargo-machete] | ||
ignored = [ | ||
"rustls_021", # specified to force version with add_trust_anchors method | ||
"rustls_webpki_0101", # specified to force secure version | ||
"rustls_021", # specified to force version with add_trust_anchors method | ||
"rustls_webpki_0101", # specified to force secure version | ||
] | ||
|
||
[features] | ||
|
@@ -76,7 +68,6 @@ uri = ["dep:http-0_2", "dep:http-1"] | |
actix-rt = { version = "2.2", default-features = false } | ||
actix-service = "2" | ||
actix-utils = "3" | ||
|
||
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] } | ||
impl-more = "0.1" | ||
pin-project-lite = "0.2.7" | ||
|
@@ -120,17 +111,17 @@ rustls-native-certs-07 = { package = "rustls-native-certs", version = "0.7", opt | |
tokio-native-tls = { version = "0.3", optional = true } | ||
|
||
[target.'cfg(any())'.dependencies] | ||
rustls-021 = { package = "rustls", version = "0.21.6", optional = true } # force version with add_trust_anchors method | ||
rustls-021 = { package = "rustls", version = "0.21.6", optional = true } # force version with add_trust_anchors method | ||
rustls-webpki-0101 = { package = "rustls-webpki", version = "0.101.4", optional = true } # force secure version | ||
|
||
[dev-dependencies] | ||
actix-codec = "0.5" | ||
actix-rt = "2.2" | ||
actix-server = "2" | ||
bytes = "1" | ||
pretty_env_logger = "0.5" | ||
futures-util = { version = "0.3.17", default-features = false, features = ["sink"] } | ||
itertools = "0.13" | ||
pretty_env_logger = "0.5" | ||
rcgen = "0.13" | ||
rustls-pemfile = "2" | ||
tokio-rustls-026 = { package = "tokio-rustls", version = "0.26" } | ||
|
@@ -139,3 +130,6 @@ trust-dns-resolver = "0.23" | |
[[example]] | ||
name = "accept-rustls" | ||
required-features = ["accept", "rustls-0_23"] | ||
|
||
[lints] | ||
workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.