mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-28 15:19:41 +00:00
Switch branch name to main
Update all references.
This commit is contained in:
parent
97a2fbed07
commit
ca8305064b
7 changed files with 21 additions and 21 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
|||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- staging
|
||||
- trying
|
||||
|
||||
|
|
|
@ -419,7 +419,7 @@ assert_eq!(right, [2, 4]);
|
|||
|
||||
## Changed
|
||||
|
||||
- Enabled CI on master branch.
|
||||
- Enabled CI.
|
||||
- `Future::join` and `Future::try_join` can now join futures with different
|
||||
output types.
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ fn main() {
|
|||
More examples, including networking and file access, can be found in our
|
||||
[`examples`] directory and in our [documentation].
|
||||
|
||||
[`examples`]: https://github.com/async-rs/async-std/tree/master/examples
|
||||
[`examples`]: https://github.com/async-rs/async-std/tree/HEAD/examples
|
||||
[documentation]: https://docs.rs/async-std#examples
|
||||
[`task::block_on`]: https://docs.rs/async-std/*/async_std/task/fn.block_on.html
|
||||
[`"attributes"` feature]: https://docs.rs/async-std/#features
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
set -euxo pipefail
|
||||
|
||||
# Based on the Rust-Embedded WG's book CI
|
||||
# https://github.com/rust-embedded/book/blob/master/ci/install.sh
|
||||
# https://github.com/rust-embedded/book/blob/HEAD/ci/install.sh
|
||||
|
||||
main() {
|
||||
# Note - this will only accept releases tagged with v0.3.x
|
||||
|
|
|
@ -11,4 +11,4 @@ How will it distribute the messages?
|
|||
|
||||
This tutorial explains how to write a chat server in `async-std`.
|
||||
|
||||
You can also find the tutorial in [our repository](https://github.com/async-rs/async-std/blob/master/examples/a-chat).
|
||||
You can also find the tutorial in [our repository](https://github.com/async-rs/async-std/blob/HEAD/examples/a-chat).
|
||||
|
|
|
@ -154,18 +154,18 @@ Make requests by running the client example:
|
|||
cargo run --example udp-client
|
||||
```
|
||||
|
||||
[hello-world]: https://github.com/async-rs/async-std/blob/master/examples/hello-world.rs
|
||||
[line-count]: https://github.com/async-rs/async-std/blob/master/examples/line-count.rs
|
||||
[list-dir]: https://github.com/async-rs/async-std/blob/master/examples/list-dir.rs
|
||||
[logging]: https://github.com/async-rs/async-std/blob/master/examples/logging.rs
|
||||
[print-file]: https://github.com/async-rs/async-std/blob/master/examples/print-file.rs
|
||||
[socket-timeouts]: https://github.com/async-rs/async-std/blob/master/examples/socket-timeouts.rs
|
||||
[stdin-echo]: https://github.com/async-rs/async-std/blob/master/examples/stdin-echo.rs
|
||||
[stdin-timeout]: https://github.com/async-rs/async-std/blob/master/examples/stdin-timeout.rs
|
||||
[surf-web]: https://github.com/async-rs/async-std/blob/master/examples/surf-web.rs
|
||||
[task-local]: https://github.com/async-rs/async-std/blob/master/examples/task-local.rs
|
||||
[task-name]: https://github.com/async-rs/async-std/blob/master/examples/task-name.rs
|
||||
[tcp-client]: https://github.com/async-rs/async-std/blob/master/examples/tcp-client.rs
|
||||
[tcp-echo]: https://github.com/async-rs/async-std/blob/master/examples/tcp-echo.rs
|
||||
[udp-client]: https://github.com/async-rs/async-std/blob/master/examples/udp-client.rs
|
||||
[udp-echo]: https://github.com/async-rs/async-std/blob/master/examples/udp-echo.rs
|
||||
[hello-world]: https://github.com/async-rs/async-std/blob/HEAD/examples/hello-world.rs
|
||||
[line-count]: https://github.com/async-rs/async-std/blob/HEAD/examples/line-count.rs
|
||||
[list-dir]: https://github.com/async-rs/async-std/blob/HEAD/examples/list-dir.rs
|
||||
[logging]: https://github.com/async-rs/async-std/blob/HEAD/examples/logging.rs
|
||||
[print-file]: https://github.com/async-rs/async-std/blob/HEAD/examples/print-file.rs
|
||||
[socket-timeouts]: https://github.com/async-rs/async-std/blob/HEAD/examples/socket-timeouts.rs
|
||||
[stdin-echo]: https://github.com/async-rs/async-std/blob/HEAD/examples/stdin-echo.rs
|
||||
[stdin-timeout]: https://github.com/async-rs/async-std/blob/HEAD/examples/stdin-timeout.rs
|
||||
[surf-web]: https://github.com/async-rs/async-std/blob/HEAD/examples/surf-web.rs
|
||||
[task-local]: https://github.com/async-rs/async-std/blob/HEAD/examples/task-local.rs
|
||||
[task-name]: https://github.com/async-rs/async-std/blob/HEAD/examples/task-name.rs
|
||||
[tcp-client]: https://github.com/async-rs/async-std/blob/HEAD/examples/tcp-client.rs
|
||||
[tcp-echo]: https://github.com/async-rs/async-std/blob/HEAD/examples/tcp-echo.rs
|
||||
[udp-client]: https://github.com/async-rs/async-std/blob/HEAD/examples/udp-client.rs
|
||||
[udp-echo]: https://github.com/async-rs/async-std/blob/HEAD/examples/udp-echo.rs
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
//! * [The async-std website](https://async.rs/)
|
||||
//! * [The async-std book](https://book.async.rs)
|
||||
//! * [GitHub repository](https://github.com/async-rs/async-std)
|
||||
//! * [List of code examples](https://github.com/async-rs/async-std/tree/master/examples)
|
||||
//! * [List of code examples](https://github.com/async-rs/async-std/tree/HEAD/examples)
|
||||
//! * [Discord chat](https://discord.gg/JvZeVNe)
|
||||
//!
|
||||
//! # What is in the `async-std` documentation?
|
||||
|
|
Loading…
Reference in a new issue