diff --git a/Cargo.lock b/Cargo.lock index 4028252..abd9a6b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -210,21 +210,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bit-set" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" - [[package]] name = "bitflags" version = "1.2.1" @@ -577,12 +562,6 @@ dependencies = [ "miniz_oxide", ] -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - [[package]] name = "futures-channel" version = "0.3.12" @@ -678,7 +657,7 @@ dependencies = [ "log", "pest", "pest_derive", - "quick-error 2.0.0", + "quick-error", "serde", "serde_json", ] @@ -1142,26 +1121,6 @@ dependencies = [ "libc", ] -[[package]] -name = "proptest" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12e6c80c1139113c28ee4670dc50cc42915228b51f56a9e407f0ec60f966646f" -dependencies = [ - "bit-set", - "bitflags", - "byteorder", - "lazy_static", - "num-traits", - "quick-error 1.2.3", - "rand 0.7.3", - "rand_chacha 0.2.2", - "rand_xorshift", - "regex-syntax", - "rusty-fork", - "tempfile", -] - [[package]] name = "psutil" version = "3.2.0" @@ -1198,7 +1157,6 @@ dependencies = [ "log", "nix 0.19.1", "procfs", - "proptest", "psutil", "pueue-lib", "serde_json", @@ -1224,9 +1182,7 @@ dependencies = [ "config", "dirs", "log", - "proptest", - "psutil", - "rand 0.8.2", + "rand", "rcgen", "rev_lines", "rustls", @@ -1237,15 +1193,8 @@ dependencies = [ "snap", "strum_macros", "users", - "version_check", ] -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - [[package]] name = "quick-error" version = "2.0.0" @@ -1261,19 +1210,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc 0.2.0", -] - [[package]] name = "rand" version = "0.8.2" @@ -1281,19 +1217,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "18519b42a40024d661e1714153e9ad0c3de27cd495760ceb09710920f1098b1e" dependencies = [ "libc", - "rand_chacha 0.3.0", - "rand_core 0.6.1", - "rand_hc 0.3.0", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", + "rand_chacha", + "rand_core", + "rand_hc", ] [[package]] @@ -1303,16 +1229,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d" dependencies = [ "ppv-lite86", - "rand_core 0.6.1", -] - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", + "rand_core", ] [[package]] @@ -1324,31 +1241,13 @@ dependencies = [ "getrandom 0.2.1", ] -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - [[package]] name = "rand_hc" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73" dependencies = [ - "rand_core 0.6.1", -] - -[[package]] -name = "rand_xorshift" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77d416b86801d23dde1aa643023b775c3a462efc0ed96443add11546cdf1dca8" -dependencies = [ - "rand_core 0.5.1", + "rand_core", ] [[package]] @@ -1459,18 +1358,6 @@ dependencies = [ "webpki", ] -[[package]] -name = "rusty-fork" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" -dependencies = [ - "fnv", - "quick-error 1.2.3", - "tempfile", - "wait-timeout", -] - [[package]] name = "ryu" version = "1.0.5" @@ -1671,7 +1558,7 @@ checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" dependencies = [ "cfg-if 1.0.0", "libc", - "rand 0.8.2", + "rand", "redox_syscall 0.2.4", "remove_dir_all", "winapi", @@ -1801,15 +1688,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" -[[package]] -name = "wait-timeout" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" -dependencies = [ - "libc", -] - [[package]] name = "waker-fn" version = "1.1.0" diff --git a/pueue-lib/Cargo.toml b/pueue-lib/Cargo.toml index 6bff06c..98424bf 100644 --- a/pueue-lib/Cargo.toml +++ b/pueue-lib/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "pueue-lib" -description = "The shared library used by both the Pueue client and daemon." +description = "The shared library to work with the Pueue client and daemon." version = "0.10.3-alpha.0" authors = ["Arne Beer "] homepage = "https://github.com/nukesor/pueue" repository = "https://github.com/nukesor/pueue" documentation = "https://docs.rs/pueue/" license = "MIT" -keywords = ["shell", "command", "parallel", "task", "queue"] +keywords = ["shell", "command", "parallel", "task", "queue", "pueue"] readme = "README.md" edition = "2018" @@ -40,12 +40,3 @@ log = "0.4" [target.'cfg(not(windows))'.dependencies] users = "^0.11" - -[target.'cfg(target_os = "macos")'.dependencies] -psutil = "^3" - -[build-dependencies] -version_check = "^0.9" - -[dev-dependencies] -proptest = "^0.10" diff --git a/pueue/Cargo.toml b/pueue/Cargo.toml index 60664b5..f6f777a 100644 --- a/pueue/Cargo.toml +++ b/pueue/Cargo.toml @@ -57,6 +57,3 @@ psutil = "^3" [build-dependencies] version_check = "^0.9" - -[dev-dependencies] -proptest = "^0.10" diff --git a/build.rs b/pueue/build.rs similarity index 100% rename from build.rs rename to pueue/build.rs