ruvllm-cli 2.2.0

CLI for RuvLLM model management and inference on Apple Silicon
# 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"
rust-version = "1.77"
name = "ruvllm-cli"
version = "2.2.0"
authors = ["Ruvector Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for RuvLLM model management and inference on Apple Silicon"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ruvnet/ruvector"

[features]
cuda = ["ruvllm/cuda"]
default = []
metal = ["ruvllm/metal"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-stream]
version = "0.3"

[dependencies.axum]
version = "0.7"
features = ["ws"]

[dependencies.bytesize]
version = "1.3"

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

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

[dependencies.colored]
version = "2.1"

[dependencies.console]
version = "0.15"

[dependencies.ctrlc]
version = "3.4"

[dependencies.dialoguer]
version = "0.11"

[dependencies.dirs]
version = "5.0"

[dependencies.futures]
version = "0.3"

[dependencies.hf-hub]
version = "0.4"
features = [
    "tokio",
    "rustls-tls",
]
default-features = false

[dependencies.indicatif]
version = "0.17"

[dependencies.prettytable-rs]
version = "0.10"

[dependencies.rustyline]
version = "14.0"

[dependencies.ruvllm]
version = "2.2.0"
features = ["candle"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.41"
features = [
    "rt-multi-thread",
    "sync",
    "macros",
    "full",
    "signal",
]

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.uuid]
version = "1.11"
features = [
    "v4",
    "serde",
    "js",
]

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

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

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

[lints.clippy]
absurd_extreme_comparisons = "allow"
approx_constant = "allow"
arc_with_non_send_sync = "allow"
assertions_on_constants = "allow"
assign_op_pattern = "allow"
await_holding_refcell_ref = "allow"
bind_instead_of_map = "allow"
bool_assert_comparison = "allow"
bool_comparison = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_copy = "allow"
cloned_ref_to_slice_refs = "allow"
collapsible_if = "allow"
collapsible_match = "allow"
comparison_chain = "allow"
derivable_impls = "allow"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
doc_overindented_list_items = "allow"
double_ended_iterator_last = "allow"
elidable_lifetime_names = "allow"
excessive_precision = "allow"
explicit_auto_deref = "allow"
explicit_counter_loop = "allow"
explicit_iter_loop = "allow"
field_reassign_with_default = "allow"
float_cmp = "allow"
for_kv_map = "allow"
format_collect = "allow"
format_in_format_args = "allow"
format_push_string = "allow"
get_first = "allow"
identity_op = "allow"
if_not_else = "allow"
if_same_then_else = "allow"
ignored_unit_patterns = "allow"
implicit_saturating_sub = "allow"
incompatible_msrv = "allow"
inconsistent_digit_grouping = "allow"
inline_always = "allow"
int_plus_one = "allow"
items_after_statements = "allow"
items_after_test_module = "allow"
iter_cloned_collect = "allow"
large_enum_variant = "allow"
large_stack_arrays = "allow"
len_without_is_empty = "allow"
len_zero = "allow"
let_and_return = "allow"
let_unit_value = "allow"
manual_abs_diff = "allow"
manual_checked_ops = "allow"
manual_clamp = "allow"
manual_contains = "allow"
manual_div_ceil = "allow"
manual_flatten = "allow"
manual_is_multiple_of = "allow"
manual_let_else = "allow"
manual_memcpy = "allow"
manual_range_contains = "allow"
manual_repeat_n = "allow"
manual_slice_size_calculation = "allow"
manual_strip = "allow"
manual_swap = "allow"
manual_unwrap_or = "allow"
map_clone = "allow"
map_flatten = "allow"
map_unwrap_or = "allow"
match_like_matches_macro = "allow"
match_same_arms = "allow"
match_single_binding = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
mixed_attributes_style = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_bool = "allow"
needless_borrow = "allow"
needless_borrows_for_generic_args = "allow"
needless_lifetimes = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
needless_return = "allow"
needless_update = "allow"
new_without_default = "allow"
no_effect = "allow"
non_canonical_partial_ord_impl = "allow"
nonminimal_bool = "allow"
option_as_ref_deref = "allow"
partialeq_to_none = "allow"
print_literal = "allow"
ptr_arg = "allow"
question_mark = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
redundant_field_names = "allow"
redundant_pattern_matching = "allow"
result_map_or_into_option = "allow"
return_self_not_must_use = "allow"
should_implement_trait = "allow"
similar_names = "allow"
single_char_add_str = "allow"
single_char_pattern = "allow"
single_component_path_imports = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
uninlined_format_args = "allow"
unit_arg = "allow"
unnecessary_cast = "allow"
unnecessary_filter_map = "allow"
unnecessary_lazy_evaluations = "allow"
unnecessary_literal_unwrap = "allow"
unnecessary_map_or = "allow"
unnecessary_mut_passed = "allow"
unnecessary_sort_by = "allow"
unnecessary_struct_initialization = "allow"
unnecessary_to_owned = "allow"
unnecessary_unwrap = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_enumerate_index = "allow"
unused_self = "allow"
unused_unit = "allow"
unusual_byte_groupings = "allow"
unwrap_or_default = "allow"
upper_case_acronyms = "allow"
useless_conversion = "allow"
useless_format = "allow"
useless_vec = "allow"
vec_init_then_push = "allow"
wildcard_imports = "allow"
wildcard_in_or_patterns = "allow"
writeln_empty_string = "allow"

[lints.clippy.almost_swapped]
level = "allow"
priority = 1

[lints.clippy.await_holding_lock]
level = "allow"
priority = 1

[lints.clippy.cast_abs_to_unsigned]
level = "allow"
priority = 1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.erasing_op]
level = "allow"
priority = 1

[lints.clippy.let_underscore_future]
level = "allow"
priority = 1

[lints.clippy.let_underscore_lock]
level = "allow"
priority = 1

[lints.clippy.missing_transmute_annotations]
level = "allow"
priority = 1

[lints.clippy.needless_character_iteration]
level = "allow"
priority = 1

[lints.clippy.no_effect_replace]
level = "allow"
priority = 1

[lints.clippy.not_unsafe_ptr_arg_deref]
level = "allow"
priority = 1

[lints.clippy.overly_complex_bool_expr]
level = "allow"
priority = 1

[lints.clippy.pedantic]
level = "allow"
priority = -2

[lints.clippy.repeat_vec_with_capacity]
level = "allow"
priority = 1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.clippy.unnecessary_get_then_check]
level = "allow"
priority = 1

[lints.clippy.zombie_processes]
level = "allow"
priority = 1

[lints.rust]
ambiguous_glob_reexports = "allow"
dead_code = "allow"
deprecated = "allow"
missing_docs = "allow"
non_camel_case_types = "allow"
non_local_definitions = "allow"
non_upper_case_globals = "allow"
static_mut_refs = "allow"
suspicious_double_ref_op = "allow"
unreachable_patterns = "allow"
unsafe_op_in_unsafe_fn = "allow"
unused_assignments = "allow"
unused_comparisons = "allow"
unused_doc_comments = "allow"
unused_imports = "allow"
unused_must_use = "allow"
unused_mut = "allow"
unused_parens = "allow"
unused_unit = "allow"
unused_unsafe = "allow"
unused_variables = "allow"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = -1