Update name
This commit is contained in:
parent
2f032f9e13
commit
21e79db6d6
|
@ -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"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use safe_executor::{oneshot, Executor, JoinError};
|
||||
use jitterbug::{oneshot, Executor, JoinError};
|
||||
use std::time::Duration;
|
||||
|
||||
fn main() -> Result<(), JoinError> {
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use safe_executor::{oneshot, Executor, JoinError};
|
||||
use jitterbug::{oneshot, Executor, JoinError};
|
||||
|
||||
fn main() -> Result<(), JoinError> {
|
||||
let executor = Executor::new();
|
||||
|
|
Loading…
Reference in a new issue