Skip to content
Closed
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: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ homepage = "https://github.com/jamesmunns/cassette"
repository = "https://github.com/jamesmunns/cassette"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies.futures]
version = "0.4.0-alpha.0"
default-features = false

[patch.crates-io.futures]
git = "https://github.com/taiki-e/futures-rs"
branch = "cfg_target_has_atomic-2"
2 changes: 1 addition & 1 deletion demo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use core::{

use cassette::{
Cassette,
pin_mut,
futures::pin_mut,
};

struct Demo {
Expand Down
103 changes: 0 additions & 103 deletions src/futures.rs

This file was deleted.

2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ use core::{
pin::Pin,
task::{Context, Poll, RawWaker, RawWakerVTable, Waker},
};
pub mod futures;
pub use futures;

fn no_op(_: *const ()) {}
fn no_op_clone(_: *const()) -> RawWaker { noop_raw_waker() }
Expand Down