Skip to content

Commit

Permalink
chore: format toml files internally (#11563)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Aug 2, 2021
1 parent 505d253 commit d7d452e
Show file tree
Hide file tree
Showing 20 changed files with 52 additions and 51 deletions.
5 changes: 3 additions & 2 deletions .dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
]
}
2 changes: 1 addition & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
max_width = 80
tab_spaces = 2
edition = "2018"
edition = "2018"
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ members = [
"extensions/webgpu",
"extensions/webidl",
"extensions/websocket",
"extensions/webstorage"
"extensions/webstorage",
]
exclude = ["test_util/std/hash/_wasm"]

Expand Down
4 changes: 2 additions & 2 deletions bench_util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 6 additions & 6 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions extensions/broadcast_channel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions extensions/console/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 6 additions & 6 deletions extensions/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
[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"

[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"
4 changes: 2 additions & 2 deletions extensions/fetch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions extensions/http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions extensions/net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
[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"

[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"
4 changes: 2 additions & 2 deletions extensions/timers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions extensions/url/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions extensions/web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions extensions/webgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions extensions/webidl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions extensions/websocket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
[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"

[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"
4 changes: 2 additions & 2 deletions extensions/webstorage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d7d452e

Please sign in to comment.