diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-06-29 01:43:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-29 01:43:03 +0200 |
| commit | 38a7128cdd6f3308ba3c13cfb0b0d4ef925a44c3 (patch) | |
| tree | 8f0c86028d9ba0266f1846e7f3611f7049cb43a8 /extensions/net/Cargo.toml | |
| parent | 30cba2484815f712502ae8937a25afa13aba0818 (diff) | |
feat: Add "deno_net" extension (#11150)
This commits moves implementation of net related APIs available on "Deno"
namespace to "deno_net" extension.
Following APIs were moved:
- Deno.listen()
- Deno.connect()
- Deno.listenTls()
- Deno.serveHttp()
- Deno.shutdown()
- Deno.resolveDns()
- Deno.listenDatagram()
- Deno.startTls()
- Deno.Conn
- Deno.Listener
- Deno.DatagramConn
Diffstat (limited to 'extensions/net/Cargo.toml')
| -rw-r--r-- | extensions/net/Cargo.toml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extensions/net/Cargo.toml b/extensions/net/Cargo.toml new file mode 100644 index 000000000..9d5e97bbb --- /dev/null +++ b/extensions/net/Cargo.toml @@ -0,0 +1,31 @@ +# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. + +[package] +name = "deno_net" +version = "0.1.0" +edition = "2018" +description = "Networking for Deno" +authors = ["the Deno authors"] +license = "MIT" +readme = "README.md" +repository = "https://github.com/denoland/deno" + +[lib] +path = "lib.rs" + +[dependencies] +deno_core = { version = "0.92.0", path = "../../core" } + +bytes = "1" +log = "0.4.14" +lazy_static = "1.4.0" +http = "0.2.3" +hyper = { version = "0.14.9", features = ["server", "stream", "http1", "http2", "runtime"] } +rustls = "0.19.0" +serde = { version = "1.0.125", features = ["derive"] } +tokio = { version = "1.7.1", features = ["full"] } +tokio-util = { version = "0.6", features = ["io"] } +webpki = "0.21.4" +webpki-roots = "0.21.1" +trust-dns-proto = "0.20.3" +trust-dns-resolver = { version = "0.20.3", features = ["tokio-runtime", "serde-config"] } |
