Update name

This commit is contained in:
Aode (lion) 2022-02-15 12:20:16 -06:00
parent 2f032f9e13
commit 21e79db6d6
5 changed files with 11 additions and 10 deletions

View file

@ -1,5 +1,5 @@
[package]
name = "safe-executor"
name = "jitterbug"
version = "0.1.0"
edition = "2021"
@ -8,5 +8,6 @@ edition = "2021"
[dependencies]
[dev-dependencies]
# foxtrot = { git = "https://git.asonix.dog/safe-async/foxtrot" }
async-io = "1.6.0"
futures-lite = "1.12.0"

View file

@ -1,4 +1,4 @@
use safe_executor::{oneshot, Executor, JoinError};
use jitterbug::{oneshot, Executor, JoinError};
use std::time::Duration;
fn main() -> Result<(), JoinError> {

View file

@ -1,7 +1,8 @@
use std::sync::Arc;
use std::task::{Wake, Waker};
use safe_executor::Executor;
use jitterbug::Executor;
use std::{
sync::Arc,
task::{Wake, Waker},
};
fn spawn(executor: &Executor) {
println!("Spawning futures");

View file

@ -1,8 +1,7 @@
use async_io::{Async, Timer};
use futures_lite::{AsyncReadExt, AsyncWriteExt};
use safe_executor::Executor;
use std::net::TcpListener;
use std::time::Duration;
use jitterbug::Executor;
use std::{net::TcpListener, time::Duration};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let executor = Executor::new();

View file

@ -1,4 +1,4 @@
use safe_executor::{oneshot, Executor, JoinError};
use jitterbug::{oneshot, Executor, JoinError};
fn main() -> Result<(), JoinError> {
let executor = Executor::new();