mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Also reorders alphabetically for the corresponding user .toml. Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
70 lines
1.9 KiB
TOML
70 lines
1.9 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]
|
|
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 = "0.13"
|
|
profile_traits = { workspace = true }
|
|
regex = { workspace = true }
|
|
servo-base = { workspace = true }
|
|
servo-config = { workspace = true }
|
|
servo-url = { workspace = true }
|
|
servo_arc = { workspace = true }
|
|
smallvec = { 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 }
|
|
|
|
[build-dependencies]
|
|
phf_codegen = "0.13"
|
|
phf_shared = "0.13"
|
|
serde_json = { workspace = true }
|
|
|
|
[features]
|
|
bluetooth = []
|
|
gamepad = []
|
|
testbinding = []
|
|
tracing = ["dep:tracing"]
|
|
webgpu = []
|
|
webxr = ["webxr-api"]
|
|
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(crown)'] }
|
|
unsafe_op_in_unsafe_fn = { level = "allow" }
|