cameo 0.1.1

Unified movie/TV show database SDK for Rust
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.88"
name = "cameo"
version = "0.1.1"
authors = ["Justin Chung <20733699+justin13888@users.noreply.github.com>"]
build = "build.rs"
exclude = [
    "scripts/",
    ".sidecar*",
    "AGENTS.md",
    "CLAUDE.md",
    ".github/",
    "lefthook.yaml",
    "rust-toolchain.toml",
    "DEVELOPMENT.md",
    "TESTING.md",
    ".claude/",
    "CHANGELOG.md",
    "justfile",
    "rustfmt.toml",
    "release-plz.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified movie/TV show database SDK for Rust"
homepage = "https://github.com/justin13888/cameo"
documentation = "https://docs.rs/cameo"
readme = "README.md"
keywords = [
    "tmdb",
    "anilist",
    "movies",
    "tv",
    "metadata",
]
categories = [
    "api-bindings",
    "asynchronous",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/justin13888/cameo"

[features]
anilist = []
cache = [
    "dep:rusqlite",
    "dep:dirs",
]
default = ["full"]
full = [
    "tmdb",
    "anilist",
    "cache",
]
live-tests = []
tmdb = [
    "dep:progenitor-client",
    "dep:url",
    "dep:http",
]

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

[[example]]
name = "anilist_showcase"
path = "examples/anilist_showcase.rs"
required-features = ["anilist"]

[[example]]
name = "cache_showcase"
path = "examples/cache_showcase.rs"
required-features = [
    "tmdb",
    "cache",
]

[[example]]
name = "error_handling"
path = "examples/error_handling.rs"
required-features = ["tmdb"]

[[example]]
name = "facade_showcase"
path = "examples/facade_showcase.rs"
required-features = ["tmdb"]

[[example]]
name = "tmdb_lowlevel"
path = "examples/tmdb_lowlevel.rs"
required-features = ["tmdb"]

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

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

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "6.0"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1"
optional = true

[dependencies.progenitor-client]
version = "0.13"
optional = true

[dependencies.reqwest]
version = "0.13"
features = ["json"]

[dependencies.rusqlite]
version = "0.38"
features = ["bundled"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "time",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"
optional = true

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.pretty_assertions]
version = "1"

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

[dev-dependencies.wiremock]
version = "0.6"

[build-dependencies.prettyplease]
version = "0.2"

[build-dependencies.progenitor]
version = "0.13"

[build-dependencies.serde_json]
version = "1"

[build-dependencies.syn]
version = "2"

[build-dependencies.typify]
version = ">=0.6.2"

[lints.rust]
missing_docs = "warn"