mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-07-03 11:25:46 +00:00
All the template are now compiled at compile-time with the `ructe` crate. I preferred to use it instead of askama because it allows more complex Rust expressions, where askama only supports a small subset of expressions and doesn't allow them everywhere (for instance, `{{ macro!() | filter }}` would result in a parsing error). The diff is quite huge, but there is normally no changes in functionality. Fixes #161 and unblocks #110 and #273
31 lines
558 B
TOML
31 lines
558 B
TOML
[package]
|
|
name = "plume-common"
|
|
version = "0.2.0"
|
|
authors = ["Bat' <baptiste@gelez.xyz>"]
|
|
|
|
[dependencies]
|
|
activitypub = "0.1.1"
|
|
activitystreams-derive = "0.1.0"
|
|
activitystreams-traits = "0.1.0"
|
|
array_tool = "1.0"
|
|
base64 = "0.9"
|
|
failure = "0.1"
|
|
failure_derive = "0.1"
|
|
heck = "0.3.0"
|
|
hex = "0.3"
|
|
hyper = "0.11.27"
|
|
openssl = "0.10.11"
|
|
rocket = "0.4.0-rc.1"
|
|
reqwest = "0.9"
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
|
|
[dependencies.chrono]
|
|
features = ["serde"]
|
|
version = "0.4"
|
|
|
|
[dependencies.pulldown-cmark]
|
|
default-features = false
|
|
version = "0.1.2"
|