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]>
215 lines
3.7 KiB
TOML
215 lines
3.7 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2024"
|
|
rust-version = "1.88.0"
|
|
name = "servo-script-bindings"
|
|
version = "0.7.0"
|
|
authors = ["The Servo Project Developers"]
|
|
build = "build.rs"
|
|
links = "script_bindings_crate"
|
|
publish = true
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A component of the servo web-engine."
|
|
readme = false
|
|
license = "MPL-2.0 AND BSD-3-Clause"
|
|
repository = "https://github.com/servo/servo"
|
|
resolver = "2"
|
|
|
|
[features]
|
|
bluetooth = []
|
|
gamepad = []
|
|
testbinding = []
|
|
tracing = ["dep:tracing"]
|
|
webcrypto = []
|
|
webgl = []
|
|
webgpu = []
|
|
webxr = [
|
|
"gamepad",
|
|
"webgl",
|
|
"webxr-api",
|
|
]
|
|
|
|
[lib]
|
|
name = "script_bindings"
|
|
path = "lib.rs"
|
|
|
|
[[bench]]
|
|
name = "dom_partial_eq"
|
|
path = "benches/dom_partial_eq.rs"
|
|
harness = false
|
|
|
|
[dependencies.atomic_refcell]
|
|
version = "0.1.14"
|
|
|
|
[dependencies.bitflags]
|
|
version = "2.11"
|
|
|
|
[dependencies.crossbeam-channel]
|
|
version = "0.5"
|
|
|
|
[dependencies.deny_public_fields]
|
|
version = "=0.7.0"
|
|
package = "servo-deny-public-fields"
|
|
|
|
[dependencies.dom_struct]
|
|
version = "=0.7.0"
|
|
package = "servo-dom-struct"
|
|
|
|
[dependencies.encoding_rs]
|
|
version = "0.8"
|
|
features = ["serde"]
|
|
|
|
[dependencies.html5ever]
|
|
version = "0.40.1"
|
|
|
|
[dependencies.indexmap]
|
|
version = "2.14.0"
|
|
features = ["std"]
|
|
|
|
[dependencies.js]
|
|
version = "=0.26.4"
|
|
features = [
|
|
"intl",
|
|
"libz-sys",
|
|
]
|
|
default-features = false
|
|
package = "mozjs"
|
|
|
|
[dependencies.jstraceable_derive]
|
|
version = "=0.7.0"
|
|
package = "servo-jstraceable-derive"
|
|
|
|
[dependencies.keyboard-types]
|
|
version = "0.8.3"
|
|
features = [
|
|
"serde",
|
|
"webdriver",
|
|
]
|
|
|
|
[dependencies.libc]
|
|
version = "0.2"
|
|
|
|
[dependencies.log]
|
|
version = "0.4.32"
|
|
|
|
[dependencies.malloc_size_of]
|
|
version = "=0.7.0"
|
|
package = "servo-malloc-size-of"
|
|
|
|
[dependencies.malloc_size_of_derive]
|
|
version = "0.1"
|
|
|
|
[dependencies.num-traits]
|
|
version = "0.2"
|
|
|
|
[dependencies.parking_lot]
|
|
version = "0.12"
|
|
features = ["serde"]
|
|
|
|
[dependencies.phf]
|
|
version = "0.14"
|
|
features = ["macros"]
|
|
|
|
[dependencies.profile_traits]
|
|
version = "=0.7.0"
|
|
package = "servo-profile-traits"
|
|
|
|
[dependencies.regex]
|
|
version = "1.12"
|
|
|
|
[dependencies.rustc-hash]
|
|
version = "2.1.2"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.228"
|
|
|
|
[dependencies.servo-base]
|
|
version = "=0.7.0"
|
|
|
|
[dependencies.servo-config]
|
|
version = "=0.7.0"
|
|
|
|
[dependencies.servo-constellation-traits]
|
|
version = "=0.7.0"
|
|
|
|
[dependencies.servo-url]
|
|
version = "=0.7.0"
|
|
|
|
[dependencies.servo_arc]
|
|
version = "0.5.0"
|
|
|
|
[dependencies.smallvec]
|
|
version = "1.15"
|
|
features = [
|
|
"serde",
|
|
"union",
|
|
]
|
|
|
|
[dependencies.strum]
|
|
version = "0.28"
|
|
features = ["derive"]
|
|
|
|
[dependencies.stylo]
|
|
version = "0.22"
|
|
|
|
[dependencies.stylo_atoms]
|
|
version = "0.22"
|
|
|
|
[dependencies.tendril]
|
|
version = "0.5"
|
|
features = ["encoding_rs"]
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.44"
|
|
optional = true
|
|
|
|
[dependencies.webxr-api]
|
|
version = "=0.7.0"
|
|
optional = true
|
|
package = "servo-webxr-api"
|
|
|
|
[dependencies.xml5ever]
|
|
version = "0.40"
|
|
|
|
[dependencies.zeroize]
|
|
version = "1.8"
|
|
features = ["zeroize_derive"]
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.8"
|
|
|
|
[build-dependencies.phf_codegen]
|
|
version = "0.14"
|
|
|
|
[build-dependencies.phf_shared]
|
|
version = "0.14"
|
|
|
|
[build-dependencies.serde_json]
|
|
version = "1.0"
|
|
|
|
[lints.clippy]
|
|
manual_string_new = "warn"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(crown)",
|
|
"cfg(coverage)",
|
|
"cfg(llvm_pgo)",
|
|
"cfg(ohos_mock)",
|
|
]
|