Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up a few dependencies #55

Merged
merged 1 commit into from
Sep 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,24 @@ categories = ["asynchronous", "concurrency", "development-tools::testing"]
[dependencies]
ansi_term = "~0.12.1"
bitvec = "~0.21.0"
futures = "~0.3.5"
generator = "~0.7.0"
hex = "~0.4.2"
rand_core = "~0.5.1"
rand = "~0.7.3"
rand_pcg = "~0.2.1"
scoped-tls = "~1.0.0"
smallvec = "~1.6.1"
test-env-log = { version = "~0.2.2", default-features = false, features = ["trace"] }
tracing = "~0.1.21"
tracing = { version = "~0.1.21", default-features = false, features = ["std"] }
tracing-subscriber = "~0.2.12"
varmint = "~0.1.3"

[dev-dependencies]
criterion = { version = "~0.3.4", features = ["html_reports"] }
futures = "~0.3.5"
proptest = "~0.10.1"
proptest-derive = "~0.2.0"
regex = "~1.3.9"
tempfile = "~3.2.0"
test-env-log = { version = "~0.2.2", default-features = false, features = ["trace"] }

[lib]
bench = false
Expand Down
2 changes: 1 addition & 1 deletion src/asynch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use crate::runtime::execution::ExecutionState;
use crate::runtime::task::TaskId;
use crate::runtime::thread;
use futures::future::Future;
use std::future::Future;
use std::pin::Pin;
use std::result::Result;
use std::task::{Context, Poll};
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ use crate::runtime::task::{Task, TaskId, TaskState, DEFAULT_INLINE_TASKS};
use crate::runtime::thread::continuation::PooledContinuation;
use crate::scheduler::{Schedule, Scheduler};
use crate::{Config, MaxSteps};
use futures::Future;
use scoped_tls::scoped_thread_local;
use smallvec::SmallVec;
use std::any::Any;
use std::cell::RefCell;
use std::future::Future;
use std::panic;
use std::rc::Rc;
use tracing::span::Entered;
Expand Down
5 changes: 2 additions & 3 deletions src/runtime/task/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ use crate::runtime::thread;
use crate::runtime::thread::continuation::{ContinuationPool, PooledContinuation};
use crate::thread::LocalKey;
use bitvec::prelude::*;
use bitvec::vec::BitVec;
use futures::{task::Waker, Future};
use std::any::Any;
use std::cell::RefCell;
use std::fmt::Debug;
use std::future::Future;
use std::rc::Rc;
use std::task::Context;
use std::task::{Context, Waker};

pub(crate) mod clock;
pub(crate) mod waker;
Expand Down