mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-01-12 22:43:42 +08:00
chore: update cargo deps with new vendored deps' needs
This commit is contained in:
@@ -32,6 +32,15 @@ slog-json = { version = "2.3.0", optional = true }
|
||||
chrono = "0.4.19"
|
||||
libc = "0.2.82"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
nix = "0.23"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = { version = "0.3", features = ["consoleapi", "handleapi", "synchapi", "winbase"] }
|
||||
|
||||
[target.'cfg(windows)'.dev-dependencies]
|
||||
winapi = { version = "0.3", features = ["fileapi", "processenv", "winnt"] }
|
||||
|
||||
[dependencies.serde_json]
|
||||
version = "1.0"
|
||||
features = ["arbitrary_precision", "unbounded_depth"]
|
||||
|
||||
@@ -31,6 +31,12 @@ extern crate serde_derive;
|
||||
#[macro_use]
|
||||
extern crate serde_json;
|
||||
|
||||
#[cfg(unix)]
|
||||
extern crate nix;
|
||||
|
||||
#[cfg(windows)]
|
||||
extern crate winapi;
|
||||
|
||||
#[macro_use]
|
||||
pub mod util;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user