# 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 = "meerkat"
version = "0.6.30"
authors = ["Luka Crnkovic-Friis"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modular, high-performance agent harness for LLM-powered applications"
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 = ["which"]

[features]
all-providers = [
    "anthropic",
    "openai",
    "gemini",
]
anthropic = [
    "meerkat-client/anthropic",
    "dep:meerkat-anthropic",
    "meerkat-providers/anthropic",
]
comms = [
    "dep:meerkat-comms",
    "dep:parking_lot",
    "meerkat-tools/comms",
]
default = [
    "anthropic",
    "openai",
    "gemini",
]
gemini = [
    "meerkat-client/gemini",
    "dep:meerkat-gemini",
    "meerkat-providers/gemini",
]
integration-real-tests = []
jsonl-store = ["meerkat-store/jsonl"]
live = ["dep:meerkat-live"]
mcp = [
    "dep:meerkat-mcp",
    "meerkat-tools/mcp",
]
memory-store = ["meerkat-store/memory"]
memory-store-session = ["dep:meerkat-memory"]
openai = [
    "meerkat-client/openai",
    "dep:meerkat-openai",
    "meerkat-openai/oauth",
    "meerkat-providers/openai",
]
openai-realtime = [
    "openai",
    "meerkat-client/openai-realtime",
    "meerkat-openai/realtime",
]
schedule = []
session-compaction = ["meerkat-session/session-compaction"]
session-store = [
    "meerkat-session/session-store",
    "meerkat-runtime/sqlite-store",
    "meerkat-store/sqlite",
    "meerkat-tools/sqlite",
]
skills = [
    "dep:meerkat-skills",
    "meerkat-skills/capability",
    "meerkat-skills/skills-http",
    "meerkat-tools/skills",
    "meerkat-schedule/skills",
    "meerkat-workgraph/skills",
]
sqlite-store = [
    "meerkat-store/sqlite",
    "meerkat-runtime/sqlite-store",
]
workgraph = []

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

[[example]]
name = "comms_verbose"
path = "examples/comms_verbose.rs"
required-features = ["comms"]

[[example]]
name = "multi_turn_tools"
path = "examples/multi_turn_tools.rs"
required-features = ["jsonl-store"]

[[example]]
name = "simple"
path = "examples/simple.rs"
required-features = ["jsonl-store"]

[[example]]
name = "with_tools"
path = "examples/with_tools.rs"
required-features = ["jsonl-store"]

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

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

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

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

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

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

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

[[test]]
name = "live_meerkat_comms"
path = "tests/live_meerkat_comms.rs"
required-features = [
    "integration-real-tests",
    "jsonl-store",
    "comms",
]

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

[[test]]
name = "live_meerkat_user_flows"
path = "tests/live_meerkat_user_flows.rs"
required-features = [
    "integration-real-tests",
    "jsonl-store",
    "mcp",
]

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "smoke_meerkat_sdk"
path = "tests/smoke_meerkat_sdk.rs"
required-features = [
    "integration-real-tests",
    "jsonl-store",
]

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

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

[dependencies.futures]
version = "0.3"

[dependencies.inventory]
version = "0.3"

[dependencies.meerkat-anthropic]
version = "0.6.30"
optional = true
default-features = false

[dependencies.meerkat-capabilities]
version = "0.6.30"

[dependencies.meerkat-client]
version = "0.6.30"
default-features = false

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

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

[dependencies.meerkat-core]
version = "0.6.30"
features = [
    "jsonschema",
    "__meerkat-facade-agent-factory-build",
]

[dependencies.meerkat-gemini]
version = "0.6.30"
optional = true
default-features = false

[dependencies.meerkat-hooks]
version = "0.6.30"

[dependencies.meerkat-live]
version = "0.6.30"
optional = true

[dependencies.meerkat-llm-core]
version = "0.6.30"

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

[dependencies.meerkat-memory]
version = "0.6.30"
optional = true
default-features = false

[dependencies.meerkat-models]
version = "0.6.30"

[dependencies.meerkat-openai]
version = "0.6.30"
optional = true
default-features = false

[dependencies.meerkat-providers]
version = "0.6.30"
default-features = false

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

[dependencies.meerkat-schedule]
version = "0.6.30"

[dependencies.meerkat-session]
version = "0.6.30"
default-features = false

[dependencies.meerkat-skills]
version = "0.6.30"
optional = true

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

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

[dependencies.meerkat-workgraph]
version = "0.6.30"

[dependencies.parking_lot]
version = "0.12"
optional = true

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

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

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.indexmap]
version = "2"
features = ["serde"]

[dev-dependencies.schemars]
version = "1"
features = ["derive"]

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

[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.toml]
version = "0.8"

[dev-dependencies.which]
version = "7"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.43"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-tungstenite]
version = "0.28"

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio_with_wasm]
version = "0.9"
features = [
    "macros",
    "sync",
    "time",
    "rt",
]

[target."cfg(unix)".dev-dependencies.nix]
version = "0.29"
features = [
    "signal",
    "process",
    "fs",
]

[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)"]
