executor: move into tokio crate (#1702)

A step towards collapsing Tokio sub crates into a single `tokio`
crate (#1318).

The executor implementation is now provided by the main `tokio` crate.
Functionality can be opted out of by using the various net related
feature flags.
This commit is contained in:
Carl Lerche
2019-10-28 21:40:29 -07:00
committed by GitHub
parent 7eb264a0d0
commit c62ef2d232
101 changed files with 387 additions and 690 deletions
+18 -21
View File
@@ -47,9 +47,6 @@ jobs:
displayName: Test sub crates -
rust: beta
crates:
tokio-executor:
- current-thread
- thread-pool
tokio-sync:
- async-traits
tokio-macros: []
@@ -58,22 +55,23 @@ jobs:
examples: []
# Test compilation failure
- template: ci/azure-test-stable.yml
parameters:
name: test_features
displayName: Test feature flags
rust: beta
crates:
tests-build:
- tokio-executor
- executor-without-current-thread
# - macros-invalid-input
# - net-no-features
# - net-with-tcp
# - net-with-udp
# - net-with-uds
# - tokio-no-features
# - tokio-with-net
# Disable pending: https://github.com/tokio-rs/tokio/pull/1695#issuecomment-547045383
# - template: ci/azure-test-stable.yml
# parameters:
# name: test_features
# displayName: Test feature flags
# rust: beta
# crates:
# tests-build:
# # - tokio-executor
# # - executor-without-current-thread
# # - macros-invalid-input
# # - net-no-features
# # - net-with-tcp
# # - net-with-udp
# # - net-with-uds
# # - tokio-no-features
# # - tokio-with-net
# Run loom tests
- template: ci/azure-loom.yml
@@ -81,7 +79,6 @@ jobs:
name: loom
rust: beta
crates:
- tokio-executor
- tokio
# Try cross compiling
@@ -115,7 +112,7 @@ jobs:
- clippy
- test_tokio
- test_linux
- test_features
# - test_features
- loom
# - test_nightly
- cross