process: Add deprecation warning (relates #2036)

This commit is contained in:
John-John Tedro
2020-01-12 01:48:57 +01:00
parent a58f218c1d
commit 8576df240d
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -2,6 +2,12 @@
An implementation of process management for Tokio
> This crate has been **deprecated in tokio 0.2.x** and has been moved into
> [`tokio::process`] behind the `process` [feature flag].
[`tokio::process`]: https://docs.rs/tokio/latest/tokio/process/index.html
[feature flag]: https://docs.rs/tokio/latest/tokio/index.html#feature-flags
[Documentation](https://docs.rs/tokio-process/0.2.4/tokio_process)
## Usage
+6
View File
@@ -1,5 +1,11 @@
//! An implementation of asynchronous process management for Tokio.
//!
//! > This crate has been **deprecated in tokio 0.2.x** and has been moved into
//! > [`tokio::process`] behind the `process` [feature flag].
//!
//! [`tokio::process`]: https://docs.rs/tokio/latest/tokio/process/index.html
//! [feature flag]: https://docs.rs/tokio/latest/tokio/index.html#feature-flags
//!
//! This crate provides a `CommandExt` trait to enhance the functionality of the
//! `Command` type in the standard library. The three methods provided by this
//! trait mirror the "spawning" methods in the standard library. The