From f4d3af296c05260dfbb3deea4f8fa400cb6887d3 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Thu, 5 Oct 2023 19:47:39 +0200 Subject: Move `*_traits` and other shared types to `shared` This is the start of the organization of types that are in their own crates in order to break dependency cycles between other crates. The idea here is that putting these packages into their own directory is the first step toward cleaning them up. They have grown organically and it is difficult to explain to new folks where to put new shared types. Many of these crates contain more than traits or don't contain traits at all. Notably, `script_traits` isn't touched because it is vendored from Gecko. Eventually this will move to `third_party`. --- components/media/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/media') diff --git a/components/media/Cargo.toml b/components/media/Cargo.toml index e667638e1ba..a63c108fcac 100644 --- a/components/media/Cargo.toml +++ b/components/media/Cargo.toml @@ -20,4 +20,4 @@ serde = { workspace = true } servo-media = { git = "https://github.com/servo/media" } servo_config = { path = "../config" } webrender_api = { workspace = true } -webrender_traits = { path = "../webrender_traits" } +webrender_traits = { workspace = true } -- cgit v1.2.3