From 1895f9240ebaaa341a172a5abc323e106364aa41 Mon Sep 17 00:00:00 2001 From: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> Date: Wed, 14 Sep 2022 18:36:08 +0800 Subject: [PATCH 1/4] Add vcpkg installation instructions --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 70febe6..728fd70 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,18 @@ time openssl sha256 /tmp/bigfile time b3sum /tmp/bigfile ``` +### Installing from vcpkg + +You can download and install `blake3` using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager: +```sh +git clone https://github.com/Microsoft/vcpkg.git +cd vcpkg +./bootstrap-vcpkg.sh #.\bootstrap-vcpkg.bat(for windows) +./vcpkg integrate install +./vcpkg install blake3 +``` +The `blake3` port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. + ### The `blake3` crate [![docs.rs](https://docs.rs/blake3/badge.svg)](https://docs.rs/blake3) To use BLAKE3 from Rust code, add a dependency on the `blake3` crate to From e49fd59fbe6f919e0b13922c900d2af5fb9c7c7c Mon Sep 17 00:00:00 2001 From: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> Date: Sun, 9 Oct 2022 13:53:27 +0800 Subject: [PATCH 2/4] Move vcpkg instructions to c/readme.md --- c/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/c/README.md b/c/README.md index 259af2a..7e48023 100644 --- a/c/README.md +++ b/c/README.md @@ -309,6 +309,18 @@ example: gcc -shared -O3 -o libblake3.so blake3.c blake3_dispatch.c blake3_portable.c ``` +## Installing from vcpkg + +You can download and install `blake3` using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager: +```sh +git clone https://github.com/Microsoft/vcpkg.git +cd vcpkg +./bootstrap-vcpkg.sh #.\bootstrap-vcpkg.bat(for windows) +./vcpkg integrate install +./vcpkg install blake3 +``` +The `blake3` port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. + # Multithreading Unlike the Rust implementation, the C implementation doesn't currently support From b8be47a9f0dba7a72cb19fac0e8989bb5d559a49 Mon Sep 17 00:00:00 2001 From: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> Date: Sun, 9 Oct 2022 13:54:57 +0800 Subject: [PATCH 3/4] Modify format --- c/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/README.md b/c/README.md index 7e48023..cb96c92 100644 --- a/c/README.md +++ b/c/README.md @@ -319,7 +319,7 @@ cd vcpkg ./vcpkg integrate install ./vcpkg install blake3 ``` -The `blake3` port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. +The `blake3` port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. # Multithreading From 36043dff98751dbf20490698a57133815a502032 Mon Sep 17 00:00:00 2001 From: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> Date: Sun, 9 Oct 2022 13:56:17 +0800 Subject: [PATCH 4/4] Update README.md --- README.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/README.md b/README.md index 728fd70..70febe6 100644 --- a/README.md +++ b/README.md @@ -111,18 +111,6 @@ time openssl sha256 /tmp/bigfile time b3sum /tmp/bigfile ``` -### Installing from vcpkg - -You can download and install `blake3` using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager: -```sh -git clone https://github.com/Microsoft/vcpkg.git -cd vcpkg -./bootstrap-vcpkg.sh #.\bootstrap-vcpkg.bat(for windows) -./vcpkg integrate install -./vcpkg install blake3 -``` -The `blake3` port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. - ### The `blake3` crate [![docs.rs](https://docs.rs/blake3/badge.svg)](https://docs.rs/blake3) To use BLAKE3 from Rust code, add a dependency on the `blake3` crate to