# 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.0"
name = "rkat"
version = "0.6.33"
authors = ["Luka Crnkovic-Friis"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for the Meerkat agent platform — run LLM agents from the terminal"
homepage = "https://docs.rkat.ai"
documentation = "https://docs.rkat.ai"
readme = false
keywords = [
    "agent",
    "llm",
    "ai",
    "meerkat",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lukacf/meerkat"
resolver = "2"

[package.metadata.cargo-machete]
ignored = ["thiserror"]

[features]
anthropic = ["meerkat/anthropic"]
comms = [
    "dep:meerkat-comms",
    "meerkat/comms",
]
default = [
    "anthropic",
    "openai",
    "gemini",
    "jsonl-store",
    "session-store",
    "skills",
    "comms",
    "mcp",
    "schedule",
    "workgraph",
    "mob",
]
gemini = ["meerkat/gemini"]
integration-real-tests = []
jsonl-store = ["meerkat/jsonl-store"]
mcp = [
    "dep:meerkat-mcp",
    "meerkat/mcp",
]
memory-store = [
    "meerkat/memory-store",
    "meerkat/memory-store-session",
]
memory-store-session = ["meerkat/memory-store-session"]
mob = [
    "dep:meerkat-mob",
    "dep:meerkat-mob-pack",
    "dep:meerkat-mob-mcp",
    "dep:meerkat-rpc",
]
openai = ["meerkat/openai"]
schedule = ["meerkat/schedule"]
session-compaction = ["meerkat/session-compaction"]
session-store = ["meerkat/session-store"]
skills = ["meerkat/skills"]
workgraph = ["meerkat/workgraph"]

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

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

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

[[test]]
name = "cli_mobpack_live_smoke"
path = "tests/cli_mobpack_live_smoke.rs"
required-features = ["integration-real-tests"]

[[test]]
name = "live_smoke_cli"
path = "tests/live_smoke_cli.rs"
required-features = ["integration-real-tests"]

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

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

[[test]]
name = "system_cli_init"
path = "tests/system_cli_init.rs"
required-features = ["integration-real-tests"]

[[test]]
name = "system_cli_resume"
path = "tests/system_cli_resume.rs"
required-features = ["integration-real-tests"]

[dependencies.anyhow]
version = "1.0"

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

[dependencies.base64]
version = "0.22"

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

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

[dependencies.dirs]
version = "5.0"

[dependencies.futures]
version = "0.3"

[dependencies.humantime]
version = "2.1"

[dependencies.meerkat]
version = "0.6.33"
features = ["openai-realtime"]
default-features = false

[dependencies.meerkat-anthropic]
version = "0.6.33"
features = ["oauth"]
default-features = false

[dependencies.meerkat-client]
version = "0.6.33"
features = [
    "anthropic",
    "openai",
    "gemini",
    "oauth",
    "native-keyring",
    "refresh-file-lock",
]
default-features = false

[dependencies.meerkat-comms]
version = "0.6.33"
optional = true

[dependencies.meerkat-contracts]
version = "0.6.33"
default-features = false

[dependencies.meerkat-core]
version = "0.6.33"

[dependencies.meerkat-gemini]
version = "0.6.33"
features = ["oauth"]
default-features = false

[dependencies.meerkat-mcp]
version = "0.6.33"
optional = true

[dependencies.meerkat-mob]
version = "0.6.33"
optional = true

[dependencies.meerkat-mob-mcp]
version = "0.6.33"
optional = true

[dependencies.meerkat-mob-pack]
version = "0.6.33"
optional = true

[dependencies.meerkat-openai]
version = "0.6.33"
features = ["oauth"]
default-features = false

[dependencies.meerkat-providers]
version = "0.6.33"
features = [
    "anthropic",
    "openai",
    "gemini",
    "oauth",
    "native-keyring",
    "refresh-file-lock",
]
default-features = false

[dependencies.meerkat-rpc]
version = "0.6.33"
features = ["mob"]
optional = true

[dependencies.meerkat-runtime]
version = "0.6.33"
default-features = false

[dependencies.meerkat-store]
version = "0.6.33"
default-features = false

[dependencies.meerkat-tools]
version = "0.6.33"
default-features = false

[dependencies.nix]
version = "0.29"
features = [
    "signal",
    "process",
    "fs",
]

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

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

[dependencies.serde_json]
version = "1.0"
features = ["raw_value"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.43"
features = ["full"]

[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.uuid]
version = "1.11"
features = [
    "v4",
    "v5",
    "v7",
    "serde",
]

[dependencies.webbrowser]
version = "1"

[dev-dependencies.meerkat-comms]
version = "0.6.33"

[dev-dependencies.meerkat-llm-core]
version = "0.6.33"

[dev-dependencies.parking_lot]
version = "0.12"

[dev-dependencies.serde_json]
version = "1.0"
features = ["raw_value"]

[dev-dependencies.tempfile]
version = "3.14"

[dev-dependencies.tokio]
version = "1.43"
features = [
    "full",
    "test-util",
    "macros",
]

[dev-dependencies.tokio-tungstenite]
version = "0.28"

[lints.clippy]
allow_attributes_without_reason = "allow"
assigning_clones = "allow"
cargo_common_metadata = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
default_trait_access = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
expect_used = "deny"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
format_push_string = "allow"
ignore_without_reason = "allow"
implicit_clone = "deny"
items_after_statements = "allow"
let_underscore_untyped = "allow"
manual_let_else = "allow"
manual_string_new = "allow"
map_unwrap_or = "allow"
match_bool = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
mutex_atomic = "deny"
mutex_integer = "deny"
needless_continue = "allow"
needless_pass_by_value = "allow"
panic = "deny"
print_stderr = "allow"
print_stdout = "allow"
redundant_clone = "deny"
ref_option = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
todo = "deny"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unimplemented = "deny"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_used = "deny"
used_underscore_binding = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(meerkat_internal_agent_factory_build)"]
