mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
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:
+18
-21
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user