Nacre/vendor/servo-script-bindings/Cargo.toml.orig
astar76 1c078655e2 S022: MSE prototype on gst_mse (vendored script, script-bindings, servo-media*)
MediaSource, SourceBuffer, SourceBufferList over GStreamer's MSE library;
URL.createObjectURL(MediaSource); HTMLMediaElement attaches via mse://.
tests/smoke/mse.txt plays chunk-appended fMP4 and WebM.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-12 10:21:01 -06:00

84 lines
2.3 KiB
TOML

[package]
name = "servo-script-bindings"
build = "build.rs"
version.workspace = true
authors.workspace = true
edition.workspace = true
publish.workspace = true
rust-version.workspace = true
repository.workspace = true
description.workspace = true
# BSD-3-Clause comes from third_party/ply, which doesn't end up in any produced build-artifact,
# but is used during the build via build.rs.
license = "MPL-2.0 AND BSD-3-Clause"
# https://github.com/rust-lang/cargo/issues/3544
links = "script_bindings_crate"
[lib]
name = "script_bindings"
path = "lib.rs"
[dependencies]
atomic_refcell = { workspace = true }
bitflags = { workspace = true }
crossbeam-channel = { workspace = true }
deny_public_fields = { workspace = true }
dom_struct = { workspace = true }
encoding_rs = { workspace = true }
html5ever = { workspace = true }
indexmap = { workspace = true }
js = { workspace = true }
jstraceable_derive = { workspace = true }
keyboard-types = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
malloc_size_of = { workspace = true }
malloc_size_of_derive = { workspace = true }
num-traits = { workspace = true }
parking_lot = { workspace = true }
phf = { workspace = true }
profile_traits = { workspace = true }
regex = { workspace = true }
rustc-hash = { workspace = true }
serde = { workspace = true }
servo-base = { workspace = true }
servo-config = { workspace = true }
servo-constellation-traits = { workspace = true }
servo-url = { workspace = true }
servo_arc = { workspace = true }
smallvec = { workspace = true }
strum = { workspace = true }
stylo = { workspace = true }
stylo_atoms = { workspace = true }
tendril = { workspace = true }
tracing = { workspace = true, optional = true }
webxr-api = { workspace = true, optional = true }
xml5ever = { workspace = true }
zeroize = { workspace = true, features = ["zeroize_derive"] }
[build-dependencies]
phf_codegen = { workspace = true }
phf_shared = { workspace = true }
serde_json = { workspace = true }
[dev-dependencies]
criterion = { workspace = true }
[[bench]]
name = "dom_partial_eq"
path = "benches/dom_partial_eq.rs"
harness = false
[features]
bluetooth = []
gamepad = []
testbinding = []
tracing = ["dep:tracing"]
webcrypto = []
webgpu = []
webgl = []
webxr = ["gamepad", "webgl", "webxr-api"]
[lints]
workspace = true