# 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.88.0"
name = "rbook"
version = "0.7.0"
authors = ["Devin Sterling"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A fast, format-agnostic, ergonomic ebook library for reading, building, and editing EPUB 2 and 3.
"""
documentation = "https://docs.rs/rbook"
readme = "README.md"
keywords = [
    "ebook",
    "e-book",
    "epub",
    "epub2",
    "epub3",
]
categories = [
    "parser-implementations",
    "wasm",
]
license = "Apache-2.0"
repository = "https://github.com/DevinSterling/rbook"

[features]
default = [
    "threadsafe",
    "prelude",
    "write",
]
prelude = []
threadsafe = []
write = []

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

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

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

[dependencies.indexmap]
version = "2.13.0"

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

[dependencies.quick-xml]
version = "0.39.2"
features = ["escape-html"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.zip]
version = "8.1.0"
features = ["deflate"]
default-features = false

[dev-dependencies.wasm-bindgen-test]
version = "0.3.62"

[lints.rust]
unsafe_code = "forbid"
