[package]
edition = "2024"
rust-version = "1.95"
name = "spgctl"
version = "7.11.18"
authors = ["GOLIA K.K. <lihao@golia.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SPG command-line client — speaks the self-built wire protocol."
readme = false
keywords = [
"spg",
"cli",
"database",
"client",
]
categories = [
"command-line-utilities",
"database",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/goliajp/spg"
[[bin]]
name = "spg"
path = "src/main.rs"
[[test]]
name = "e2e_revert"
path = "tests/e2e_revert.rs"
[[test]]
name = "e2e_wal_lint"
path = "tests/e2e_wal_lint.rs"
[[test]]
name = "perf_gate"
path = "tests/perf_gate.rs"
[[bench]]
name = "backup"
path = "benches/backup.rs"
harness = false
[dependencies.spg-crypto]
version = "7.9"
[dependencies.spg-engine]
version = "7.9"
[dependencies.spg-storage]
version = "7.9"
[dependencies.spg-wire]
version = "7.9"
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.spg-crypto]
version = "7.9"
[dev-dependencies.spg-engine]
version = "7.9"
[lints.clippy]
approx_constant = "allow"
assigning_clones = "allow"
bool_assert_comparison = "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"
collapsible_if = "allow"
collapsible_match = "allow"
comparison_chain = "allow"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
doc_overindented_list_items = "allow"
duration_suboptimal_units = "allow"
duration_subsec = "allow"
elidable_lifetime_names = "allow"
explicit_iter_loop = "allow"
float_cmp = "allow"
float_cmp_const = "allow"
for_kv_map = "allow"
format_push_string = "allow"
from_iter_instead_of_collect = "allow"
if_not_else = "allow"
ignore_without_reason = "allow"
ignored_unit_patterns = "allow"
items_after_statements = "allow"
len_zero = "allow"
let_and_return = "allow"
manual_assert = "allow"
manual_checked_ops = "allow"
manual_clamp = "allow"
manual_contains = "allow"
manual_div_ceil = "allow"
manual_is_multiple_of = "allow"
manual_let_else = "allow"
manual_midpoint = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_collect = "allow"
needless_continue = "allow"
needless_option_as_deref = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
range_plus_one = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
single_char_pattern = "allow"
single_match_else = "allow"
stable_sort_primitive = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_lazy_evaluations = "allow"
unnecessary_map_or = "allow"
unnecessary_to_owned = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_self = "allow"
useless_format = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "allow"
missing_debug_implementations = "warn"
non_snake_case = "allow"
unsafe_code = "deny"
unused_must_use = "deny"
unused_mut = "allow"
unused_variables = "allow"