Move business logic out of main, use askama and bound the ENTRIES
This commit is contained in:
parent
3093b06b4e
commit
9d4b3ecafc
8 changed files with 156 additions and 578 deletions
10
Cargo.toml
10
Cargo.toml
|
@ -5,14 +5,12 @@ authors = ["Jordan Doyle <jordan@doyle.la>"]
|
|||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
linked-hash-map = "0.5"
|
||||
askama = { git = "https://github.com/djc/askama", rev = "fc5addc4", features = ["with-rocket"] }
|
||||
askama_escape = { git = "https://github.com/djc/askama", rev = "fc5addc4" }
|
||||
rocket = "0.4"
|
||||
lazy_static = "1.2"
|
||||
gpw = "0.1"
|
||||
syntect = "3.0"
|
||||
chashmap = { git = "https://github.com/redox-os/tfs" }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
||||
[dependencies.rocket_contrib]
|
||||
version = "*"
|
||||
default-features = false
|
||||
features = ["tera_templates"]
|
||||
serde = { version = "1.0", features = ["derive"] }
|
Loading…
Add table
Add a link
Reference in a new issue