Cargo.toml cleanup (#39403)

Cargo.toml cleanups. Mostly ordering fixes.

Testing: No tests for Cargo.toml edits.

---------

Signed-off-by: Alex Touchet <26315797+atouchet@users.noreply.github.com>
This commit is contained in:
Alex Touchet 2025-09-19 20:09:37 -07:00 committed by GitHub
parent 0de0f741b6
commit 5a0332f57e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 80 additions and 82 deletions

View file

@ -18,8 +18,8 @@ name = "servo"
path = "main.rs"
bench = false
# Some of these dependencies are only needed for a specific target os, but
# since build-scripts can't detect the cargo target os at build-time, we
# Some of these dependencies are only needed for a specific target OS, but
# since build-scripts can't detect the Cargo target OS at build-time, we
# must unconditionally add these dependencies. See https://github.com/rust-lang/cargo/issues/4932
[build-dependencies]
# macOS only
@ -35,9 +35,9 @@ OriginalFilename = "servo.exe"
ProductName = "Servo"
[features]
default = ["max_log_level", "webgpu", "webxr"]
crown = ["libservo/crown"]
debugmozjs = ["libservo/debugmozjs"]
default = ["max_log_level", "webgpu", "webxr"]
jitspew = ["libservo/jitspew"]
js_backtrace = ["libservo/js_backtrace"]
max_log_level = ["log/release_max_level_info"]
@ -48,11 +48,11 @@ refcell_backtrace = ["libservo/refcell_backtrace"]
tracing = ["dep:tracing", "dep:tracing-subscriber", "libservo/tracing"]
tracing-hitrace = ["tracing", "dep:hitrace"]
tracing-perfetto = ["tracing", "dep:tracing-perfetto"]
vello = ["libservo/vello"]
vello_cpu = ["libservo/vello_cpu"]
webgl_backtrace = ["libservo/webgl_backtrace"]
webgpu = ["libservo/webgpu"]
webxr = ["libservo/webxr"]
vello = ["libservo/vello"]
vello_cpu = ["libservo/vello_cpu"]
[dependencies]
bpaf = { version = "0.9.20", features = ["derive"] }
@ -94,10 +94,10 @@ hilog = "0.2.2"
ipc-channel = { workspace = true, features = ["force-inprocess"] }
napi-derive-ohos = "1.1.0"
napi-ohos = "1.1.0"
ohos-abilitykit-sys = { version = "0.1.2", features = ["api-14"] }
ohos-deviceinfo = "0.1.0"
ohos-ime = "0.4.0"
ohos-ime-sys = "0.2.2"
ohos-deviceinfo = "0.1.0"
ohos-abilitykit-sys = { version = "0.1.2", features = ["api-14"] }
ohos-vsync = "0.1.3"
ohos-window-manager-sys = { version = "0.1", features = ["api-14"] }
xcomponent-sys = { version = "0.3.4", features = ["api-14", "keyboard-types"] }