mbr-core 0.7.0

Render core of mbr, the markdown browser: markdown, templates, config, repository scan, search and indexes. 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-core"
version = "0.7.0"
authors = ["Patrick Walsh <pwalsh@well.com>"]
build = false
include = [
    "src/**/*",
    "templates/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Render core of mbr, the markdown browser: markdown, templates, config, repository scan, search and indexes. 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]
ffmpeg-static = [
    "ffmpeg-next/static",
    "metadata/static",
]
media-metadata = [
    "dep:metadata",
    "dep:ffmpeg-next",
    "dep:pdfium-render",
    "dep:tempfile",
    "dep:image",
]

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

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

[dependencies.argon2]
version = "0.6"

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

[dependencies.ffmpeg-next]
version = "7.1"
optional = true

[dependencies.figment]
version = "0.10"
features = [
    "toml",
    "env",
]

[dependencies.futures]
version = "0.3.32"

[dependencies.getrandom]
version = "0.4"

[dependencies.glob]
version = "0.3.3"

[dependencies.grep-regex]
version = "0.1"

[dependencies.grep-searcher]
version = "0.1"

[dependencies.html-escape]
version = "0.2.13"

[dependencies.http]
version = "1"

[dependencies.image]
version = "0.25.8"
features = [
    "png",
    "jpeg",
    "gif",
    "webp",
]
optional = true
default-features = false

[dependencies.itertools]
version = "0.15.0"

[dependencies.lopdf]
version = "0.45"
features = ["rayon"]
default-features = false

[dependencies.lru]
version = "0.18"

[dependencies.metadata]
version = "0.1.10"
optional = true

[dependencies.nucleo-matcher]
version = "0.3"

[dependencies.papaya]
version = "0.2.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pathdiff]
version = "0.2.3"

[dependencies.pdfium-render]
version = "0.9"
features = [
    "image_025",
    "pdfium_7543",
]
optional = true
default-features = false

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

[dependencies.pulldown-cmark]
version = "0.13"
features = [
    "html",
    "simd",
]
default-features = false

[dependencies.pulldown-cmark-escape]
version = "0.11"
default-features = false

[dependencies.rayon]
version = "1.11"

[dependencies.regex]
version = "1.13"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls-no-provider",
    "json",
    "stream",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
default-features = false

[dependencies.scraper]
version = "0.27"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.tempfile]
version = "3.27"
optional = true

[dependencies.tera]
version = "1.20"
features = [
    "preserve_order",
    "date-locale",
]

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.walkdir]
version = "2.5"

[dependencies.webpki-roots]
version = "1"

[dependencies.yaml-rust2]
version = "0.13"
default-features = false

[dev-dependencies.filetime]
version = "0.2"

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

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

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