mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
This is as is upstream of win_sys_util except following changes 1. Ignores flaky tests in syslog.rs and priority.rs - a todo is added. 2. Ignore this crate of unix tests/clippy. 3. Fix few doctest issues on windows. The files are pulled from downstream repo at Commit-Id: 53e8dfa6ec26de3f2ea2b637a5bfef96703214f3 Downstream-Change-Id: I5dd9e70566330b469fe245fc71451fb4dcd7e1ba The cl should not affect unix binaries. Bug: b:223840386 Test: Tested on windows by running 1. cargo test --all-features 2. cargo clippy 3. cargo fmt Change-Id: I454f2e03b6269f374d107b83c8223ce98b9e29bf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3514125 Reviewed-by: Dennis Kempin <denniskempin@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Vikram Auradkar <auradkar@google.com>
37 lines
798 B
TOML
37 lines
798 B
TOML
[package]
|
|
name = "win_sys_util"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
include = ["src/**/*", "Cargo.toml"]
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
cfg-if = "*"
|
|
chrono = "*"
|
|
data_model = { path = "../data_model" } # provided by ebuild
|
|
libc = "*"
|
|
poll_token_derive = { version = "*", path = "../sys_util_core/poll_token_derive" }
|
|
remain = "0.2"
|
|
thiserror = "*"
|
|
serde = { version = "1", features = [ "derive", "rc" ] }
|
|
serde_json = "1"
|
|
sync = { path = "../sync" } # provided by ebuild
|
|
sys_util_core = { path = "../sys_util_core" } # provided by ebuild
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "*"
|
|
win_util = { path = "../win_util"}
|
|
rand = "*"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
regex = "*"
|
|
|
|
[build-dependencies]
|
|
cc = "1.0.25"
|
|
|
|
[features]
|
|
chromeos = []
|
|
|
|
[workspace]
|