From 631cd5845e8de329d0e227aaa707d7ea228b8f8f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:20:29 +0200 Subject: Merging upstream version 1.70.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/errno/Cargo.toml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'vendor/errno/Cargo.toml') diff --git a/vendor/errno/Cargo.toml b/vendor/errno/Cargo.toml index 2349617b0..98668cb9b 100644 --- a/vendor/errno/Cargo.toml +++ b/vendor/errno/Cargo.toml @@ -10,26 +10,40 @@ # See Cargo.toml.orig for the original contents. [package] +edition = "2018" +rust-version = "1.48" name = "errno" -version = "0.2.8" +version = "0.3.0" authors = ["Chris Wong "] description = "Cross-platform interface to the `errno` variable." documentation = "https://docs.rs/errno" -categories = ["os"] -license = "MIT/Apache-2.0" +readme = "README.md" +categories = [ + "no-std", + "os", +] +license = "MIT OR Apache-2.0" repository = "https://github.com/lambda-fairy/rust-errno" [features] default = ["std"] std = [] + [target."cfg(target_os=\"dragonfly\")".dependencies.errno-dragonfly] version = "0.1.1" + [target."cfg(target_os=\"hermit\")".dependencies.libc] version = "0.2" + [target."cfg(target_os=\"wasi\")".dependencies.libc] version = "0.2" + [target."cfg(unix)".dependencies.libc] version = "0.2" -[target."cfg(windows)".dependencies.winapi] -version = "0.3" -features = ["errhandlingapi", "minwindef", "ntdef", "winbase"] + +[target."cfg(windows)".dependencies.windows-sys] +version = "0.45" +features = [ + "Win32_Foundation", + "Win32_System_Diagnostics_Debug", +] -- cgit v1.2.3