mbook 0.3.7

Read, edit and create mbook files: Markdown chapters and AVIF pictures in one indexed container
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.89"
name = "mbook"
version = "0.3.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read, edit and create mbook files: Markdown chapters and AVIF pictures in one indexed container"
homepage = "https://m-compressors.github.io/mbook/"
readme = "README.md"
keywords = [
    "ebook",
    "book",
    "markdown",
    "avif",
]
categories = [
    "parser-implementations",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/M-Compressors/mbook"

[features]
default = [
    "read",
    "write",
]
read = [
    "dep:mopenzl",
    "mopenzl/decompression",
]
write = [
    "dep:mopenzl",
    "mopenzl/compression",
    "dep:markdown",
    "dep:uuid",
    "dep:bytes",
    "dep:tempfile",
    "dep:github-slugger",
]

[lib]
name = "mbook"
path = "src/lib.rs"

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

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

[[test]]
name = "format"
path = "tests/format/main.rs"

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

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

[dependencies.bytes]
version = "1.10"
optional = true

[dependencies.github-slugger]
version = "0.1"
optional = true

[dependencies.markdown]
version = "1.0.0"
optional = true

[dependencies.mopenzl]
version = "0.2.6"
features = [
    "std",
    "framed",
    "all-codecs",
]
optional = true
default-features = false

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

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

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v7"]
optional = true

[dev-dependencies.mopenzl]
version = "0.2.6"
features = [
    "std",
    "framed",
    "all-codecs",
    "compression",
    "decompression",
]
default-features = false

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

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
dbg_macro = "deny"
expect_used = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_debug_implementations = "deny"
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rustdoc]
broken_intra_doc_links = "deny"