87 Commits

Author SHA1 Message Date
Taiki Endo
5285d05c3e Remove no longer necessary allowed lints 2025-01-25 14:23:33 +09:00
Hans Kratz
ebaf1a2866 Various fixes too make the CI green (#2885)
* Fix unexpected `cfg` condition name: ... warnings introduced in Rust 1.80

See https://blog.rust-lang.org/2024/05/06/check-cfg.html

* io_slice_advance feature is now stable

* clippy: enable missing_const_for_thread_local lint, now checks for MSRV (see https://github.com/rust-lang/rust-clippy/issues/12404)

* clippy: fixes for "doc list item without indentation" lint

* clippy: ignore incorrect "first doc comment paragraph is too long" warning

see https://github.com/rust-lang/rust-clippy/issues/13315

* clippy: allow long first paragraphs in select... fn doc comments

* use workspace level setting to ignore error about the futures_sanitizer unexpected config
2024-09-14 21:18:31 +09:00
Taiki Endo
021241badc Ignore buggy clippy::incompatible_msrv lint 2024-02-26 23:26:11 +09:00
Taiki Endo
1c271d49e3 Add comment on workspace-level lints 2024-02-26 23:26:11 +09:00
Taiki Endo
9e5fccf437 Use [lints] in Cargo.toml 2023-12-24 22:49:03 +09:00
Taiki Endo
c180a3aacb Remove uses of unstable feature(cfg_target_has_atomic) 2021-05-06 20:12:23 +09:00
Taiki Endo
d6c8bd8f35 Support reexport for join!/try_join! macros 2020-04-22 09:44:28 -07:00
Taiki Endo
19c4714851 Move examples directory into the root 2019-11-19 09:40:23 -08:00
Danny Browning
260f76b5a6 Lib.rs Example and Async Block Callout (#1203)
Add a more complete example to lib.rs, and callout that examples and snippets
in the crate use an async block.
2019-11-14 10:23:54 -08:00
Taiki Endo
d6b6ba7502 Move Spawn/LocalSpawn from futures-core to futures-task 2019-11-05 10:13:52 -08:00
Taiki Endo
8adb013217 Merge futures-select-macro and futures-join-macro 2019-10-31 10:36:43 -07:00
Taiki Endo
049922dc4f Rewrite join! and try_join! as procedural macros 2019-08-08 09:20:43 -07:00
Taiki Endo
828a7d1e8c Update to new futures_api (cx) 2019-04-15 17:09:29 +02:00
Taylor Cramer
d040a57521 Remove pin_utils pin 2018-10-01 16:24:25 -07:00
Eunchong Yu
1d936e1881 Follow latest pinning API 2018-10-01 16:24:25 -07:00
Wim Looman
8a5f1a294a Initial testing utilities crate 2018-08-15 12:39:36 +02:00
Josef Reinhard Brandl
173c6acf88 Remove async/await crates 2018-06-27 12:49:12 -07:00
Josef Reinhard Brandl
f66657dbbe Executors and partly reenable futures crate 2018-06-22 16:32:02 -07:00
tinaun
de9ab1d4e5 remove futures-stable 2018-06-07 15:38:05 -04:00
Taylor Cramer
6a329940d4 Update Sink combinators 2018-05-31 11:39:54 -07:00
Taylor Cramer
99ec3c276b Update futures-io combinators 2018-05-18 16:35:23 -07:00
Taylor Cramer
6a8f834025 Revert "Update futures-io to use PinMut"
This reverts commit a0193a5e3a.
2018-05-18 16:35:23 -07:00
Taylor Cramer
a0193a5e3a Update futures-io to use PinMut 2018-05-14 18:34:44 -07:00
Aaron Turon
f9c468ea6f Convert basic futures combinators to futures-core 0.3
This commit includes the introduction of a `FutureResult` trait along
the lines of the RFC (with some slight revisions).

It tackles all the "basic" combinators, but leaves off `shared`,
`select`, and `join` for the moment.
2018-04-20 13:59:30 -07:00
Aaron Turon
4f9d185a43 Transition futures-channel to 0.3.0-alpha 2018-04-18 18:01:20 -07:00
Aaron Turon
9f812561d8 Transition futures-core to 0.3.0-alpha
Migrates the futures-core crate to the 0.3 design currently under
RFC consideration. In particular:

- Introduces `Pin` throughout
- Removes the `Error` associated type
- Removes task-local data
2018-04-18 17:32:09 -07:00
boats
495d14323e testcrate in its own workspace. 2018-03-27 10:48:40 -07:00
boats
a27b92eee1 Try to make CI correct. 2018-03-27 06:03:03 -07:00
boats
763fc13192 Merge futures-await into futures-rs. 2018-03-25 06:59:47 -07:00
boats
d681f94c2a Integrate futures-stable into futures crate.
futures-stable provides adapters to work with futures that contain
internal self-references.

futures-stable only works on nightly. A new nightly feature is
added to futures to turn futures-stable on. The futures-stable
items are re-exported from the `stable` submodule.

Also on nightly only, Future and Stream are implemented for
PinBoxes of futures and streams.
2018-03-13 16:25:24 -07:00
Taylor Cramer
c3d3e08239 Add futures-io 2018-02-20 17:05:38 -08:00
Aaron Turon
8198563d7a Incorporate CpuPool into the executor crate as ThreadPool, revamp it 2018-02-14 11:13:06 -08:00
Taylor Cramer
0124b79be3 Separate futures-rs into workspace crates 2018-02-06 13:36:17 -08:00
Taylor Cramer
18c4984fe5 Remove deprecated functionality 2018-02-05 11:37:04 -08:00
Alex Crichton
92924d5751 Bump to 0.1.18 2018-01-25 08:45:12 -08:00
Alex Crichton
a16b5ab620 Bump to 0.1.17
Closes #629
2017-10-31 14:55:58 -07:00
Alex Crichton
8961e7748d Bump to 0.1.16 2017-09-15 10:46:23 -07:00
Alex Crichton
f2a5d6497b Bump to 0.1.15 2017-08-24 08:09:54 -07:00
Alex Crichton
0dc2f6e55d Bump to 0.1.14 2017-05-30 08:33:19 -07:00
Alex Crichton
ac4f467b29 Bump to 0.1.13 2017-04-05 16:28:02 -07:00
Alex Crichton
812b7146e5 Bump to 0.1.12
Closes #438
2017-04-03 15:57:09 -07:00
Alex Crichton
6720628103 Bump to 0.1.11 2017-03-13 15:41:50 -07:00
Sean McArthur
8584ec15e8 remove (unused) log dependency 2017-03-07 10:28:41 -08:00
Alex Crichton
a81661b90e Add Cargo categories and badges 2017-01-30 10:37:13 -08:00
Alex Crichton
a9200e131f Bump to 0.1.10 2017-01-30 10:34:42 -08:00
Alex Crichton
65872fe579 Bump to 0.1.9 2017-01-18 09:50:57 -08:00
Alex Crichton
63c875b42f Bump to 0.1.8 2017-01-11 11:55:49 -08:00
Alex Crichton
0163721a86 Bump to 0.1.7
* Add a `Future::shared` method for creating a future that can be shared
  amongst threads by cloning the future itself. All derivative futures
  will resolve to the same value once the original future has been
  resolved.

* Add a `FutureFrom` trait for future-based conversion

* Fix a wakeup bug in `Receiver::close`

* Add `future::poll_fn` for quickly adapting a `Poll`-based function to
  a future.

* Add an `Either` enum with two branches to easily create one future
  type based on two different futures created on two branches of control
  flow.

* Remove the `'static` bound on `Unpark`

* Optimize `send_all` and `forward` to send as many items as possible
  before calling `poll_complete`.

* Unify the return types of the `ok`, `err`, and `result` future to
  assist returning different varieties in different branches of a function.

* Add `CpuFuture::forget` to allow the computation to continue running
  after a drop.

* Add a `stream::futures_unordered` combinator to turn a list of futures
  into a stream representing their order of completion.
2016-12-18 21:18:21 -08:00
Alex Crichton
59e5c3ff35 Bump to 0.1.6 2016-11-22 15:52:57 -08:00
Alex Crichton
a4f154964a Bump to 0.1.5 2016-11-22 15:22:57 -08:00