mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
Make docs on required deps more clear
This commit is contained in:
parent
7cf8dafdce
commit
96fac52519
1 changed files with 5 additions and 5 deletions
10
src/lib.rs
10
src/lib.rs
|
@ -626,17 +626,17 @@
|
||||||
//!
|
//!
|
||||||
//! To use Axum there are a few dependencies you have pull in as well:
|
//! To use Axum there are a few dependencies you have pull in as well:
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```not_rust
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! axum = "<latest-version>"
|
//! axum = "<latest-version>"
|
||||||
//!
|
//!
|
||||||
//! # "full" isn't strictly necessary for tokio and hyper but its the
|
//! // "full" isn't strictly necessary for tokio and hyper but its the
|
||||||
//! # easiest way to get started.
|
//! // easiest way to get started.
|
||||||
//! hyper = { version = "<latest-version>", features = ["full"] }
|
//! hyper = { version = "<latest-version>", features = ["full"] }
|
||||||
//! tokio = { version = "<latest-version>", features = ["full"] }
|
//! tokio = { version = "<latest-version>", features = ["full"] }
|
||||||
//!
|
//!
|
||||||
//! # Not strictly necessary but helpful for testing. There is a
|
//! // Not strictly necessary but helpful for testing. There is a
|
||||||
//! # testing example in the repo that shows how to test axum apps.
|
//! // testing example in the repo that shows how to test axum apps.
|
||||||
//! tower = "<latest-version>"
|
//! tower = "<latest-version>"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|
Loading…
Reference in a new issue