mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Format toml files (#30112)
* Add taplo fmt config for toml fmt * fmt toml files * Add even-better-toml to extensions recommendations
This commit is contained in:
parent
6622b91f79
commit
c0bee7cb86
19 changed files with 139 additions and 124 deletions
|
@ -37,7 +37,7 @@ profile_traits = { path = "../profile_traits" }
|
|||
script_traits = { path = "../script_traits" }
|
||||
serde = { workspace = true }
|
||||
servo_config = { path = "../config" }
|
||||
servo_rand = {path = "../rand" }
|
||||
servo_rand = { path = "../rand" }
|
||||
servo_remutex = { path = "../remutex" }
|
||||
servo_url = { path = "../url" }
|
||||
style_traits = { path = "../style_traits" }
|
||||
|
|
|
@ -52,4 +52,3 @@ unicode-bidi = { workspace = true, features = ["with_serde"] }
|
|||
unicode-script = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
xi-unicode = { workspace = true }
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ authors = ["The Servo Project Developers"]
|
|||
license = "MPL-2.0"
|
||||
edition = "2018"
|
||||
publish = false
|
||||
autotests = false # Inhibit lookup for tests/*.rs without [[test]] sections
|
||||
autotests = false # Inhibit lookup for tests/*.rs without [[test]] sections
|
||||
|
||||
[lib]
|
||||
name = "net"
|
||||
|
@ -27,7 +27,7 @@ devtools_traits = { path = "../devtools_traits" }
|
|||
embedder_traits = { path = "../embedder_traits" }
|
||||
flate2 = "1"
|
||||
futures = { version = "0.3", package = "futures" }
|
||||
futures-util = { version = "0.3" }
|
||||
futures-util = { version = "0.3" }
|
||||
generic-array = "0.14"
|
||||
headers = { workspace = true }
|
||||
http = { workspace = true }
|
||||
|
@ -69,7 +69,7 @@ webrender_api = { workspace = true }
|
|||
webpki-roots = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
futures = {version = "0.3", features = ["compat"]}
|
||||
futures = { version = "0.3", features = ["compat"] }
|
||||
std_test_override = { path = "../std_test_override" }
|
||||
tokio-test = "0.4"
|
||||
tokio-stream = { version = "0.1", features = ["net"] }
|
||||
|
|
|
@ -15,4 +15,4 @@ unrooted_must_root_lint = []
|
|||
trace_in_no_trace_lint = []
|
||||
|
||||
[package.metadata.rust-analyzer]
|
||||
rustc_private=true
|
||||
rustc_private = true
|
||||
|
|
|
@ -17,7 +17,7 @@ path = "lib.rs"
|
|||
|
||||
[features]
|
||||
bench = []
|
||||
shmem = [ "dep:to_shmem", "dep:to_shmem_derive" ]
|
||||
shmem = ["dep:to_shmem", "dep:to_shmem_derive"]
|
||||
|
||||
[dependencies]
|
||||
bitflags = "1.0"
|
||||
|
|
|
@ -18,10 +18,20 @@ doctest = false
|
|||
|
||||
[features]
|
||||
gecko = ["style_traits/gecko", "bindgen", "regex", "toml", "num_cpus", "mozbuild"]
|
||||
servo = ["serde", "style_traits/servo", "servo_atoms", "servo_config", "html5ever",
|
||||
"cssparser/serde", "encoding_rs", "malloc_size_of/servo", "servo_url",
|
||||
"string_cache", "to_shmem/servo",
|
||||
"servo_arc/servo"]
|
||||
servo = [
|
||||
"serde",
|
||||
"style_traits/servo",
|
||||
"servo_atoms",
|
||||
"servo_config",
|
||||
"html5ever",
|
||||
"cssparser/serde",
|
||||
"encoding_rs",
|
||||
"malloc_size_of/servo",
|
||||
"servo_url",
|
||||
"string_cache",
|
||||
"to_shmem/servo",
|
||||
"servo_arc/servo",
|
||||
]
|
||||
gecko_debug = []
|
||||
gecko_refcount_logging = []
|
||||
|
||||
|
@ -54,7 +64,7 @@ owning_ref = "0.4"
|
|||
parking_lot = "0.11"
|
||||
precomputed-hash = "0.1.1"
|
||||
rayon = "1"
|
||||
selectors = { path = "../selectors", features = ["shmem"] }
|
||||
selectors = { path = "../selectors", features = ["shmem"] }
|
||||
serde = { version = "1.0", optional = true, features = ["derive"] }
|
||||
servo_arc = { path = "../servo_arc" }
|
||||
servo_atoms = { path = "../atoms", optional = true }
|
||||
|
@ -78,7 +88,7 @@ void = "1.0.2"
|
|||
bindgen = { version = "0.62", optional = true, default-features = false }
|
||||
lazy_static = "1"
|
||||
log = "0.4"
|
||||
mozbuild = {version = "0.1", optional = true}
|
||||
mozbuild = { version = "0.1", optional = true }
|
||||
regex = { version = "1.1", optional = true }
|
||||
toml = { version = "0.5", optional = true, default-features = false }
|
||||
walkdir = "2.1.4"
|
||||
|
|
|
@ -13,4 +13,3 @@ path = "lib.rs"
|
|||
[dependencies]
|
||||
euclid = { workspace = true }
|
||||
surfman = { workspace = true }
|
||||
|
||||
|
|
|
@ -13,4 +13,3 @@ path = "lib.rs"
|
|||
[dependencies]
|
||||
euclid = { workspace = true }
|
||||
webrender_api = { workspace = true }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue