# 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"
name = "animedb"
version = "0.2.0"
authors = ["animedb contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local-first anime and manga metadata catalog for Rust media servers"
readme = "README.md"
license = "MIT"
repository = "https://github.com/enrell/animedb"

[features]
default = [
    "local-db",
    "remote",
]
local-db = ["dep:rusqlite"]
remote = []

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

[[example]]
name = "e2e_test_runner"
path = "examples/e2e_test_runner.rs"

[[example]]
name = "real_pipeline"
path = "examples/real_pipeline.rs"

[dependencies.flate2]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rusqlite]
version = "0.37"
features = [
    "bundled",
    "serde_json",
]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"
