# 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.94"
name = "bird"
version = "0.2.0"
authors = ["Brett Davies <pm8fp22mbg@privaterelay.appleid.com>"]
build = "build.rs"
exclude = [
    ".claude/",
    ".context/",
    ".github/",
    ".githooks/",
    ".markdownlint-cli2.yaml",
    "cliff.toml",
    "deny.toml",
    "docs/",
    "rustfmt.toml",
    "scripts/",
    "tests/",
    "todos/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "X API CLI with entity caching, search, threads, and watchlists"
homepage = "https://github.com/brettdavies/bird"
documentation = "https://docs.rs/bird"
readme = "README.md"
keywords = [
    "twitter",
    "x",
    "api",
    "cli",
    "oauth",
]
categories = [
    "command-line-utilities",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/brettdavies/bird"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/bird-{ target }.tar.gz"
pkg-fmt = "tgz"

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = ["now"]
default-features = false

[dependencies.clap]
version = "4.4"
features = [
    "derive",
    "env",
]

[dependencies.clap_complete]
version = "4"

[dependencies.dirs]
version = "5.0"

[dependencies.libc]
version = "0.2"

[dependencies.owo-colors]
version = "4"
features = ["supports-color"]

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

[dependencies.rusqlite_migration]
version = "2.4"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dependencies.toml_edit]
version = "0.22"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2.5"

[dependencies.which]
version = "7"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

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

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
