changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / rust/lib/net/Cargo.toml

changeset 148: 0d9d5cd46af5
parent: c7165d93a9eb
child: 2d1fe1d7b738
author: ellis <ellis@rwest.io>
date: Sat, 30 Dec 2023 02:46:47 -0500
permissions: -rw-r--r--
description: added net/stream.rs, change def-ts-lang to macrolet form
1 [package]
2 name = "net"
3 version = "0.1.0"
4 authors = ["ellis"]
5 edition = "2018"
6 description = "Network Client/Server Modules"
7 documentation = "https://docs.rwest.io/kala"
8 repository = "https://hg.rwest.io/rlib"
9 publish = ["crater"]
10 
11 [features]
12 default = ["client", "server"]
13 full = ["client", "server", "quic", "http", "dns", "wss", "tun", "tls"]
14 client = ["reqwest", "async-trait"]
15 server = ["hyper", "async-trait", "axum", "tower-http"]
16 http = ["hyper","axum","tower-http","reqwest","oauth2","urlencoding","headers","http-rs"]
17 tls = ["hyper-rustls", "http"]
18 quic = ["quinn"]
19 dns = ["trust-dns-resolver"]
20 tun = ["tokio-tun"]
21 ws = ["tokio-tungstenite"]
22 wss = ["tokio-tungstenite/rustls-tls", "ws"]
23 
24 [dependencies]
25 # rlib
26 obj = { path = "../obj", features = ["oauth"] }
27 # contrib
28 futures = "0.3.16"
29 bytes = "1.0.1"
30 logger = { path = "../logger" }
31 url = "2.2.2"
32 serde_json = "1.0.68"
33 tokio-util = { version = "0.6.7", features = ["full"] }
34 async-trait = { version = "0.1.51", optional = true }
35 tokio = { version = "1.35.1", default-features = false, features = ["net", "io-util"] }
36 tokio-stream = { version = "0.1.14", features = ["net"] }
37 ## runtimes
38 quinn = { version = "0.7.2", features = ["tls-rustls"], optional = true }
39 hyper = { version = "0.14.11", optional = true }
40 hyper-rustls = {version = "0.22.1", optional = true}
41 http-rs = { version = "0.2.4", package = "http", optional = true }
42 urlencoding = { version = "2.1.0", optional = true}
43 reqwest = {version = "0.11.4", features = ["json", "socks", "rustls-tls"], optional = true}
44 axum = {version = "0.7.3", optional = true}
45 headers = {version = "0.3", optional = true}
46 mime = {version = "0.3.16", optional = true}
47 async-session = {version = "3.0.0", optional = true}
48 oauth2 = {version = "4.1.0", optional = true}
49 tower-http = {version = "0.1", features = ["fs", "trace"], optional = true}
50 trust-dns-resolver = {version = "0.20.3", features = [], optional = true}
51 tokio-tun = {version = "0.3.15", optional = true}
52 ipnetwork = "0.18.0"
53 tokio-tungstenite = {version = "0.15.0", optional = true}