[package]
edition = "2024"
name = "surge-cli"
version = "0.4.0-preview.100"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tool for the Surge update framework"
readme = false
license = "MIT"
repository = "https://github.com/fintermobilityas/surge"
[[bin]]
name = "surge"
path = "src/main.rs"
[[test]]
name = "init_wizard"
path = "tests/init_wizard.rs"
[[test]]
name = "migrate_snapx_compat"
path = "tests/migrate_snapx_compat.rs"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"std",
]
default-features = false
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"stream",
"json",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.surge-core]
version = "0.4.0-preview.100"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.zstd]
version = "0.13"
[lints.clippy]
borrow_as_ptr = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
float_cmp = "allow"
format_push_string = "allow"
items_after_statements = "allow"
let_and_return = "allow"
manual_let_else = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
redundant_else = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
unused_self = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"