mbr-server 0.7.0

HTTP server for mbr, the markdown browser: routes, live reload, edit endpoints and the file watcher. Internal crate of mbr-markdown-browser, versioned in lockstep with it; no API stability guarantees
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92"
name = "mbr-server"
version = "0.7.0"
authors = ["Patrick Walsh <pwalsh@well.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP server for mbr, the markdown browser: routes, live reload, edit endpoints and the file watcher. Internal crate of mbr-markdown-browser, versioned in lockstep with it; no API stability guarantees"
homepage = "https://github.com/zmre/mbr-markdown-browser/"
documentation = "https://zmre.github.io/mbr-markdown-browser/"
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/zmre/mbr-markdown-browser/"

[features]
media-metadata = ["mbr-core/media-metadata"]
watcher = ["dep:notify"]

[lib]
name = "mbr_server"
path = "src/lib.rs"
bench = false

[[test]]
name = "embedded_storage"
path = "tests/embedded_storage.rs"

[[test]]
name = "not_downloaded_logging"
path = "tests/not_downloaded_logging.rs"

[dependencies.aho-corasick]
version = "1.1"

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "http2",
    "json",
    "tokio",
    "tracing",
    "ws",
]

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
    "serde",
]
default-features = false

[dependencies.futures]
version = "0.3.32"

[dependencies.futures-util]
version = "0.3"
features = [
    "sink",
    "std",
]
default-features = false

[dependencies.http-range-header]
version = "0.4"

[dependencies.itertools]
version = "0.15.0"

[dependencies.mbr-core]
version = "=0.7.0"

[dependencies.mime_guess]
version = "2"

[dependencies.notify]
version = "8.2"
features = ["macos_fsevent"]
optional = true
default-features = false

[dependencies.papaya]
version = "0.2.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pathdiff]
version = "0.2.3"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.rayon]
version = "1.11"

[dependencies.regex]
version = "1.13"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.53"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "net",
    "fs",
    "io-util",
]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.7"
features = [
    "fs",
    "trace",
    "set-header",
    "compression-gzip",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.proptest]
version = "1.11"

[dev-dependencies.tempfile]
version = "3.27"