From 1e6cd0923361a92aad10b9387561b76859ea19ab Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:54:56 -0700 Subject: [PATCH 01/49] (cargo-release) version 0.26.0-patch0 --- cap-async-std/Cargo.toml | 2 +- cap-fs-ext/Cargo.toml | 2 +- cap-primitives/Cargo.toml | 2 +- cap-std/Cargo.toml | 2 +- cap-time-ext/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cap-async-std/Cargo.toml b/cap-async-std/Cargo.toml index de741783..dc4ae40f 100644 --- a/cap-async-std/Cargo.toml +++ b/cap-async-std/Cargo.toml @@ -16,7 +16,7 @@ edition = "2018" arf-strings = { version = "0.6.7", optional = true } # Enable "unstable" for `spawn_blocking`. async-std = { version = "1.10.0", features = ["attributes", "unstable"] } -cap-primitives = { path = "../cap-primitives", version = "^0.25.0" } +cap-primitives = { path = "../cap-primitives", version = "^0.26.0-patch0" } io-lifetimes = { version = "0.7.0", default-features = false, features = ["async-std"] } ipnet = "2.3.0" io-extras = { version = "0.15.0", features = ["use_async_std"] } diff --git a/cap-fs-ext/Cargo.toml b/cap-fs-ext/Cargo.toml index fed8501c..46b5d6a9 100644 --- a/cap-fs-ext/Cargo.toml +++ b/cap-fs-ext/Cargo.toml @@ -16,7 +16,7 @@ edition = "2018" arf-strings = { version = "0.6.7", optional = true } cap-async-std = { path = "../cap-async-std", optional = true, version = "^0.25.0" } cap-std = { path = "../cap-std", optional = true, version = "^0.25.0" } -cap-primitives = { path = "../cap-primitives", version = "^0.25.0" } +cap-primitives = { path = "../cap-primitives", version = "^0.26.0-patch0" } io-lifetimes = { version = "0.7.0", default-features = false } # Enable "unstable" for `spawn_blocking`. async-std = { version = "1.10.0", features = ["attributes", "unstable"], optional = true } diff --git a/cap-primitives/Cargo.toml b/cap-primitives/Cargo.toml index 3b452fb2..23e1cc2e 100644 --- a/cap-primitives/Cargo.toml +++ b/cap-primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-primitives" -version = "0.25.2" +version = "0.26.0-patch0" description = "Capability-based primitives" authors = [ "Dan Gohman ", diff --git a/cap-std/Cargo.toml b/cap-std/Cargo.toml index b805fa98..adcc1302 100644 --- a/cap-std/Cargo.toml +++ b/cap-std/Cargo.toml @@ -18,7 +18,7 @@ rustdoc-args = ["--cfg=doc_cfg"] [dependencies] arf-strings = { version = "0.6.7", optional = true } -cap-primitives = { path = "../cap-primitives", version = "^0.25.0" } +cap-primitives = { path = "../cap-primitives", version = "^0.26.0-patch0" } ipnet = "2.3.0" io-extras = "0.15.0" io-lifetimes = { version = "0.7.0", default-features = false } diff --git a/cap-time-ext/Cargo.toml b/cap-time-ext/Cargo.toml index 8fa4df96..c959ab5a 100644 --- a/cap-time-ext/Cargo.toml +++ b/cap-time-ext/Cargo.toml @@ -13,7 +13,7 @@ repository = "https://github.com/bytecodealliance/cap-std" edition = "2018" [dependencies] -cap-primitives = { path = "../cap-primitives", version = "^0.25.0" } +cap-primitives = { path = "../cap-primitives", version = "^0.26.0-patch0" } cap-std = { path = "../cap-std", optional = true, version = "^0.25.0" } [target.'cfg(not(windows))'.dependencies] From 621580b7ac83942a8961b3f1f6c0ab520e670352 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:54:56 -0700 Subject: [PATCH 02/49] (cargo-release) version 0.26.0-patch0 --- Cargo.toml | 2 +- cap-async-std/Cargo.toml | 2 +- cap-fs-ext/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index df2020dc..99d9ecdb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ exclude = ["/.*"] [dev-dependencies] async-std = { version = "1.10.0", features = ["attributes"] } anyhow = "1.0.37" -cap-async-std = { path = "cap-async-std", version = "^0.25.0" } +cap-async-std = { path = "cap-async-std", version = "^0.26.0-patch0" } cap-fs-ext = { path = "cap-fs-ext", version = "^0.25.0" } cap-directories = { path = "cap-directories", version = "^0.25.0" } cap-std = { path = "cap-std", version = "^0.25.0" } diff --git a/cap-async-std/Cargo.toml b/cap-async-std/Cargo.toml index dc4ae40f..14a9f87b 100644 --- a/cap-async-std/Cargo.toml +++ b/cap-async-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-async-std" -version = "0.25.2" +version = "0.26.0-patch0" description = "Capability-based version of async-std" authors = [ "Dan Gohman ", diff --git a/cap-fs-ext/Cargo.toml b/cap-fs-ext/Cargo.toml index 46b5d6a9..e4cbf4cd 100644 --- a/cap-fs-ext/Cargo.toml +++ b/cap-fs-ext/Cargo.toml @@ -14,7 +14,7 @@ edition = "2018" [dependencies] arf-strings = { version = "0.6.7", optional = true } -cap-async-std = { path = "../cap-async-std", optional = true, version = "^0.25.0" } +cap-async-std = { path = "../cap-async-std", optional = true, version = "^0.26.0-patch0" } cap-std = { path = "../cap-std", optional = true, version = "^0.25.0" } cap-primitives = { path = "../cap-primitives", version = "^0.26.0-patch0" } io-lifetimes = { version = "0.7.0", default-features = false } From 7e4cac8f590a2585d0b7ea11122be45d389b928c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:54:56 -0700 Subject: [PATCH 03/49] (cargo-release) version 0.26.0-patch0 --- Cargo.toml | 2 +- cap-directories/Cargo.toml | 2 +- cap-fs-ext/Cargo.toml | 2 +- cap-std/Cargo.toml | 2 +- cap-tempfile/Cargo.toml | 2 +- cap-time-ext/Cargo.toml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 99d9ecdb..c7227168 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ anyhow = "1.0.37" cap-async-std = { path = "cap-async-std", version = "^0.26.0-patch0" } cap-fs-ext = { path = "cap-fs-ext", version = "^0.25.0" } cap-directories = { path = "cap-directories", version = "^0.25.0" } -cap-std = { path = "cap-std", version = "^0.25.0" } +cap-std = { path = "cap-std", version = "^0.26.0-patch0" } cap-tempfile = { path = "cap-tempfile", version = "^0.25.0" } rand = "0.8.1" tempfile = "3.1.0" diff --git a/cap-directories/Cargo.toml b/cap-directories/Cargo.toml index ef0cc133..2943eb8e 100644 --- a/cap-directories/Cargo.toml +++ b/cap-directories/Cargo.toml @@ -13,7 +13,7 @@ repository = "https://github.com/bytecodealliance/cap-std" edition = "2018" [dependencies] -cap-std = { path = "../cap-std", version = "^0.25.0" } +cap-std = { path = "../cap-std", version = "^0.26.0-patch0" } directories-next = "2.0.0" [target.'cfg(not(windows))'.dependencies] diff --git a/cap-fs-ext/Cargo.toml b/cap-fs-ext/Cargo.toml index e4cbf4cd..cd3ca757 100644 --- a/cap-fs-ext/Cargo.toml +++ b/cap-fs-ext/Cargo.toml @@ -15,7 +15,7 @@ edition = "2018" [dependencies] arf-strings = { version = "0.6.7", optional = true } cap-async-std = { path = "../cap-async-std", optional = true, version = "^0.26.0-patch0" } -cap-std = { path = "../cap-std", optional = true, version = "^0.25.0" } +cap-std = { path = "../cap-std", optional = true, version = "^0.26.0-patch0" } cap-primitives = { path = "../cap-primitives", version = "^0.26.0-patch0" } io-lifetimes = { version = "0.7.0", default-features = false } # Enable "unstable" for `spawn_blocking`. diff --git a/cap-std/Cargo.toml b/cap-std/Cargo.toml index adcc1302..7416adb3 100644 --- a/cap-std/Cargo.toml +++ b/cap-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std" -version = "0.25.2" +version = "0.26.0-patch0" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ", diff --git a/cap-tempfile/Cargo.toml b/cap-tempfile/Cargo.toml index 68538e3f..8a8c664b 100644 --- a/cap-tempfile/Cargo.toml +++ b/cap-tempfile/Cargo.toml @@ -13,7 +13,7 @@ repository = "https://github.com/bytecodealliance/cap-std" edition = "2018" [dependencies] -cap-std = { path = "../cap-std", version = "^0.25.0" } +cap-std = { path = "../cap-std", version = "^0.26.0-patch0" } uuid = { version = "1.0.0", features = ["v4"] } camino = { version = "1.0.5", optional = true } diff --git a/cap-time-ext/Cargo.toml b/cap-time-ext/Cargo.toml index c959ab5a..9d83ae37 100644 --- a/cap-time-ext/Cargo.toml +++ b/cap-time-ext/Cargo.toml @@ -14,7 +14,7 @@ edition = "2018" [dependencies] cap-primitives = { path = "../cap-primitives", version = "^0.26.0-patch0" } -cap-std = { path = "../cap-std", optional = true, version = "^0.25.0" } +cap-std = { path = "../cap-std", optional = true, version = "^0.26.0-patch0" } [target.'cfg(not(windows))'.dependencies] rustix = { version = "0.35.6", features = ["time"] } From d72fe6b73e92193bab69d31bd12046d86c141866 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:54:57 -0700 Subject: [PATCH 04/49] (cargo-release) version 0.26.0-patch0 --- Cargo.toml | 2 +- cap-tempfile/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c7227168..88a249f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ cap-async-std = { path = "cap-async-std", version = "^0.26.0-patch0" } cap-fs-ext = { path = "cap-fs-ext", version = "^0.25.0" } cap-directories = { path = "cap-directories", version = "^0.25.0" } cap-std = { path = "cap-std", version = "^0.26.0-patch0" } -cap-tempfile = { path = "cap-tempfile", version = "^0.25.0" } +cap-tempfile = { path = "cap-tempfile", version = "^0.26.0-patch0" } rand = "0.8.1" tempfile = "3.1.0" camino = "1.0.5" diff --git a/cap-tempfile/Cargo.toml b/cap-tempfile/Cargo.toml index 8a8c664b..7d57e36b 100644 --- a/cap-tempfile/Cargo.toml +++ b/cap-tempfile/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-tempfile" -version = "0.25.2" +version = "0.26.0-patch0" description = "Capability-based temporary directories" authors = [ "Dan Gohman ", From 1739923c3769e5b1641d7ddf5f689eee8f6127dd Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:54:57 -0700 Subject: [PATCH 05/49] (cargo-release) version 0.26.0-patch0 --- Cargo.toml | 2 +- cap-fs-ext/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 88a249f9..030dae78 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ exclude = ["/.*"] async-std = { version = "1.10.0", features = ["attributes"] } anyhow = "1.0.37" cap-async-std = { path = "cap-async-std", version = "^0.26.0-patch0" } -cap-fs-ext = { path = "cap-fs-ext", version = "^0.25.0" } +cap-fs-ext = { path = "cap-fs-ext", version = "^0.26.0-patch0" } cap-directories = { path = "cap-directories", version = "^0.25.0" } cap-std = { path = "cap-std", version = "^0.26.0-patch0" } cap-tempfile = { path = "cap-tempfile", version = "^0.26.0-patch0" } diff --git a/cap-fs-ext/Cargo.toml b/cap-fs-ext/Cargo.toml index cd3ca757..12c78314 100644 --- a/cap-fs-ext/Cargo.toml +++ b/cap-fs-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-fs-ext" -version = "0.25.2" +version = "0.26.0-patch0" description = "Extension traits for `Dir`, `File`, etc." authors = [ "Dan Gohman ", From 403447fd7a889e139c6bf3fb2755fe4285f825ee Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:54:57 -0700 Subject: [PATCH 06/49] (cargo-release) version 0.26.0-patch0 --- Cargo.toml | 2 +- cap-directories/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 030dae78..6420d519 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ async-std = { version = "1.10.0", features = ["attributes"] } anyhow = "1.0.37" cap-async-std = { path = "cap-async-std", version = "^0.26.0-patch0" } cap-fs-ext = { path = "cap-fs-ext", version = "^0.26.0-patch0" } -cap-directories = { path = "cap-directories", version = "^0.25.0" } +cap-directories = { path = "cap-directories", version = "^0.26.0-patch0" } cap-std = { path = "cap-std", version = "^0.26.0-patch0" } cap-tempfile = { path = "cap-tempfile", version = "^0.26.0-patch0" } rand = "0.8.1" diff --git a/cap-directories/Cargo.toml b/cap-directories/Cargo.toml index 2943eb8e..83a47b24 100644 --- a/cap-directories/Cargo.toml +++ b/cap-directories/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-directories" -version = "0.25.2" +version = "0.26.0-patch0" description = "Capability-based standard directories for config, cache and other data" authors = [ "Dan Gohman ", From 1d7b2fa1848d24a137e0193eeabc5e0c3162b629 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:54:57 -0700 Subject: [PATCH 07/49] (cargo-release) version 0.26.0-patch0 --- cap-rand/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-rand/Cargo.toml b/cap-rand/Cargo.toml index 156da113..61832630 100644 --- a/cap-rand/Cargo.toml +++ b/cap-rand/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-rand" -version = "0.25.2" +version = "0.26.0-patch0" description = "Capability-based random number generators" authors = [ "Dan Gohman ", From f25686190e4bbd4ef167377cc975113439b8088e Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:54:57 -0700 Subject: [PATCH 08/49] (cargo-release) version 0.26.0-patch0 --- cap-time-ext/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-time-ext/Cargo.toml b/cap-time-ext/Cargo.toml index 9d83ae37..440fa921 100644 --- a/cap-time-ext/Cargo.toml +++ b/cap-time-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-time-ext" -version = "0.25.2" +version = "0.26.0-patch0" description = "Extension traits for `SystemClock` and `MonotonicClock`" authors = [ "Dan Gohman ", From 7c302863798c3f353c72834ea3ae5fc3f260352c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:54:57 -0700 Subject: [PATCH 09/49] (cargo-release) version 0.26.0-patch0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6420d519..0ec21b09 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std-workspace" -version = "0.25.2" +version = "0.26.0-patch0" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ", From 945b6f6899ce2b031e6f994fcfa99e99122de861 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:59:16 -0700 Subject: [PATCH 10/49] (cargo-release) version 0.26.0-patch1 --- cap-primitives/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-primitives/Cargo.toml b/cap-primitives/Cargo.toml index 23e1cc2e..1cdb9bb2 100644 --- a/cap-primitives/Cargo.toml +++ b/cap-primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-primitives" -version = "0.26.0-patch0" +version = "0.26.0-patch1" description = "Capability-based primitives" authors = [ "Dan Gohman ", From 2e3830b67cd2ffbfbd896c9c2e971bb19e68e378 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:59:16 -0700 Subject: [PATCH 11/49] (cargo-release) version 0.26.0-patch1 --- cap-async-std/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-async-std/Cargo.toml b/cap-async-std/Cargo.toml index 14a9f87b..41820234 100644 --- a/cap-async-std/Cargo.toml +++ b/cap-async-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-async-std" -version = "0.26.0-patch0" +version = "0.26.0-patch1" description = "Capability-based version of async-std" authors = [ "Dan Gohman ", From d9411ee276566773ea11d793e52a95f2e6135831 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:59:16 -0700 Subject: [PATCH 12/49] (cargo-release) version 0.26.0-patch1 --- cap-std/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-std/Cargo.toml b/cap-std/Cargo.toml index 7416adb3..03bf1970 100644 --- a/cap-std/Cargo.toml +++ b/cap-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std" -version = "0.26.0-patch0" +version = "0.26.0-patch1" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ", From bdd5f43d26bf12f0d6ee4a4f8db9ec86918c76d7 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:59:16 -0700 Subject: [PATCH 13/49] (cargo-release) version 0.26.0-patch1 --- cap-tempfile/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-tempfile/Cargo.toml b/cap-tempfile/Cargo.toml index 7d57e36b..91549ea9 100644 --- a/cap-tempfile/Cargo.toml +++ b/cap-tempfile/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-tempfile" -version = "0.26.0-patch0" +version = "0.26.0-patch1" description = "Capability-based temporary directories" authors = [ "Dan Gohman ", From aaf3ca38b7f4a7047de6e59ab1aa146b0c7b041d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:59:16 -0700 Subject: [PATCH 14/49] (cargo-release) version 0.26.0-patch1 --- cap-fs-ext/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-fs-ext/Cargo.toml b/cap-fs-ext/Cargo.toml index 12c78314..cd6e5b97 100644 --- a/cap-fs-ext/Cargo.toml +++ b/cap-fs-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-fs-ext" -version = "0.26.0-patch0" +version = "0.26.0-patch1" description = "Extension traits for `Dir`, `File`, etc." authors = [ "Dan Gohman ", From 7b50e9ec12e0fb645bba06cdbf9ce68e7317abcd Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:59:16 -0700 Subject: [PATCH 15/49] (cargo-release) version 0.26.0-patch1 --- cap-directories/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-directories/Cargo.toml b/cap-directories/Cargo.toml index 83a47b24..56a49ead 100644 --- a/cap-directories/Cargo.toml +++ b/cap-directories/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-directories" -version = "0.26.0-patch0" +version = "0.26.0-patch1" description = "Capability-based standard directories for config, cache and other data" authors = [ "Dan Gohman ", From c10047dd769edb90d579736d88cd7f4420002498 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:59:16 -0700 Subject: [PATCH 16/49] (cargo-release) version 0.26.0-patch1 --- cap-rand/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-rand/Cargo.toml b/cap-rand/Cargo.toml index 61832630..e067a45e 100644 --- a/cap-rand/Cargo.toml +++ b/cap-rand/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-rand" -version = "0.26.0-patch0" +version = "0.26.0-patch1" description = "Capability-based random number generators" authors = [ "Dan Gohman ", From 6f8e1c1688ed3aaae8aaab0e35d4801c83e8eb06 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:59:16 -0700 Subject: [PATCH 17/49] (cargo-release) version 0.26.0-patch1 --- cap-time-ext/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-time-ext/Cargo.toml b/cap-time-ext/Cargo.toml index 440fa921..572fbba8 100644 --- a/cap-time-ext/Cargo.toml +++ b/cap-time-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-time-ext" -version = "0.26.0-patch0" +version = "0.26.0-patch1" description = "Extension traits for `SystemClock` and `MonotonicClock`" authors = [ "Dan Gohman ", From bd04e4618b8ec99ffe12af191f812086cc3c75b6 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Sep 2022 14:59:16 -0700 Subject: [PATCH 18/49] (cargo-release) version 0.26.0-patch1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0ec21b09..7cf241a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std-workspace" -version = "0.26.0-patch0" +version = "0.26.0-patch1" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ", From 13ee1383e89be4329e9c51a5e83d3d2ceb9c8935 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 15:37:09 -0700 Subject: [PATCH 19/49] Add a function to expose `StdRng::from_entropy` in a capability-safe way. `StdRng` has a `from_entropy` function which instantiates a `StdRng` from ambient authority. It's part of the `SeedableRng` trait, so we can't easily avoid it, but we can provide a wrapper that does make the ambient authority explicit. --- Cargo.toml | 1 + cap-rand/src/lib.rs | 16 +++++++++++++++- tests/rand.rs | 5 +++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 tests/rand.rs diff --git a/Cargo.toml b/Cargo.toml index 7cf241a7..a7cdf26c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,7 @@ cap-fs-ext = { path = "cap-fs-ext", version = "^0.26.0-patch0" } cap-directories = { path = "cap-directories", version = "^0.26.0-patch0" } cap-std = { path = "cap-std", version = "^0.26.0-patch0" } cap-tempfile = { path = "cap-tempfile", version = "^0.26.0-patch0" } +cap-rand = { path = "cap-rand", version = "^0.26.0-patch0" } rand = "0.8.1" tempfile = "3.1.0" camino = "1.0.5" diff --git a/cap-rand/src/lib.rs b/cap-rand/src/lib.rs index db4e6b56..deded589 100644 --- a/cap-rand/src/lib.rs +++ b/cap-rand/src/lib.rs @@ -14,7 +14,8 @@ //! interface, it provides a `from_entropy` function which directly reads //! from the operating system entropy source. To preserve the //! capability-based interface, avoid using `rand::SeedableRng`'s -//! `from_entropy` function on any of the types that implement that trait. +//! `from_entropy` function on any of the types that implement that trait; use +//! [`std_rng_from_entropy`] instead. //! //! [`OsRng`]: crate::rngs::OsRng //! [`CapRng`]: crate::rngs::CapRng @@ -166,6 +167,19 @@ pub fn thread_rng(_: AmbientAuthority) -> rngs::CapRng { } } +/// Retrieve the standard random number generator, seeded by the system. +/// +/// This corresponds to [`rand::rngs::StdRng::from_entropy`]. +/// +/// # Ambient Authority +/// +/// This function makes use of ambient authority to access the platform entropy +/// source. +#[inline] +pub fn std_rng_from_entropy(_: AmbientAuthority) -> rngs::StdRng { + rand::rngs::StdRng::from_entropy() +} + /// Generates a random value using the thread-local random number generator. /// /// This corresponds to [`rand::random`]. diff --git a/tests/rand.rs b/tests/rand.rs new file mode 100644 index 00000000..db00423a --- /dev/null +++ b/tests/rand.rs @@ -0,0 +1,5 @@ +#[test] +fn test_std_rng_from_entropy() { + let rng = cap_rand::std_rng_from_entropy(cap_rand::ambient_authority()); + assert_eq!(rng.clone(), rng); +} From 085387ec40877c9dd972412fef52374d747731d0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 16:50:50 -0700 Subject: [PATCH 20/49] (cargo-release) version 0.26.0-patch2 --- cap-primitives/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-primitives/Cargo.toml b/cap-primitives/Cargo.toml index 1cdb9bb2..3f47cd57 100644 --- a/cap-primitives/Cargo.toml +++ b/cap-primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-primitives" -version = "0.26.0-patch1" +version = "0.26.0-patch2" description = "Capability-based primitives" authors = [ "Dan Gohman ", From df1f539cf52ae6c71c159c7eb618886e8b4bb0b6 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 16:50:50 -0700 Subject: [PATCH 21/49] (cargo-release) version 0.26.0-patch2 --- cap-async-std/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-async-std/Cargo.toml b/cap-async-std/Cargo.toml index 41820234..4a338b97 100644 --- a/cap-async-std/Cargo.toml +++ b/cap-async-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-async-std" -version = "0.26.0-patch1" +version = "0.26.0-patch2" description = "Capability-based version of async-std" authors = [ "Dan Gohman ", From 97f235f53d20c311389275bb9e5495274a525932 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 16:50:50 -0700 Subject: [PATCH 22/49] (cargo-release) version 0.26.0-patch2 --- cap-std/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-std/Cargo.toml b/cap-std/Cargo.toml index 03bf1970..285b1113 100644 --- a/cap-std/Cargo.toml +++ b/cap-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std" -version = "0.26.0-patch1" +version = "0.26.0-patch2" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ", From 7363d05d23ad214b1a05f956f6f83b6e24dcd446 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 16:50:50 -0700 Subject: [PATCH 23/49] (cargo-release) version 0.26.0-patch2 --- cap-tempfile/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-tempfile/Cargo.toml b/cap-tempfile/Cargo.toml index 91549ea9..2276142a 100644 --- a/cap-tempfile/Cargo.toml +++ b/cap-tempfile/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-tempfile" -version = "0.26.0-patch1" +version = "0.26.0-patch2" description = "Capability-based temporary directories" authors = [ "Dan Gohman ", From 105ad734d040c70cee6ead890840087726244590 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 16:50:51 -0700 Subject: [PATCH 24/49] (cargo-release) version 0.26.0-patch2 --- cap-fs-ext/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-fs-ext/Cargo.toml b/cap-fs-ext/Cargo.toml index cd6e5b97..8bf16ddf 100644 --- a/cap-fs-ext/Cargo.toml +++ b/cap-fs-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-fs-ext" -version = "0.26.0-patch1" +version = "0.26.0-patch2" description = "Extension traits for `Dir`, `File`, etc." authors = [ "Dan Gohman ", From 50ba810114f847b38d42fb016cc666e6f5250b8f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 16:50:51 -0700 Subject: [PATCH 25/49] (cargo-release) version 0.26.0-patch2 --- cap-directories/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-directories/Cargo.toml b/cap-directories/Cargo.toml index 56a49ead..0ff9755f 100644 --- a/cap-directories/Cargo.toml +++ b/cap-directories/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-directories" -version = "0.26.0-patch1" +version = "0.26.0-patch2" description = "Capability-based standard directories for config, cache and other data" authors = [ "Dan Gohman ", From deceb74b30e539e2cd50c168eccbfa3cbaa30061 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 16:50:51 -0700 Subject: [PATCH 26/49] (cargo-release) version 0.26.0-patch2 --- cap-rand/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-rand/Cargo.toml b/cap-rand/Cargo.toml index e067a45e..0aab4000 100644 --- a/cap-rand/Cargo.toml +++ b/cap-rand/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-rand" -version = "0.26.0-patch1" +version = "0.26.0-patch2" description = "Capability-based random number generators" authors = [ "Dan Gohman ", From 34337991f0d37c6b2a912276b44faf3dbac47421 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 16:50:51 -0700 Subject: [PATCH 27/49] (cargo-release) version 0.26.0-patch2 --- cap-time-ext/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-time-ext/Cargo.toml b/cap-time-ext/Cargo.toml index 572fbba8..8021b7e6 100644 --- a/cap-time-ext/Cargo.toml +++ b/cap-time-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-time-ext" -version = "0.26.0-patch1" +version = "0.26.0-patch2" description = "Extension traits for `SystemClock` and `MonotonicClock`" authors = [ "Dan Gohman ", From afb8b7f3ff4c75e0386fe2422c68b9f8deaee9a2 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Sep 2022 16:50:51 -0700 Subject: [PATCH 28/49] (cargo-release) version 0.26.0-patch2 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a7cdf26c..47ae2b1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std-workspace" -version = "0.26.0-patch1" +version = "0.26.0-patch2" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ", From 59772704208fe4b4537099da189812ebba1c5411 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Sep 2022 09:28:08 -0700 Subject: [PATCH 29/49] (cargo-release) version 0.26.0 --- cap-primitives/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-primitives/Cargo.toml b/cap-primitives/Cargo.toml index 3f47cd57..12b27950 100644 --- a/cap-primitives/Cargo.toml +++ b/cap-primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-primitives" -version = "0.26.0-patch2" +version = "0.26.0" description = "Capability-based primitives" authors = [ "Dan Gohman ", From facdbdc267cced44fe5244992c0e3176622534b6 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Sep 2022 09:28:08 -0700 Subject: [PATCH 30/49] (cargo-release) version 0.26.0 --- cap-async-std/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-async-std/Cargo.toml b/cap-async-std/Cargo.toml index 4a338b97..2caa7f6a 100644 --- a/cap-async-std/Cargo.toml +++ b/cap-async-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-async-std" -version = "0.26.0-patch2" +version = "0.26.0" description = "Capability-based version of async-std" authors = [ "Dan Gohman ", From 1c2fa325fc083178cef53045d7553feef525331a Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Sep 2022 09:28:08 -0700 Subject: [PATCH 31/49] (cargo-release) version 0.26.0 --- cap-std/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-std/Cargo.toml b/cap-std/Cargo.toml index 285b1113..4f66046d 100644 --- a/cap-std/Cargo.toml +++ b/cap-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std" -version = "0.26.0-patch2" +version = "0.26.0" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ", From c7d323fc127693194bb650fda658664f80d1fcd0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Sep 2022 09:28:08 -0700 Subject: [PATCH 32/49] (cargo-release) version 0.26.0 --- cap-tempfile/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-tempfile/Cargo.toml b/cap-tempfile/Cargo.toml index 2276142a..97f8569c 100644 --- a/cap-tempfile/Cargo.toml +++ b/cap-tempfile/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-tempfile" -version = "0.26.0-patch2" +version = "0.26.0" description = "Capability-based temporary directories" authors = [ "Dan Gohman ", From 4a6e0323606a68c36a1e57402b24363406debc93 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Sep 2022 09:28:08 -0700 Subject: [PATCH 33/49] (cargo-release) version 0.26.0 --- cap-fs-ext/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-fs-ext/Cargo.toml b/cap-fs-ext/Cargo.toml index 8bf16ddf..55bf57d3 100644 --- a/cap-fs-ext/Cargo.toml +++ b/cap-fs-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-fs-ext" -version = "0.26.0-patch2" +version = "0.26.0" description = "Extension traits for `Dir`, `File`, etc." authors = [ "Dan Gohman ", From 75d276ff577b288cfcfd72782ac55965f63cce5c Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Sep 2022 09:28:09 -0700 Subject: [PATCH 34/49] (cargo-release) version 0.26.0 --- cap-directories/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-directories/Cargo.toml b/cap-directories/Cargo.toml index 0ff9755f..3ef3aa09 100644 --- a/cap-directories/Cargo.toml +++ b/cap-directories/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-directories" -version = "0.26.0-patch2" +version = "0.26.0" description = "Capability-based standard directories for config, cache and other data" authors = [ "Dan Gohman ", From 6e91b9ddc3992237a1005e5b03987a7c8adf9a9d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Sep 2022 09:28:09 -0700 Subject: [PATCH 35/49] (cargo-release) version 0.26.0 --- cap-rand/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-rand/Cargo.toml b/cap-rand/Cargo.toml index 0aab4000..264786b1 100644 --- a/cap-rand/Cargo.toml +++ b/cap-rand/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-rand" -version = "0.26.0-patch2" +version = "0.26.0" description = "Capability-based random number generators" authors = [ "Dan Gohman ", From 17e76893d82aa15c9d3161f63ca6c7bc88abfc64 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Sep 2022 09:28:09 -0700 Subject: [PATCH 36/49] (cargo-release) version 0.26.0 --- cap-time-ext/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-time-ext/Cargo.toml b/cap-time-ext/Cargo.toml index 8021b7e6..9722a083 100644 --- a/cap-time-ext/Cargo.toml +++ b/cap-time-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-time-ext" -version = "0.26.0-patch2" +version = "0.26.0" description = "Extension traits for `SystemClock` and `MonotonicClock`" authors = [ "Dan Gohman ", From b56af142e5a25567e09d49c43593374672f87dfe Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Sep 2022 09:28:09 -0700 Subject: [PATCH 37/49] (cargo-release) version 0.26.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 47ae2b1b..72088cc5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std-workspace" -version = "0.26.0-patch2" +version = "0.26.0" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ", From c4b29fd468b5a76e4a68c4a3beb95bed14eafcd0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 26 Sep 2022 18:23:11 -0700 Subject: [PATCH 38/49] On Windows, make `maybe_dir(true)` disable deletion and renaming. Similar to `dir_options()`, on Windows, when `maybe_dir` is set, clear the share flag for deletion and remaining, to protect cap-std's sandboxed path lookup. And, add a coment to cap-fs-ext's documentation for `maybe_dir`. --- cap-fs-ext/src/open_options_maybe_dir_ext.rs | 14 ++++++++------ cap-primitives/src/windows/fs/oflags.rs | 9 ++++++++- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/cap-fs-ext/src/open_options_maybe_dir_ext.rs b/cap-fs-ext/src/open_options_maybe_dir_ext.rs index 52b687f8..a286adf0 100644 --- a/cap-fs-ext/src/open_options_maybe_dir_ext.rs +++ b/cap-fs-ext/src/open_options_maybe_dir_ext.rs @@ -1,11 +1,13 @@ /// Extension trait for `cap_primitives::fs::OpenOptions` which adds -/// `maybe_dir`, a function for controlling whether an open should -/// attempt to succeed on a directory. On Posix-ish platforms, opening -/// a directory always succeeds, but on Windows, opening a directory -/// needs this option. +/// `maybe_dir`, a function for controlling whether an open should attempt to +/// succeed on a directory. On Posix-ish platforms, opening a directory always +/// succeeds, but on Windows, opening a directory needs this option. pub trait OpenOptionsMaybeDirExt { - /// Sets the option for disabling an error that might be generated - /// by the opened object being a directory. + /// Sets the option for disabling an error that might be generated by the + /// opened object being a directory. + /// + /// On some platforms, this may prevent the directory from being deleted + /// or renamed while the handle is open. fn maybe_dir(&mut self, maybe_dir: bool) -> &mut Self; } diff --git a/cap-primitives/src/windows/fs/oflags.rs b/cap-primitives/src/windows/fs/oflags.rs index f2867e0a..fda6a6e6 100644 --- a/cap-primitives/src/windows/fs/oflags.rs +++ b/cap-primitives/src/windows/fs/oflags.rs @@ -24,8 +24,15 @@ pub(in super::super) fn open_options_to_std(opts: &OpenOptions) -> (fs::OpenOpti opts.ext.custom_flags | FILE_FLAG_OPEN_REPARSE_POINT } }; + let mut share_mode = opts.ext.share_mode; if opts.maybe_dir { custom_flags |= FILE_FLAG_BACKUP_SEMANTICS; + + // Only allow `FILE_SHARE_READ` and `FILE_SHARE_WRITE`; this mirrors + // the values in `dir_options()` and is done to prevent directories + // from being deleted or renamed underneath cap-std's sandboxed path + // lookups on Windows. + share_mode &= !FILE_SHARE_DELETE; } let mut std_opts = fs::OpenOptions::new(); std_opts @@ -35,7 +42,7 @@ pub(in super::super) fn open_options_to_std(opts: &OpenOptions) -> (fs::OpenOpti .truncate(trunc) .create(opts.create) .create_new(opts.create_new) - .share_mode(opts.ext.share_mode) + .share_mode(share_mode) .custom_flags(custom_flags) .attributes(opts.ext.attributes); From d58279962a4dbf518d1a6c62d7f4e1c1a7ab07f7 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 27 Sep 2022 16:13:16 -0700 Subject: [PATCH 39/49] Fix compilation. --- cap-primitives/src/windows/fs/oflags.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-primitives/src/windows/fs/oflags.rs b/cap-primitives/src/windows/fs/oflags.rs index fda6a6e6..8f5022a5 100644 --- a/cap-primitives/src/windows/fs/oflags.rs +++ b/cap-primitives/src/windows/fs/oflags.rs @@ -2,7 +2,7 @@ use crate::fs::{FollowSymlinks, OpenOptions}; use std::fs; use std::os::windows::fs::OpenOptionsExt; use windows_sys::Win32::Storage::FileSystem::{ - FILE_FLAG_BACKUP_SEMANTICS, FILE_FLAG_OPEN_REPARSE_POINT, + FILE_FLAG_BACKUP_SEMANTICS, FILE_FLAG_OPEN_REPARSE_POINT, FILE_SHARE_DELETE, }; /// Translate the given `cap_std` into `std` options. Also return a bool From 662defa41e9bb25ce6fb29081889c1ca5db8ac87 Mon Sep 17 00:00:00 2001 From: Roman Volosatovs Date: Fri, 23 Sep 2022 19:43:25 +0200 Subject: [PATCH 40/49] fix: always set `directory` open flag in `open_ambient_dir` Signed-off-by: Roman Volosatovs --- cap-primitives/src/rustix/fs/dir_utils.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cap-primitives/src/rustix/fs/dir_utils.rs b/cap-primitives/src/rustix/fs/dir_utils.rs index bb18ee02..e706b199 100644 --- a/cap-primitives/src/rustix/fs/dir_utils.rs +++ b/cap-primitives/src/rustix/fs/dir_utils.rs @@ -6,7 +6,7 @@ use std::ops::Deref; #[cfg(unix)] use std::os::unix::{ffi::OsStrExt, fs::OpenOptionsExt}; #[cfg(target_os = "wasi")] -use std::os::wasi::ffi::OsStrExt; +use std::os::wasi::{ffi::OsStrExt, fs::OpenOptionsExt}; use std::path::Path; #[cfg(racy_asserts)] use std::{ffi::OsString, os::unix::ffi::OsStringExt, path::PathBuf}; @@ -100,15 +100,15 @@ pub(crate) fn canonicalize_options() -> OpenOptions { /// This function is not sandboxed and may trivially access any path that the /// host process has access to. pub(crate) fn open_ambient_dir_impl(path: &Path, _: AmbientAuthority) -> io::Result { - // This is for `std::fs`, so we don't have `dir_required`, so set - // `O_DIRECTORY` manually. - let flags = OFlags::DIRECTORY | target_o_path(); - let mut options = fs::OpenOptions::new(); options.read(true); #[cfg(not(target_os = "wasi"))] - options.custom_flags(flags.bits() as i32); + // This is for `std::fs`, so we don't have `dir_required`, so set + // `O_DIRECTORY` manually. + options.custom_flags((OFlags::DIRECTORY | target_o_path()).bits() as i32); + #[cfg(target_os = "wasi")] + options.directory(true); options.open(&path) } From a7b3a7e7f68df4b19dc29fb7405a79deca6fa4f4 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Sep 2022 15:36:06 -0700 Subject: [PATCH 41/49] (cargo-release) version 0.26.1 --- cap-primitives/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-primitives/Cargo.toml b/cap-primitives/Cargo.toml index 12b27950..c142da61 100644 --- a/cap-primitives/Cargo.toml +++ b/cap-primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-primitives" -version = "0.26.0" +version = "0.26.1" description = "Capability-based primitives" authors = [ "Dan Gohman ", From 8b2b06442ad31a63fdd9658f8398fc43aa928e34 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Sep 2022 15:36:06 -0700 Subject: [PATCH 42/49] (cargo-release) version 0.26.1 --- cap-async-std/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-async-std/Cargo.toml b/cap-async-std/Cargo.toml index 2caa7f6a..f4c8183e 100644 --- a/cap-async-std/Cargo.toml +++ b/cap-async-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-async-std" -version = "0.26.0" +version = "0.26.1" description = "Capability-based version of async-std" authors = [ "Dan Gohman ", From fb2f5834afe7b60c098da471766d63b84c66cbd3 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Sep 2022 15:36:06 -0700 Subject: [PATCH 43/49] (cargo-release) version 0.26.1 --- cap-std/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-std/Cargo.toml b/cap-std/Cargo.toml index 4f66046d..cac7b023 100644 --- a/cap-std/Cargo.toml +++ b/cap-std/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std" -version = "0.26.0" +version = "0.26.1" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ", From 56001ae8c4807b189ed0093902b8db19a9333c54 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Sep 2022 15:36:06 -0700 Subject: [PATCH 44/49] (cargo-release) version 0.26.1 --- cap-tempfile/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-tempfile/Cargo.toml b/cap-tempfile/Cargo.toml index 97f8569c..0ac44a21 100644 --- a/cap-tempfile/Cargo.toml +++ b/cap-tempfile/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-tempfile" -version = "0.26.0" +version = "0.26.1" description = "Capability-based temporary directories" authors = [ "Dan Gohman ", From 806267931585bf8be7cef5c9f5a119296113b253 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Sep 2022 15:36:06 -0700 Subject: [PATCH 45/49] (cargo-release) version 0.26.1 --- cap-fs-ext/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-fs-ext/Cargo.toml b/cap-fs-ext/Cargo.toml index 55bf57d3..52e44672 100644 --- a/cap-fs-ext/Cargo.toml +++ b/cap-fs-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-fs-ext" -version = "0.26.0" +version = "0.26.1" description = "Extension traits for `Dir`, `File`, etc." authors = [ "Dan Gohman ", From 1e3156712e213f4e2a55e1ca14e4773f70426430 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Sep 2022 15:36:06 -0700 Subject: [PATCH 46/49] (cargo-release) version 0.26.1 --- cap-directories/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-directories/Cargo.toml b/cap-directories/Cargo.toml index 3ef3aa09..ad187f0f 100644 --- a/cap-directories/Cargo.toml +++ b/cap-directories/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-directories" -version = "0.26.0" +version = "0.26.1" description = "Capability-based standard directories for config, cache and other data" authors = [ "Dan Gohman ", From 5f9d6e7d775e52cf11b54638a785324f64deffef Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Sep 2022 15:36:06 -0700 Subject: [PATCH 47/49] (cargo-release) version 0.26.1 --- cap-rand/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-rand/Cargo.toml b/cap-rand/Cargo.toml index 264786b1..72509314 100644 --- a/cap-rand/Cargo.toml +++ b/cap-rand/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-rand" -version = "0.26.0" +version = "0.26.1" description = "Capability-based random number generators" authors = [ "Dan Gohman ", From 9478a2d7557746ed086f7cde4af161b5d4b00a39 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Sep 2022 15:36:06 -0700 Subject: [PATCH 48/49] (cargo-release) version 0.26.1 --- cap-time-ext/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cap-time-ext/Cargo.toml b/cap-time-ext/Cargo.toml index 9722a083..8c640e91 100644 --- a/cap-time-ext/Cargo.toml +++ b/cap-time-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-time-ext" -version = "0.26.0" +version = "0.26.1" description = "Extension traits for `SystemClock` and `MonotonicClock`" authors = [ "Dan Gohman ", From 5a65be2e73b819fedae90fee4a7ad3d400960397 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 29 Sep 2022 15:36:06 -0700 Subject: [PATCH 49/49] (cargo-release) version 0.26.1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 72088cc5..9b594bdc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cap-std-workspace" -version = "0.26.0" +version = "0.26.1" description = "Capability-based version of the Rust standard library" authors = [ "Dan Gohman ",