This introduces support for Tide by implementing `From` over markup. Unlike other frameworks, Tide does not seem to provide e.g. a trait which could instead be implemented. However as demonstrated, this alternative results in a simple, ergonomic interface. Consumers may leverage Tide support by using the "tide" feature. Co-authored-by: Chris Wong <lambda.fairy@gmail.com>
22 lines
410 B
TOML
22 lines
410 B
TOML
[package]
|
|
name = "doctest"
|
|
version = "0.1.0"
|
|
authors = ["Chris Wong <lambda.fairy@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
actix-web = "3"
|
|
ammonia = "3"
|
|
iron = "0.6"
|
|
maud = { path = "../maud", features = ["actix-web", "iron", "rocket", "tide"] }
|
|
pulldown-cmark = "0.8"
|
|
rocket = "0.4"
|
|
rouille = "3"
|
|
tide = "0.16"
|
|
|
|
[dependencies.async-std]
|
|
version = "1.9.0"
|
|
features = ["attributes"]
|
|
|
|
[lib]
|
|
path = "lib.rs"
|