diff options
| author | Xe Iaso <me@christine.website> | 2022-03-21 20:14:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-21 20:14:14 -0400 |
| commit | 8b747c1c40876c6668191594eddcb260199cdb7f (patch) | |
| tree | 86edb9bc382751c6a32f5f2946ff235ea06674ba /Cargo.toml | |
| parent | f45ca40ae1052d46611ff2f27ad281695afc4f8f (diff) | |
| download | xesite-8b747c1c40876c6668191594eddcb260199cdb7f.tar.xz xesite-8b747c1c40876c6668191594eddcb260199cdb7f.zip | |
Rewrite the site routing with Axum (#441)
* broken state
Signed-off-by: Xe Iaso <me@christine.website>
* fix???
Signed-off-by: Xe Iaso <me@christine.website>
* Port everything else to axum
Signed-off-by: Xe <me@christine.website>
* headers
Signed-off-by: Xe Iaso <me@christine.website>
* site update post
Signed-off-by: Christine Dodrill <me@christine.website>
* fix headers
Signed-off-by: Xe Iaso <me@christine.website>
* remove warp example
Signed-off-by: Xe Iaso <me@christine.website>
* 80c wrap
Signed-off-by: Xe Iaso <me@christine.website>
* bump version
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -1,6 +1,6 @@ [package] name = "xesite" -version = "2.3.0" +version = "2.4.0" authors = ["Xe Iaso <me@christine.website>"] edition = "2018" build = "src/build.rs" @@ -9,13 +9,19 @@ repository = "https://github.com/Xe/site" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +axum = "0.4" +axum-macros = "0.1" +axum-extra = "0.1" color-eyre = "0.6" chrono = "0.4" comrak = "0.12.1" +derive_more = "0.99" envy = "0.4" estimated_read_time = "1" futures = "0.3" glob = "0.3" +http = "0.2" +http-body = "0.4" hyper = "0.14" kankyo = "0.3" lazy_static = "1.4" @@ -34,24 +40,30 @@ tokio-stream = { version = "0.1", features = ["net"] } tracing = "0.1" tracing-futures = "0.2" tracing-subscriber = { version = "0.3", features = ["fmt"] } -warp = "0.3" xml-rs = "0.8" url = "2" uuid = { version = "0.8", features = ["serde", "v4"] } # workspace dependencies cfcache = { path = "./lib/cfcache" } -go_vanity = { path = "./lib/go_vanity" } jsonfeed = { path = "./lib/jsonfeed" } mi = { path = "./lib/mi" } patreon = { path = "./lib/patreon" } +[dependencies.tower] +version = "0.4" +features = [ "full" ] + +[dependencies.tower-http] +version = "0.2" +features = [ "full" ] + # os-specific dependencies [target.'cfg(target_os = "linux")'.dependencies] sdnotify = { version = "0.2", default-features = false } [build-dependencies] -ructe = { version = "0.13", features = ["warp02"] } +ructe = { version = "0.13", features = [ "mime03" ] } [dev-dependencies] pfacts = "0" |
