mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-07 00:00:12 +02:00
Make docs on required deps more clear
This commit is contained in:
+5
-5
@@ -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>"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
|
|||||||
Reference in New Issue
Block a user