[package]
edition = "2024"
rust-version = "1.88"
name = "scv-server"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authoritative session and tool server for SCV"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/PeiyuanQi/scv"
resolver = "2"
[lib]
name = "scv_server"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.99"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.dirs]
version = "6.0.0"
[dependencies.libc]
version = "0.2.175"
[dependencies.scv-channels]
version = "=0.3.2"
[dependencies.scv-client]
version = "=0.3.2"
[dependencies.scv-core]
version = "=0.3.2"
[dependencies.scv-protocol]
version = "=0.3.2"
[dependencies.scv-provider-openai]
version = "=0.3.2"
[dependencies.scv-tools]
version = "=0.3.2"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.143"
[dependencies.tempfile]
version = "3.21.0"
[dependencies.tokio]
version = "1.47.1"
features = [
"fs",
"io-std",
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"signal",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7.16"
features = ["rt"]
[dependencies.toml]
version = "0.9.5"
[dependencies.tracing]
version = "0.1.41"
[dependencies.uuid]
version = "1.18.1"
features = [
"serde",
"v4",
]
[lints.clippy]
allow_attributes_without_reason = "deny"
assigning_clones = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
doc_markdown = "allow"
format_collect = "allow"
format_push_string = "allow"
items_after_statements = "allow"
large_futures = "allow"
large_stack_arrays = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
todo = "deny"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"
unnecessary_debug_formatting = "allow"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "warn"
verbose_bit_mask = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1