mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-08 04:25:31 +00:00
Add libc dependency
Cross compatible (with windows) exit failure code
This commit is contained in:
parent
89d1e6a752
commit
2f5083278f
5
Cargo.lock
generated
5
Cargo.lock
generated
@ -112,9 +112,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
version = "0.2.98"
|
version = "0.2.103"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790"
|
checksum = "dd8f7255a17a627354f321ef0055d63b898c6fb27eff628af4d1b66b7331edf6"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libz-sys"
|
name = "libz-sys"
|
||||||
@ -155,6 +155,7 @@ dependencies = [
|
|||||||
"bzip2",
|
"bzip2",
|
||||||
"flate2",
|
"flate2",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
|
"libc",
|
||||||
"rand",
|
"rand",
|
||||||
"strsim",
|
"strsim",
|
||||||
"tar",
|
"tar",
|
||||||
|
@ -17,6 +17,7 @@ lazy_static = "1.4.0"
|
|||||||
walkdir = "2.3.2"
|
walkdir = "2.3.2"
|
||||||
strsim = "0.10.0"
|
strsim = "0.10.0"
|
||||||
bzip2 = "0.4.3"
|
bzip2 = "0.4.3"
|
||||||
|
libc = "0.2.103"
|
||||||
tar = "0.4.37"
|
tar = "0.4.37"
|
||||||
xz2 = "0.1.6"
|
xz2 = "0.1.6"
|
||||||
zip = { version = "0.5.13", default-features = false, features = ["deflate-miniz"] }
|
zip = { version = "0.5.13", default-features = false, features = ["deflate-miniz"] }
|
||||||
|
@ -21,7 +21,7 @@ pub use error::{Error, Result};
|
|||||||
|
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
|
|
||||||
pub const EXIT_FAILURE: i32 = 127;
|
pub const EXIT_FAILURE: i32 = libc::EXIT_FAILURE;
|
||||||
|
|
||||||
const VERSION: &str = "0.1.6";
|
const VERSION: &str = "0.1.6";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user