forked from Plume/Plume
9076dbaadc
With this PR, when JS is activated and WASM supported, the article editor will be dynamically replaced with `contenteditable`s elements. This makes the editing interface simpler and less like a regular form. It will also allow us to easily add visual formatting with native browser APIs (and to insert images or videos directly). Here is a little demo: ![peek 05-03-2019 16-12](https://user-images.githubusercontent.com/16254623/53815536-1dc05680-3f62-11e9-94d3-b363ed84eb97.gif) There is still a lot to do, but it is a good first step. Fixes #255
80 lines
1.7 KiB
TOML
80 lines
1.7 KiB
TOML
[package]
|
|
authors = ["Plume contributors"]
|
|
name = "plume"
|
|
version = "0.2.0"
|
|
repository = "https://github.com/Plume-org/Plume"
|
|
|
|
[dependencies]
|
|
activitypub = "0.1.3"
|
|
askama_escape = "0.1"
|
|
atom_syndication = "0.6"
|
|
canapi = "0.2"
|
|
colored = "1.7"
|
|
dotenv = "0.13"
|
|
failure = "0.1"
|
|
gettext = "0.3"
|
|
gettext-macros = "0.4"
|
|
gettext-utils = "0.1"
|
|
guid-create = "0.1"
|
|
heck = "0.3.0"
|
|
lettre = { git = "https://github.com/lettre/lettre", rev = "c988b1760ad8179d9e7f3fb8594d2b86cf2a0a49" }
|
|
lettre_email = { git = "https://github.com/lettre/lettre", rev = "c988b1760ad8179d9e7f3fb8594d2b86cf2a0a49" }
|
|
num_cpus = "1.0"
|
|
rocket = "0.4.0"
|
|
rocket_contrib = { version = "0.4.0", features = ["json"] }
|
|
rocket_i18n = "0.4.0"
|
|
rpassword = "2.0"
|
|
scheduled-thread-pool = "0.2.0"
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
serde_qs = "0.4"
|
|
validator = "0.8"
|
|
validator_derive = "0.8"
|
|
webfinger = "0.3.1"
|
|
|
|
[[bin]]
|
|
name = "plume"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies.chrono]
|
|
features = ["serde"]
|
|
version = "0.4"
|
|
|
|
[dependencies.ctrlc]
|
|
features = ["termination"]
|
|
version = "3.1.1"
|
|
|
|
[dependencies.diesel]
|
|
features = ["r2d2", "chrono"]
|
|
version = "*"
|
|
|
|
[dependencies.multipart]
|
|
default-features = false
|
|
features = ["server"]
|
|
version = "0.16"
|
|
|
|
[dependencies.plume-api]
|
|
path = "plume-api"
|
|
|
|
[dependencies.plume-common]
|
|
path = "plume-common"
|
|
|
|
[dependencies.plume-models]
|
|
path = "plume-models"
|
|
|
|
[dependencies.rocket_csrf]
|
|
git = "https://github.com/fdb-hiroshima/rocket_csrf"
|
|
rev = "4a72ea2ec716cb0b26188fb00bccf2ef7d1e031c"
|
|
|
|
[build-dependencies]
|
|
ructe = "0.5.6"
|
|
rsass = "0.9"
|
|
|
|
[features]
|
|
default = ["postgres"]
|
|
postgres = ["plume-models/postgres", "diesel/postgres"]
|
|
sqlite = ["plume-models/sqlite", "diesel/sqlite"]
|
|
debug-mailer = []
|
|
|
|
[workspace]
|
|
members = ["plume-api", "plume-cli", "plume-models", "plume-common", "plume-front"]
|