Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
only remain runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Jul 15, 2023
1 parent 80a7bb0 commit 492401c
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 4,988 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"git-blame.gitWebUrl": ""
}
32 changes: 3 additions & 29 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "salvo-utils"
version = "0.0.4"
version = "0.0.5"
description = "hyper utilities"
readme = "README.md"
homepage = "https://salvo.rs"
Expand All @@ -14,45 +14,19 @@ edition = "2018"

[dependencies]
hyper = "=1.0.0-rc.4"
futures-channel = "0.3"
futures-util = { version = "0.3", default-features = false }
http = "0.2"

once_cell = "1.17"

pin-project-lite = "0.2.4"
socket2 = "0.4"
tracing = { version = "0.1", default-features = false, features = ["std"] }
tokio = { version = "1", features = ["net", "rt", "time"] }
tower-service = "0.3"
tower = { version = "0.4", features = ["make", "util"] }

[dev-dependencies]
bytes = "1"
http-body-util = "0.1.0-rc.3"
tokio = { version = "1", features = ["macros", "test-util"] }

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies]
pnet_datalink = "0.27.2"

[features]
default = []

# Shorthand to enable everything
full = ["client", "server", "http1", "http2", "tcp", "runtime"]

client = ["hyper/client"]
server = ["hyper/server"]

http1 = ["hyper/http1"]
http2 = ["hyper/http2"]

tcp = []
runtime = []

# internal features used in CI
__internal_happy_eyeballs_tests = []

[[example]]
name = "client"
required-features = ["client", "http1", "tcp", "runtime"]
full = ["runtime"]
runtime = []
37 changes: 0 additions & 37 deletions examples/client.rs

This file was deleted.

132 changes: 0 additions & 132 deletions src/client/client.rs

This file was deleted.

Loading

0 comments on commit 492401c

Please sign in to comment.