# 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 = "2021"
name = "shore-daemon"
version = "15.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Persistent AI character engine daemon — long-running process behind the Silvershore chat protocol."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/mythofmeat/shore-core"

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

[[bin]]
name = "shore-daemon"
path = "src/main.rs"

[[test]]
name = "suite"
path = "tests/suite/main.rs"

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4"

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

[dependencies.dashmap]
version = "6"

[dependencies.fast_image_resize]
version = "6"
features = ["image"]

[dependencies.futures]
version = "0.3"

[dependencies.image]
version = "0.25"
features = [
    "jpeg",
    "png",
    "webp",
]
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.notify]
version = "8.2"

[dependencies.rand]
version = "0.9"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.shell-words]
version = "1.1"

[dependencies.shore-config]
version = "0.12.0"

[dependencies.shore-diagnostics]
version = "0.2.3"

[dependencies.shore-ledger]
version = "4.0.2"

[dependencies.shore-llm]
version = "11.0.0"

[dependencies.shore-protocol]
version = "0.8.0"

[dependencies.shore-swp-server]
version = "2.0.2"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.which]
version = "6"

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

[dev-dependencies.shore-config]
version = "0.12.0"

[dev-dependencies.shore-diagnostics]
version = "0.2.3"

[dev-dependencies.shore-llm]
version = "11.0.0"

[dev-dependencies.shore-swp-client]
version = "0.3.2"

[dev-dependencies.tokio]
version = "1"
features = ["test-util"]

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

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
arithmetic_side_effects = "warn"
as_conversions = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
doc_markdown = "allow"
else_if_without_else = "warn"
exit = "warn"
expect_used = "warn"
float_arithmetic = "warn"
impl_trait_in_params = "warn"
indexing_slicing = "warn"
integer_division = "warn"
let_underscore_must_use = "warn"
match_wildcard_for_single_variants = "warn"
mem_forget = "warn"
missing_assert_message = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
modulo_arithmetic = "warn"
multiple_unsafe_ops_per_block = "warn"
must_use_candidate = "allow"
panic = "warn"
panic_in_result_fn = "warn"
print_stderr = "warn"
print_stdout = "warn"
shadow_reuse = "warn"
shadow_same = "warn"
shadow_unrelated = "warn"
single_char_lifetime_names = "warn"
str_to_string = "warn"
string_slice = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unreachable = "warn"
unseparated_literal_suffix = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"
wildcard_imports = "warn"

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

[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
unused_qualifications = "warn"
unused_results = "warn"
