Nicole Tietz-Sokolskaya
137dfa747d
This makes the editor experience much better (by subjective measures). Now instead of a WYSIWYG editor, we have a markdown code editor, and we also have the ability to view documents without editing them. While I was at it, I fixed a bug where if you didn't edit a document at all, it would save blank. This was fixed as a happenstance from the switch. Also included here is making the UI work with Javascript disabled. If you don't have JS, you will get a textarea which allows editing the markdown directly. If you do have JS enabled, you'll get a smarter editor. Reviewed-on: #3
39 lines
1.4 KiB
TOML
39 lines
1.4 KiB
TOML
[package]
|
|
name = "pique"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
default-run = "pique"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.81"
|
|
argon2 = { version = "0.5.3", features = ["rand", "std"] }
|
|
async-trait = "0.1.78"
|
|
axum = "0.7.4"
|
|
axum-htmx = { version = "0.5.0", features = ["guards", "serde"] }
|
|
axum-login = "0.15"
|
|
bincode = "1.3.3"
|
|
chrono = "0.4.38"
|
|
clap = { version = "4.5.3", features = ["derive", "env"] }
|
|
diesel = { version = "2.2.0", features = ["extras", "returning_clauses_for_sqlite_3_35", "sqlite"] }
|
|
diesel_migrations = { version = "2.2.0", features = ["sqlite"] }
|
|
dotenvy = "0.15.7"
|
|
env_logger = "0.11.3"
|
|
free-icons = "0.7.0"
|
|
minijinja = { version = "1.0.14", features = ["loader", "json", "builtins"] }
|
|
minijinja-autoreload = "1.0.14"
|
|
pulldown-cmark = "0.11.0"
|
|
rand = "0.8.5"
|
|
redb = "2.1.0"
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
sled = "=1.0.0-alpha.121"
|
|
thiserror = "1.0.58"
|
|
tokio = { version = "1.36.0", features = ["rt", "full"] }
|
|
tower-http = { version = "0.5.2", features = ["fs", "trace"] }
|
|
tower-sessions = "0.12"
|
|
tower-sessions-moka-store = "0.12"
|
|
tower-sessions-sqlx-store = { version = "0.12", features = ["sqlite"] }
|
|
tracing = "0.1.40"
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
|
uuid = { version = "1.8.0", features = ["v4", "fast-rng", "v7", "serde"] }
|