# 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 = "2021"
name = "aibodh"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local reader for AIBodh ebooks, serves a .aibodh book in your browser."
readme = "README.md"
keywords = [
    "ebook",
    "reader",
    "offline",
    "bookshelf",
    "aibodh",
]
categories = ["command-line-utilities"]
license = "AGPL-3.0-or-later"

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

[[bin]]
name = "aibodh"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.7"
features = ["multipart"]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.directories]
version = "5"

[dependencies.mime_guess]
version = "2"

[dependencies.minijinja]
version = "2"

[dependencies.open]
version = "5"

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

[dependencies.rust-embed]
version = "8"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "signal",
]
