From d776cca5b34f06367f058f325f88056e4d8091bf Mon Sep 17 00:00:00 2001 From: Revertron Date: Wed, 22 Dec 2021 20:28:05 +0100 Subject: [PATCH] Updated dependencies and README. --- Cargo.lock | 32 ++++++++++++++++---------------- Cargo.toml | 8 ++++---- README.md | 5 +++++ 3 files changed, 25 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 292ff93..dfc2f30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -87,7 +87,7 @@ dependencies = [ "chacha20poly1305", "chrono", "derive_more", - "digest 0.10.0", + "digest 0.10.1", "ecies-ed25519", "ed25519-dalek", "getopts", @@ -325,9 +325,9 @@ checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" [[package]] name = "crypto-common" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567569e659735adb39ff2d4c20600f7cd78be5471f8c58ab162bce3c03fdbc5f" +checksum = "683d6b536309245c849479fba3da410962a43ed8e51c26b729208ec0ac2798d0" dependencies = [ "generic-array", ] @@ -398,9 +398,9 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8549e6bfdecd113b7e221fe60b433087f6957387a20f8118ebca9b12af19143d" +checksum = "b697d66081d42af4fba142d56918a3cb21dc8eb63372c6b85d14f44fb9c5979b" dependencies = [ "block-buffer 0.10.0", "crypto-common", @@ -662,9 +662,9 @@ dependencies = [ [[package]] name = "itoa" -version = "0.4.8" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" +checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" [[package]] name = "javascriptcore-rs-sys" @@ -707,9 +707,9 @@ dependencies = [ [[package]] name = "lru" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c748cfe47cb8da225c37595b3108bea1c198c84aaae8ea0ba76d01dda9fc803" +checksum = "469898e909a1774d844793b347135a0cd344ca2f69d082013ecb8061a2229a3a" dependencies = [ "hashbrown", ] @@ -1030,9 +1030,9 @@ checksum = "568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012" [[package]] name = "serde" -version = "1.0.131" +version = "1.0.132" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ad69dfbd3e45369132cc64e6748c2d65cdfb001a2b1c232d128b4ad60561c1" +checksum = "8b9875c23cf305cd1fd7eb77234cbb705f21ea6a72c637a5c6db5fe4b8e7f008" dependencies = [ "serde_derive", ] @@ -1058,9 +1058,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.131" +version = "1.0.132" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b710a83c4e0dff6a3d511946b95274ad9ca9e5d3ae497b63fda866ac955358d2" +checksum = "ecc0db5cb2556c0e558887d9bbdcf6ac4471e83ff66cf696e5419024d1606276" dependencies = [ "proc-macro2", "quote", @@ -1069,9 +1069,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.72" +version = "1.0.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0ffa0837f2dfa6fb90868c2b5468cad482e175f7dad97e7421951e663f2b527" +checksum = "bcbd0344bc6533bc7ec56df11d42fb70f1b912351c0825ccb7211b59d8af7cf5" dependencies = [ "itoa", "ryu", @@ -1099,7 +1099,7 @@ checksum = "900d964dd36bb15bcf2f2b35694c072feab74969a54f2bbeec7a2d725d2bdcb6" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.0", + "digest 0.10.1", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index da128eb..b98bc0e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ getopts = "0.2.21" log = "0.4.14" simplelog = "0.11.1" toml = "0.5.8" -digest = "0.10.0" +digest = "0.10.1" sha2 = "0.10.0" ed25519-dalek = "1.0" x25519-dalek = "1.2" @@ -25,8 +25,8 @@ signature = "1.3.1" blakeout = "0.3.0" num_cpus = "1.13.0" byteorder = "1.4.3" -serde = { version = "1.0.131", features = ["derive"] } -serde_json = "1.0.72" +serde = { version = "1.0.132", features = ["derive"] } +serde_json = "1.0.73" bincode = "1.3.3" serde_cbor = "0.11.2" base64 = "0.13.0" @@ -39,7 +39,7 @@ sqlite = "0.26.0" uuid = { version = "0.8.2", features = ["serde", "v4"] } mio = { version = "0.8.0", features = ["os-poll", "net"] } ureq = { version = "2.3.1", optional = true } -lru = "0.7" +lru = "0.7.1" derive_more = "0.99.17" lazy_static = "1.4.0" diff --git a/README.md b/README.md index 4f571ff..fa85b4d 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,11 @@ You can download and run already built binaries from [releases](https://github.c You can build Alfis by issuing `cargo build --release` and `cargo run --release` commands in a directory of cloned repository. +If you want to build a version without GUI and without DoH: +`cargo build --release --no-default-features` +And this for build without GUI, but with DoH: +`cargo build --release --no-default-features --features="doh"` + ### ![Windows Logo](/img/windows.svg) On Windows You don't need any additional steps to build Alfis, just stick to the MSVC version of Rust.