diff --git a/.dprint.json b/.dprint.json index 97ba241d72..9b375be115 100644 --- a/.dprint.json +++ b/.dprint.json @@ -11,7 +11,7 @@ "json": { "deno": true }, - "includes": ["**/*.{ts,tsx,js,jsx,json,md}"], + "includes": ["**/*.{ts,tsx,js,jsx,json,md,toml}"], "excludes": [ ".cargo_home", ".git", @@ -37,6 +37,7 @@ "plugins": [ "https://plugins.dprint.dev/typescript-0.47.0.wasm", "https://plugins.dprint.dev/json-0.12.1.wasm", - "https://plugins.dprint.dev/markdown-0.9.1.wasm" + "https://plugins.dprint.dev/markdown-0.9.1.wasm", + "https://plugins.dprint.dev/toml-0.4.0.wasm" ] } diff --git a/.rustfmt.toml b/.rustfmt.toml index 89ad8756fc..00157aef26 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,4 +1,4 @@ # Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. max_width = 80 tab_spaces = 2 -edition = "2018" \ No newline at end of file +edition = "2018" diff --git a/Cargo.toml b/Cargo.toml index d8ab443ce2..e90f005f29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ members = [ "extensions/webgpu", "extensions/webidl", "extensions/websocket", - "extensions/webstorage" + "extensions/webstorage", ] exclude = ["test_util/std/hash/_wasm"] diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 65e1f1c58c..9726906fb3 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -4,11 +4,11 @@ name = "deno_bench_util" version = "0.7.0" authors = ["the Deno authors"] edition = "2018" -description = "Bench and profiling utilities for deno crates" license = "MIT" +publish = true readme = "README.md" repository = "https://github.com/denoland/deno" -publish = true +description = "Bench and profiling utilities for deno crates" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c069794432..6efe071a78 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno" version = "1.12.2" -license = "MIT" authors = ["the Deno authors"] -edition = "2018" -description = "Provides the deno executable" -repository = "https://github.com/denoland/deno" default-run = "deno" +edition = "2018" +license = "MIT" +repository = "https://github.com/denoland/deno" +description = "Provides the deno executable" [[bin]] name = "deno" @@ -62,7 +62,7 @@ fancy-regex = "0.5.0" filetime = "0.2.14" http = "0.2.4" # TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved -indexmap = { version = "=1.6.2", features = ["serde"] } +indexmap = { version = "=1.6.2", features = ["serde"] } jsonc-parser = { version = "0.17.0", features = ["serde"] } lazy_static = "1.4.0" libc = "0.2.98" @@ -72,8 +72,8 @@ notify = "5.0.0-pre.10" num_cpus = "1.13.0" percent-encoding = "2.1.0" pin-project = "1.0.7" +rand = { version = "0.8.4", features = ["small_rng"] } regex = "1.4.3" -rand = { version = "0.8.4", features = [ "small_rng" ] } ring = "0.16.20" rustyline = { version = "8.2.0", default-features = false } rustyline-derive = "0.4.0" @@ -102,8 +102,8 @@ chrono = "0.4.19" os_pipe = "0.9.2" test_util = { path = "../test_util" } tower-test = "0.4.0" -trust-dns-server = "0.20.3" trust-dns-client = "0.20.3" +trust-dns-server = "0.20.3" [target.'cfg(unix)'.dev-dependencies] exec = "0.3.1" # Used in test_raw_tty diff --git a/core/Cargo.toml b/core/Cargo.toml index 5c30f5a4df..e068cbc46f 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -2,12 +2,12 @@ [package] name = "deno_core" version = "0.95.0" -edition = "2018" -description = "A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio" [lib] path = "lib.rs" diff --git a/extensions/broadcast_channel/Cargo.toml b/extensions/broadcast_channel/Cargo.toml index faec941509..e6622d2934 100644 --- a/extensions/broadcast_channel/Cargo.toml +++ b/extensions/broadcast_channel/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_broadcast_channel" version = "0.7.0" -edition = "2018" -description = "Implementation of BroadcastChannel API for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "Implementation of BroadcastChannel API for Deno" [lib] path = "lib.rs" diff --git a/extensions/console/Cargo.toml b/extensions/console/Cargo.toml index dc11a9234d..800e7fa25a 100644 --- a/extensions/console/Cargo.toml +++ b/extensions/console/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_console" version = "0.13.0" -edition = "2018" -description = "Implementation of Console API for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "Implementation of Console API for Deno" [lib] path = "lib.rs" diff --git a/extensions/crypto/Cargo.toml b/extensions/crypto/Cargo.toml index f4935a9e89..faa56bc66b 100644 --- a/extensions/crypto/Cargo.toml +++ b/extensions/crypto/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_crypto" version = "0.27.0" -edition = "2018" -description = "Web Cryptography API implementation for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "Web Cryptography API implementation for Deno" [lib] path = "lib.rs" @@ -16,13 +16,13 @@ path = "lib.rs" [dependencies] deno_core = { version = "0.95.0", path = "../../core" } deno_web = { version = "0.44.0", path = "../web" } -tokio = { version = "1.8.1", features = ["full"] } +lazy_static = "1.4.0" +num-traits = "0.2.14" rand = "0.8.4" ring = { version = "0.16.20", features = ["std"] } rsa = "0.4.0" # TODO: remove "pem" feature when next release is on crates.io +serde = { version = "1.0.126", features = ["derive"] } sha-1 = "0.9.6" sha2 = "0.9.5" -serde = { version = "1.0.126", features = ["derive"] } +tokio = { version = "1.8.1", features = ["full"] } uuid = { version = "0.8.2", features = ["v4"] } -lazy_static = "1.4.0" -num-traits = "0.2.14" \ No newline at end of file diff --git a/extensions/fetch/Cargo.toml b/extensions/fetch/Cargo.toml index 810be2f235..9c9a642229 100644 --- a/extensions/fetch/Cargo.toml +++ b/extensions/fetch/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_fetch" version = "0.36.0" -edition = "2018" -description = "Fetch API implementation for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "Fetch API implementation for Deno" [lib] path = "lib.rs" diff --git a/extensions/http/Cargo.toml b/extensions/http/Cargo.toml index 1bf946bea4..c7c01eb1f0 100644 --- a/extensions/http/Cargo.toml +++ b/extensions/http/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_http" version = "0.4.0" -edition = "2018" -description = "HTTP server implementation for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "HTTP server implementation for Deno" [lib] path = "lib.rs" diff --git a/extensions/net/Cargo.toml b/extensions/net/Cargo.toml index 9c6d5d161e..d774acf881 100644 --- a/extensions/net/Cargo.toml +++ b/extensions/net/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_net" version = "0.4.0" -edition = "2018" -description = "Networking for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "Networking for Deno" [lib] path = "lib.rs" @@ -16,12 +16,12 @@ path = "lib.rs" [dependencies] deno_core = { version = "0.95.0", path = "../../core" } -log = "0.4.14" lazy_static = "1.4.0" +log = "0.4.14" rustls = "0.19.0" serde = { version = "1.0.126", features = ["derive"] } tokio = { version = "1.8.1", features = ["full"] } -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"] } +webpki = "0.21.4" +webpki-roots = "0.21.1" diff --git a/extensions/timers/Cargo.toml b/extensions/timers/Cargo.toml index c70813124e..e0300e316b 100644 --- a/extensions/timers/Cargo.toml +++ b/extensions/timers/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_timers" version = "0.11.0" -edition = "2018" -description = "Timers API implementation for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "Timers API implementation for Deno" [lib] path = "lib.rs" diff --git a/extensions/url/Cargo.toml b/extensions/url/Cargo.toml index be63e89432..5be06deb22 100644 --- a/extensions/url/Cargo.toml +++ b/extensions/url/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_url" version = "0.13.0" -edition = "2018" -description = "URL API implementation for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "URL API implementation for Deno" [lib] path = "lib.rs" diff --git a/extensions/web/Cargo.toml b/extensions/web/Cargo.toml index 05b94fe478..c9d82b2735 100644 --- a/extensions/web/Cargo.toml +++ b/extensions/web/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_web" version = "0.44.0" -edition = "2018" -description = "Collection of Web APIs" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "Collection of Web APIs" [lib] path = "lib.rs" diff --git a/extensions/webgpu/Cargo.toml b/extensions/webgpu/Cargo.toml index 7f60bcb0b5..7826836449 100644 --- a/extensions/webgpu/Cargo.toml +++ b/extensions/webgpu/Cargo.toml @@ -3,19 +3,19 @@ [package] name = "deno_webgpu" version = "0.14.0" -edition = "2018" -description = "WebGPU implementation for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "WebGPU implementation for Deno" [lib] path = "lib.rs" [dependencies] deno_core = { version = "0.95.0", path = "../../core" } -tokio = { version = "1.8.1", features = ["full"] } serde = { version = "1.0.126", features = ["derive"] } +tokio = { version = "1.8.1", features = ["full"] } wgpu-core = { version = "0.9.0", features = ["trace"] } wgpu-types = "0.9.0" diff --git a/extensions/webidl/Cargo.toml b/extensions/webidl/Cargo.toml index 6c47e126ea..2e3f2f0201 100644 --- a/extensions/webidl/Cargo.toml +++ b/extensions/webidl/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_webidl" version = "0.13.0" -edition = "2018" -description = "WebIDL implementation for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "WebIDL implementation for Deno" [lib] path = "lib.rs" diff --git a/extensions/websocket/Cargo.toml b/extensions/websocket/Cargo.toml index 818f8135a5..3e17059502 100644 --- a/extensions/websocket/Cargo.toml +++ b/extensions/websocket/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_websocket" version = "0.18.0" -edition = "2018" -description = "Implementation of WebSocket API for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "Implementation of WebSocket API for Deno" [lib] path = "lib.rs" @@ -16,10 +16,10 @@ path = "lib.rs" [dependencies] deno_core = { version = "0.95.0", path = "../../core" } http = "0.2.4" +hyper = { version = "0.14.9" } serde = { version = "1.0.126", features = ["derive"] } tokio = { version = "1.8.1", features = ["full"] } tokio-rustls = "0.22.0" tokio-tungstenite = { version = "0.14.0", features = ["rustls-tls"] } -hyper = { version = "0.14.9" } webpki = "0.21.4" webpki-roots = "0.21.1" diff --git a/extensions/webstorage/Cargo.toml b/extensions/webstorage/Cargo.toml index 56f0371d5e..69b4482aa7 100644 --- a/extensions/webstorage/Cargo.toml +++ b/extensions/webstorage/Cargo.toml @@ -3,12 +3,12 @@ [package] name = "deno_webstorage" version = "0.8.0" -edition = "2018" -description = "Implementation of WebStorage API for Deno" authors = ["the Deno authors"] +edition = "2018" license = "MIT" readme = "README.md" repository = "https://github.com/denoland/deno" +description = "Implementation of WebStorage API for Deno" [lib] path = "lib.rs" diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 9e6ed8feb5..044c3a1a13 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -3,11 +3,11 @@ [package] name = "deno_runtime" version = "0.21.0" -license = "MIT" authors = ["the Deno authors"] edition = "2018" -description = "Provides the deno runtime library" +license = "MIT" repository = "https://github.com/denoland/deno" +description = "Provides the deno runtime library" [lib] name = "deno_runtime"