summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-08-02 10:19:27 -0400
committerGitHub <noreply@github.com>2021-08-02 10:19:27 -0400
commitd7d452efc158d7b1ea89b6f92237cea3b29f88db (patch)
treef6e6d9fd599e1085751a6eba9b7c48a8f9101668
parent505d253436153b34a60018c732b55e900a331859 (diff)
chore: format toml files internally (#11563)
-rw-r--r--.dprint.json5
-rw-r--r--.rustfmt.toml2
-rw-r--r--Cargo.toml2
-rw-r--r--bench_util/Cargo.toml4
-rw-r--r--cli/Cargo.toml12
-rw-r--r--core/Cargo.toml4
-rw-r--r--extensions/broadcast_channel/Cargo.toml4
-rw-r--r--extensions/console/Cargo.toml4
-rw-r--r--extensions/crypto/Cargo.toml12
-rw-r--r--extensions/fetch/Cargo.toml4
-rw-r--r--extensions/http/Cargo.toml4
-rw-r--r--extensions/net/Cargo.toml10
-rw-r--r--extensions/timers/Cargo.toml4
-rw-r--r--extensions/url/Cargo.toml4
-rw-r--r--extensions/web/Cargo.toml4
-rw-r--r--extensions/webgpu/Cargo.toml6
-rw-r--r--extensions/webidl/Cargo.toml4
-rw-r--r--extensions/websocket/Cargo.toml6
-rw-r--r--extensions/webstorage/Cargo.toml4
-rw-r--r--runtime/Cargo.toml4
20 files changed, 52 insertions, 51 deletions
diff --git a/.dprint.json b/.dprint.json
index 97ba241d7..9b375be11 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 89ad8756f..00157aef2 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 d8ab443ce..e90f005f2 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 65e1f1c58..9726906fb 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 c06979443..6efe071a7 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"]
+default-run = "deno"
edition = "2018"
-description = "Provides the deno executable"
+license = "MIT"
repository = "https://github.com/denoland/deno"
-default-run = "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 5c30f5a4d..e068cbc46 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 faec94150..e6622d293 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 dc11a9234..800e7fa25 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 f4935a9e8..faa56bc66 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 810be2f23..9c9a64222 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 1bf946bea..c7c01eb1f 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 9c6d5d161..d774acf88 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 c70813124..e0300e316 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 be63e8943..5be06deb2 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 05b94fe47..c9d82b273 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 7f60bcb0b..782683644 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 6c47e126e..2e3f2f020 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 818f8135a..3e1705950 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 56f0371d5..69b4482aa 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 9e6ed8feb..044c3a1a1 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"