changelog shortlog graph tags branches changeset files revisions annotate raw help

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

changeset 307: 0abefe2a369b
parent: 611060cba9f0
author: Richard Westhaver <ellis@rwest.io>
date: Thu, 02 May 2024 20:15:11 +0000
permissions: -rw-r--r--
description: update dependencies
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"]
15 server = ["hyper", "axum", "tower-http"]
16 http = ["hyper","axum","tower-http","reqwest","oauth2","urlencoding","headers","tower-sessions"]
17 tls = ["hyper-rustls", "http"]
18 quic = ["quinn"]
19 graphql = ["async-graphql-axum", "async-graphql"]
20 dns = ["hickory-resolver"]
21 tun = ["tokio-tun"]
22 ws = ["tokio-tungstenite"]
23 wss = ["tokio-tungstenite/rustls", "ws"]
24 
25 [dependencies]
26 # rlib
27 obj = { path = "../obj", features = ["oauth"] }
28 # contrib
29 futures = "0.3"
30 bytes = "1.6"
31 logger = { path = "../logger" }
32 url = "2.5"
33 serde_json = "1"
34 tokio-util = { version = "0.7", features = ["full"] }
35 tokio = { version = "1.37.0", default-features = false, features = ["net", "io-util"] }
36 tokio-stream = { version = "0.1.15", features = ["net"] }
37 ## runtimes
38 quinn = { version = "0.10", features = ["tls-rustls"], optional = true }
39 hyper = { version = "1.3", optional = true }
40 hyper-rustls = {version = "0.24", optional = true}
41 urlencoding = { version = "2.1", optional = true}
42 reqwest = {version = "0.11", features = ["json", "socks", "rustls-tls", "stream"], optional = true}
43 axum = {version = "0.7.5", optional = true, features = ["tracing", "macros"] }
44 headers = {version = "0.4", optional = true}
45 mime = {version = "0.3.17", optional = true}
46 async-session = {version = "3.0.0", optional = true}
47 oauth2 = {version = "4.4.2", optional = true}
48 tower-http = {version = "0.5", features = ["fs", "trace"], optional = true}
49 tower-sessions = {version = "0.9", optional = true}
50 hickory-resolver = {version = "0.24", features = [], optional = true}
51 tokio-tun = {version = "0.11.4", optional = true}
52 ipnetwork = "0.20"
53 tokio-tungstenite = {version = "0.21.0", optional = true}
54 trait-variant = "0.1.2"
55 async-graphql-axum = { version = "7.0.3", optional = true }
56 async-graphql = { version = "7.0.3", optional = true, features = ["dynamic-schema"] }