crosvm/usb_sys/Cargo.toml
A. Cody Schuffelen 2eb1a03271 Use workspace dependencies: base
This allows all members of the workspace to depend on `base` using
```
base = { workspace = true }
```
as opposed to the current distribution:
```
$ rg 'base =' -g Cargo.toml --no-filename --no-line-number | sort | uniq -c | sort -nr
     43 base = { path = "../base" }
      4 base = { path = "../../../base" }
      2 base = { path = "../../base" }
      1 base = { path = "base" }
      1 base = { path = "../base/" }
```

See:
- https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6544746/comments/c2fb58d3_1430749b
- https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
- https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace

Bug: b/418050464
Change-Id: I1439fd1a5b99233a36a30a9c542abcf54ce5ac1c
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6551983
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Cody Schuffelen <schuffelen@google.com>
2025-05-15 17:52:56 -07:00

8 lines
143 B
TOML

[package]
name = "usb_sys"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[dependencies]
base = { workspace = true }