mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
1. The `shared` directory is for the "_traits" crates, which will likely be moved out of this directly at some point and renamed "_api". These crates expose the API of crates to avoid circular dependencies. `Snapshot` isn't really this. 2. `Snapshot` is essentially a specialied kind of `Image` so it makes sense that it is grouped with other image-related things in `pixels`. Testing: This should not change any behavior so is covered by existing tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "constellation_traits"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "constellation_traits"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
bluetooth = []
|
|
webgpu = ["wgpu-core"]
|
|
|
|
[dependencies]
|
|
base = { workspace = true }
|
|
canvas_traits = { workspace = true }
|
|
devtools_traits = { workspace = true }
|
|
embedder_traits = { workspace = true }
|
|
euclid = { workspace = true }
|
|
http = { workspace = true }
|
|
hyper_serde = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
log = { workspace = true }
|
|
malloc_size_of = { workspace = true }
|
|
malloc_size_of_derive = { workspace = true }
|
|
net_traits = { workspace = true }
|
|
pixels = { path = "../../pixels" }
|
|
profile_traits = { workspace = true }
|
|
serde = { workspace = true }
|
|
servo_url = { path = "../../url" }
|
|
strum = { workspace = true }
|
|
strum_macros = { workspace = true }
|
|
uuid = { workspace = true }
|
|
webgpu_traits = { workspace = true }
|
|
webrender_api = { workspace = true }
|
|
wgpu-core = { workspace = true, optional = true }
|