Registry / web-framework / tide
library0.16.0rscratesunverified

Minimal and pragmatic Rust web application framework built for rapid development.

# Cargo.toml [dependencies] tide = "0.16.0"
INSTALL
IMPORT
SIG · TIDE
T
tide
web-frameworkrustv0.16.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Request
✓ use tide::Request;

Starts a Tide web server responding with 'Hello, world!'.

use tide::Request; #[async_std::main] async fn main() -> tide::Result<()> { let mut app = tide::new(); app.at("/").get(|_: Request<()>| async { Ok("Hello, world!") }); app.listen("127.0.0.1:8080").await?; Ok(()) }
Debug
Known issues
gotchaRequires an async runtime like async-std or tokio; default uses async-std.
fix
Add `async-std` as a dependency or enable `tokio` feature.
affects: >=0.16.0
Upgrade
Version history
0.16.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
tide — cargo add tide · libregistry