Rename async-join to join-all

This commit is contained in:
Aode (lion) 2022-02-17 13:57:39 -05:00
parent 3eee2a97ad
commit 5ab752f182
5 changed files with 10 additions and 10 deletions

12
Cargo.lock generated
View file

@ -2,11 +2,6 @@
# It is not intended for manual editing.
version = 3
[[package]]
name = "async-join"
version = "0.1.0"
source = "git+https://git.asonix.dog/safe-async/async-join#67c7725dba6c44261e8ee581aef090276d88cbc2"
[[package]]
name = "bitflags"
version = "1.3.2"
@ -44,7 +39,7 @@ dependencies = [
name = "foxtrot"
version = "0.1.0"
dependencies = [
"async-join",
"join-all",
"polldance",
"read-write-buf",
]
@ -55,6 +50,11 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec58677acfea8a15352d42fc87d11d63596ade9239e0a7c9352914417515dbe6"
[[package]]
name = "join-all"
version = "0.1.0"
source = "git+https://git.asonix.dog/safe-async/join-all#640069c1cbf5195ace220bd2e19686cd3f389208"
[[package]]
name = "libc"
version = "0.2.118"

View file

@ -10,4 +10,4 @@ polldance = { git = "https://git.asonix.dog/safe-async/polldance" }
[dev-dependencies]
read-write-buf = { git = "https://git.asonix.dog/asonix/read-write-buf" }
async-join = { git = "https://git.asonix.dog/safe-async/async-join" }
join-all = { git = "https://git.asonix.dog/safe-async/join-all" }

View file

@ -1,8 +1,8 @@
use async_join::join_all;
use foxtrot::{
io::{Nonblocking, ReadBytes, Readiness},
Async,
};
use join_all::join_all;
use read_write_buf::ReadWriteBuf;
async fn echo(port: u16) -> Result<(), foxtrot::Error> {

View file

@ -1,5 +1,5 @@
use async_join::join_all;
use foxtrot::Async;
use join_all::join_all;
use std::net::{SocketAddr, SocketAddrV4, TcpStream};
async fn echo_to(port: u16) -> Result<(), Box<dyn std::error::Error>> {

View file

@ -1,5 +1,5 @@
use async_join::join_all;
use foxtrot::Error;
use join_all::join_all;
use std::{future::Future, pin::Pin, time::Duration};
fn main() -> Result<(), Error> {