[package] name = "papyri" version = "0.1.0" edition = "2024" [dependencies] axum = { version = "0.8.3", features = ["macros", "query", "json"], optional = true } http = { version = "1.3.1", optional = true } tower = { version = "0.5.2", features = ["util"], optional = true } tokio = { version = "1.44.1", features = ["fs"], optional = true } tokio-util = { version = "0.7.14", features = ["io"], optional = true } oci-spec = "0.7.1" serde = "1.0.219" serde_json = "1.0.140" async-trait = "0.1.88" regex = "1.11.1" tracing = { version = "0.1.41", features = ["log"] } thiserror = "2.0.12" futures = "0.3.31" uuid = { version = "1.16.0", features = ["v4"] } bytes = "1.10.1" relative-path = "1.9.3" sha2 = "0.10.8" hex-literal = "1.0.0" base16ct = { version = "0.2.0", features = ["alloc"] } base64 = "0.22.1" askama = { version = "0.13.1", features = ["serde_json"], optional = true} walkdir = "2.5.0" url = "2.5.4" [dev-dependencies] tokio = { version = "1.44.1", features = ["full"] } tower-http = { version = "0.6.2", features = ["trace", "normalize-path"] } tracing-subscriber = "0.3.19" [features] default = [] axum-router = [ "axum", "http", "tower" ] storage-fs = [ "tokio", "tokio-util" ] web = [ "axum-router", "askama" ] [[example]] name = "server" path = "examples/server.rs" required-features = ["axum-router", "storage-fs"] [[example]] name = "custom" path = "examples/custom.rs" required-features = ["storage-fs"]