Skip to content

Commit ecc886d

Browse files
authored
Remove cap-async-std. (#399)
* Remove cap-async-std. The underlying async-std crate has been discontinued, so discontinue the cap-async-std crate as well. Fixes #393. * Remove the async-io pin from CI. * Remove polling too.
1 parent e8cbd4b commit ecc886d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+10
-7034
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,6 @@ jobs:
375375
- name: Use specific dependency versions for Rust 1.63 compatibility.
376376
run: |
377377
cargo update --package=once_cell --precise=1.20.3
378-
cargo update --package=async-io --precise=2.5.0
379-
cargo update --package=polling --precise=3.10.0
380378
381379
# Don't use --all-features because some of the features have dependencies
382380
# that don't work on newer Rust versions.

Cargo.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ exclude = ["/.*"]
1717
rust-version = "1.63"
1818

1919
[dev-dependencies]
20-
async-std = { version = "1.13.0", features = ["attributes", "io_safety"] }
2120
anyhow = "1.0.37"
22-
cap-async-std = { path = "cap-async-std", version = "3.4.5" }
2321
cap-fs-ext = { path = "cap-fs-ext", version = "3.4.5" }
2422
cap-net-ext = { path = "cap-net-ext", version = "3.4.5" }
2523
cap-directories = { path = "cap-directories", version = "3.4.5" }
@@ -56,23 +54,14 @@ fs_utf8 = [
5654
"cap-fs-ext/fs_utf8",
5755
"cap-tempfile/fs_utf8",
5856
]
59-
async_std_fs_utf8 = [
60-
"cap-async-std/fs_utf8",
61-
"cap-fs-ext/async_std_fs_utf8"
62-
]
6357
arf_strings = [
6458
"cap-std/arf_strings",
6559
"cap-fs-ext/arf_strings",
6660
"cap-tempfile/arf_strings",
6761
]
68-
async_std_arf_strings = [
69-
"cap-async-std/arf_strings",
70-
"cap-fs-ext/async_std_arf_strings"
71-
]
7262

7363
[workspace]
7464
members = [
75-
"cap-async-std",
7665
"cap-fs-ext",
7766
"cap-net-ext",
7867
"cap-directories",

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ The `cap-std` project is organized around the eponymous [`cap-std`] crate, and
1717
develops libraries to make it easy to write capability-based code, including:
1818

1919
- [`cap-std`] itself, which provides capability-based versions of `std` APIs
20-
- [`cap-async-std`], which is to [`async-std`] what `cap-std` is to `std`
2120
- [`cap-directories`] which provides capability-based access to
2221
[standard application directories]
2322
- [`cap-tempfile`], which provides capability-based access to
@@ -45,15 +44,13 @@ Linux.
4544
[CWE-22]: https://cwe.mitre.org/data/definitions/22.html
4645
[2021 CWE Top 25 Most Dangerous Software Weaknesses]: https://cwe.mitre.org/top25/archive/2021/2021_cwe_top25.html
4746
[`cap-std`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-std/README.md
48-
[`cap-async-std`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-async-std/README.md
4947
[`cap-directories`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-directories/README.md
5048
[`cap-tempfile`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-tempfile/README.md
5149
[`cap-fs-ext`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-fs-ext/README.md
5250
[`cap-time-ext`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-time-ext/README.md
5351
[`cap-rand`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-rand/README.md
5452
[`cap-net-ext`]: https://github.com/bytecodealliance/cap-std/blob/main/cap-net-ext/README.md
5553
[`cap_std::fs`]: https://docs.rs/cap-std/latest/cap_std/fs/index.html
56-
[`async-std`]: https://docs.rs/async-std/
5754
[standard application directories]: https://docs.rs/directories-next/
5855
[temporary directories]: https://docs.rs/tempfile/
5956
[random number generators]: https://docs.rs/rand/

cap-async-std/COPYRIGHT

Lines changed: 0 additions & 29 deletions
This file was deleted.

cap-async-std/Cargo.toml

Lines changed: 0 additions & 30 deletions
This file was deleted.

cap-async-std/LICENSE-APACHE

Lines changed: 0 additions & 201 deletions
This file was deleted.

0 commit comments

Comments
 (0)