summaryrefslogtreecommitdiffstats
path: root/tokio-macros/Cargo.toml
AgeCommit message (Collapse)Author
2020-10-26macros: prepare tokio-macros 0.3.1 (#3042)Alice Ryhl
2020-10-15chore: post release Cargo.toml fixes (#2963)Carl Lerche
2020-08-07chore: prepare for v0.3 breaking changes (#2747)Carl Lerche
Bug fixes will be applied to the v0.2.x branch.
2020-02-27chore: prepare v0.2.12 release (#2278)Carl Lerche
Also includes `tokio-macros` v0.2.5.
2020-01-27chore: prepare v0.2.11 release (#2179)Carl Lerche
Also bumps: - tokio-macros: v0.2.4
2020-01-22Provide `select!` macro (#2152)Carl Lerche
Provides a `select!` macro for concurrently waiting on multiple async expressions. The macro has similar goals and syntax as the one provided by the `futures` crate, but differs significantly in implementation. First, this implementation does not require special traits to be implemented on futures or streams (i.e., no `FuseFuture`). A design goal is to be able to pass a "plain" async fn result into the select! macro. Even without `FuseFuture`, this `select!` implementation is able to handle all cases the `futures::select!` macro can handle. It does this by supporting pre-poll conditions on branches and result pattern matching. For pre-conditions, each branch is able to include a condition that disables the branch if it evaluates to false. This allows the user to guard futures that have already been polled, preventing double polling. Pattern matching can be used to disable streams that complete. A second big difference is the macro is implemented almost entirely as a declarative macro. The biggest advantage to using this strategy is that the user will not need to alter the rustc recursion limit except in the most extreme cases. The resulting future also tends to be smaller in many cases.
2020-01-07macros: fix breaking changes (#2069)Carl Lerche
Brings back old macro implementations and updates the version of tokio-macros that tokio depends on. Prepares a new release.
2020-01-07chore: prepare tokio-macros v0.2.2 release (#2068)Artem Vorotnikov
2019-12-18chore: prepare v0.2.5 release (#1984)Carl Lerche
Also includes: - `tokio-macros` v0.2.1
2019-11-26chore: prepare v0.2.0 release (#1822)Carl Lerche
2019-11-22default all feature flags to off (#1811)Carl Lerche
Changes the set of `default` feature flags to `[]`. By default, only core traits are included without specifying feature flags. This makes it easier for users to pick the components they need. For convenience, a `full` feature flag is included that includes all components. Tests are configured to require the `full` feature. Testing individual feature flags will need to be moved to a separate crate. Closes #1791
2019-11-18chore: refine feature flags (#1785)Carl Lerche
Removes dependencies between Tokio feature flags. For example, `process` should not depend on `sync` simply because it uses the `mpsc` channel. Instead, feature flags represent **public** APIs that become available with the feature enabled. When the feature is not enabled, the functionality is removed. If another Tokio component requires the functionality, it is stays as `pub(crate)`. The threaded scheduler is now exposed under `rt-threaded`. This feature flag only enables the threaded scheduler and does not include I/O, networking, or time. Those features must be explictly enabled. A `full` feature flag is added that enables all features. `stdin`, `stdout`, `stderr` are exposed under `io-std`. Macros are used to scope code by feature flag.
2019-09-30Prepare for release of 0.2.0-alpha.6 (#1617)Jon Gjengset
Note that `tokio-timer` and `tokio-tls` become 0.3.0-alpha.6 (not 0.2.0)
2019-09-23macros: fix handling of arguments of #[tokio::main] attribute (#1578)Taiki Endo
2019-09-19Release 0.2.0 alpha.5 (#1576)Carl Lerche
2019-08-29prepare v0.2.0-alpha.4 (#1509)Sean McArthur
2019-08-28prepare v0.2.0-alpha.3 release (#1505)Carl Lerche
2019-08-18docs: add docs.rs metadata to build with all features (#1471)Ivan Petkov
2019-08-17chore: prepare 0.2.0-alpha.2 release (#1465)Carl Lerche
2019-08-13macros: upgrade syn/quote (#1432)Douman
2019-08-08chore: prepare for v0.2.0-alpha.1 release (#1410)Lucio Franco
2019-06-27macros: allow configuring runtime used by main macro (#1185)Douman
2019-06-24Update Tokio to use `std::future`. (#1120)Carl Lerche
A first pass at updating Tokio to use `std::future`. Implementations of `Future` from the futures crate are updated to implement `Future` from std. Implementations of `Stream` are moved to a feature flag. This commits disables a number of crates that have not yet been updated.
2019-05-14Merge branch 'v0.1.x'Carl Lerche
2019-05-14Release tokio v0.1.20, tokio-timer v0.2.21, and remove async-await-preview ↵Carl Lerche
feature. (#1089) The `async-await-preview` feature is removed as 0.1 will no longer track Rust nightly. This also bumps: - tokio-timer (0.2.11).
2019-05-14Update Tokio to Rust 2018 (#1082)Carl Lerche
2019-04-25Async/await polish (#1058)Carl Lerche
A general refresh of Tokio's experimental async / await support.