chore: format toml files internally (#11563)

This commit is contained in:
David Sherret 2021-08-02 10:19:27 -04:00 committed by GitHub
parent 505d253436
commit d7d452efc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 53 additions and 52 deletions

View file

@ -11,7 +11,7 @@
"json": { "json": {
"deno": true "deno": true
}, },
"includes": ["**/*.{ts,tsx,js,jsx,json,md}"], "includes": ["**/*.{ts,tsx,js,jsx,json,md,toml}"],
"excludes": [ "excludes": [
".cargo_home", ".cargo_home",
".git", ".git",
@ -37,6 +37,7 @@
"plugins": [ "plugins": [
"https://plugins.dprint.dev/typescript-0.47.0.wasm", "https://plugins.dprint.dev/typescript-0.47.0.wasm",
"https://plugins.dprint.dev/json-0.12.1.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"
] ]
} }

View file

@ -1,4 +1,4 @@
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. # Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
max_width = 80 max_width = 80
tab_spaces = 2 tab_spaces = 2
edition = "2018" edition = "2018"

View file

@ -20,7 +20,7 @@ members = [
"extensions/webgpu", "extensions/webgpu",
"extensions/webidl", "extensions/webidl",
"extensions/websocket", "extensions/websocket",
"extensions/webstorage" "extensions/webstorage",
] ]
exclude = ["test_util/std/hash/_wasm"] exclude = ["test_util/std/hash/_wasm"]

View file

@ -4,11 +4,11 @@ name = "deno_bench_util"
version = "0.7.0" version = "0.7.0"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018" edition = "2018"
description = "Bench and profiling utilities for deno crates"
license = "MIT" license = "MIT"
publish = true
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno" name = "deno"
version = "1.12.2" version = "1.12.2"
license = "MIT"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
description = "Provides the deno executable"
repository = "https://github.com/denoland/deno"
default-run = "deno" default-run = "deno"
edition = "2018"
license = "MIT"
repository = "https://github.com/denoland/deno"
description = "Provides the deno executable"
[[bin]] [[bin]]
name = "deno" name = "deno"
@ -62,7 +62,7 @@ fancy-regex = "0.5.0"
filetime = "0.2.14" filetime = "0.2.14"
http = "0.2.4" http = "0.2.4"
# TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved # 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"] } jsonc-parser = { version = "0.17.0", features = ["serde"] }
lazy_static = "1.4.0" lazy_static = "1.4.0"
libc = "0.2.98" libc = "0.2.98"
@ -72,8 +72,8 @@ notify = "5.0.0-pre.10"
num_cpus = "1.13.0" num_cpus = "1.13.0"
percent-encoding = "2.1.0" percent-encoding = "2.1.0"
pin-project = "1.0.7" pin-project = "1.0.7"
rand = { version = "0.8.4", features = ["small_rng"] }
regex = "1.4.3" regex = "1.4.3"
rand = { version = "0.8.4", features = [ "small_rng" ] }
ring = "0.16.20" ring = "0.16.20"
rustyline = { version = "8.2.0", default-features = false } rustyline = { version = "8.2.0", default-features = false }
rustyline-derive = "0.4.0" rustyline-derive = "0.4.0"
@ -102,8 +102,8 @@ chrono = "0.4.19"
os_pipe = "0.9.2" os_pipe = "0.9.2"
test_util = { path = "../test_util" } test_util = { path = "../test_util" }
tower-test = "0.4.0" tower-test = "0.4.0"
trust-dns-server = "0.20.3"
trust-dns-client = "0.20.3" trust-dns-client = "0.20.3"
trust-dns-server = "0.20.3"
[target.'cfg(unix)'.dev-dependencies] [target.'cfg(unix)'.dev-dependencies]
exec = "0.3.1" # Used in test_raw_tty exec = "0.3.1" # Used in test_raw_tty

View file

@ -2,12 +2,12 @@
[package] [package]
name = "deno_core" name = "deno_core"
version = "0.95.0" version = "0.95.0"
edition = "2018"
description = "A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_broadcast_channel" name = "deno_broadcast_channel"
version = "0.7.0" version = "0.7.0"
edition = "2018"
description = "Implementation of BroadcastChannel API for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Implementation of BroadcastChannel API for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_console" name = "deno_console"
version = "0.13.0" version = "0.13.0"
edition = "2018"
description = "Implementation of Console API for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Implementation of Console API for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_crypto" name = "deno_crypto"
version = "0.27.0" version = "0.27.0"
edition = "2018"
description = "Web Cryptography API implementation for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Web Cryptography API implementation for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"
@ -16,13 +16,13 @@ path = "lib.rs"
[dependencies] [dependencies]
deno_core = { version = "0.95.0", path = "../../core" } deno_core = { version = "0.95.0", path = "../../core" }
deno_web = { version = "0.44.0", path = "../web" } 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" rand = "0.8.4"
ring = { version = "0.16.20", features = ["std"] } ring = { version = "0.16.20", features = ["std"] }
rsa = "0.4.0" # TODO: remove "pem" feature when next release is on crates.io 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" sha-1 = "0.9.6"
sha2 = "0.9.5" 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"] } uuid = { version = "0.8.2", features = ["v4"] }
lazy_static = "1.4.0"
num-traits = "0.2.14"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_fetch" name = "deno_fetch"
version = "0.36.0" version = "0.36.0"
edition = "2018"
description = "Fetch API implementation for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Fetch API implementation for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_http" name = "deno_http"
version = "0.4.0" version = "0.4.0"
edition = "2018"
description = "HTTP server implementation for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "HTTP server implementation for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_net" name = "deno_net"
version = "0.4.0" version = "0.4.0"
edition = "2018"
description = "Networking for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Networking for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"
@ -16,12 +16,12 @@ path = "lib.rs"
[dependencies] [dependencies]
deno_core = { version = "0.95.0", path = "../../core" } deno_core = { version = "0.95.0", path = "../../core" }
log = "0.4.14"
lazy_static = "1.4.0" lazy_static = "1.4.0"
log = "0.4.14"
rustls = "0.19.0" rustls = "0.19.0"
serde = { version = "1.0.126", features = ["derive"] } serde = { version = "1.0.126", features = ["derive"] }
tokio = { version = "1.8.1", features = ["full"] } tokio = { version = "1.8.1", features = ["full"] }
webpki = "0.21.4"
webpki-roots = "0.21.1"
trust-dns-proto = "0.20.3" trust-dns-proto = "0.20.3"
trust-dns-resolver = { version = "0.20.3", features = ["tokio-runtime", "serde-config"] } trust-dns-resolver = { version = "0.20.3", features = ["tokio-runtime", "serde-config"] }
webpki = "0.21.4"
webpki-roots = "0.21.1"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_timers" name = "deno_timers"
version = "0.11.0" version = "0.11.0"
edition = "2018"
description = "Timers API implementation for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Timers API implementation for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_url" name = "deno_url"
version = "0.13.0" version = "0.13.0"
edition = "2018"
description = "URL API implementation for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "URL API implementation for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_web" name = "deno_web"
version = "0.44.0" version = "0.44.0"
edition = "2018"
description = "Collection of Web APIs"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Collection of Web APIs"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,19 +3,19 @@
[package] [package]
name = "deno_webgpu" name = "deno_webgpu"
version = "0.14.0" version = "0.14.0"
edition = "2018"
description = "WebGPU implementation for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "WebGPU implementation for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
deno_core = { version = "0.95.0", path = "../../core" } deno_core = { version = "0.95.0", path = "../../core" }
tokio = { version = "1.8.1", features = ["full"] }
serde = { version = "1.0.126", features = ["derive"] } serde = { version = "1.0.126", features = ["derive"] }
tokio = { version = "1.8.1", features = ["full"] }
wgpu-core = { version = "0.9.0", features = ["trace"] } wgpu-core = { version = "0.9.0", features = ["trace"] }
wgpu-types = "0.9.0" wgpu-types = "0.9.0"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_webidl" name = "deno_webidl"
version = "0.13.0" version = "0.13.0"
edition = "2018"
description = "WebIDL implementation for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "WebIDL implementation for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_websocket" name = "deno_websocket"
version = "0.18.0" version = "0.18.0"
edition = "2018"
description = "Implementation of WebSocket API for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Implementation of WebSocket API for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"
@ -16,10 +16,10 @@ path = "lib.rs"
[dependencies] [dependencies]
deno_core = { version = "0.95.0", path = "../../core" } deno_core = { version = "0.95.0", path = "../../core" }
http = "0.2.4" http = "0.2.4"
hyper = { version = "0.14.9" }
serde = { version = "1.0.126", features = ["derive"] } serde = { version = "1.0.126", features = ["derive"] }
tokio = { version = "1.8.1", features = ["full"] } tokio = { version = "1.8.1", features = ["full"] }
tokio-rustls = "0.22.0" tokio-rustls = "0.22.0"
tokio-tungstenite = { version = "0.14.0", features = ["rustls-tls"] } tokio-tungstenite = { version = "0.14.0", features = ["rustls-tls"] }
hyper = { version = "0.14.9" }
webpki = "0.21.4" webpki = "0.21.4"
webpki-roots = "0.21.1" webpki-roots = "0.21.1"

View file

@ -3,12 +3,12 @@
[package] [package]
name = "deno_webstorage" name = "deno_webstorage"
version = "0.8.0" version = "0.8.0"
edition = "2018"
description = "Implementation of WebStorage API for Deno"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Implementation of WebStorage API for Deno"
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -3,11 +3,11 @@
[package] [package]
name = "deno_runtime" name = "deno_runtime"
version = "0.21.0" version = "0.21.0"
license = "MIT"
authors = ["the Deno authors"] authors = ["the Deno authors"]
edition = "2018" edition = "2018"
description = "Provides the deno runtime library" license = "MIT"
repository = "https://github.com/denoland/deno" repository = "https://github.com/denoland/deno"
description = "Provides the deno runtime library"
[lib] [lib]
name = "deno_runtime" name = "deno_runtime"