[package]
edition = "2021"
rust-version = "1.89"
name = "stratum-node-cli"
version = "0.1.0-alpha.2"
authors = ["DreamLab AI"]
build = false
include = [
"src/**",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The `stratum` client for Stratum pod nodes: operator key files, bootstrap, config, backup, invitations and members over the loopback API; join, pod access and export for tenants through the gate"
homepage = "https://github.com/DreamLab-AI/stratum"
documentation = "https://docs.rs/stratum-node-cli"
readme = "README.md"
keywords = [
"nostr",
"nip-98",
"cli",
"stratum",
"solid",
]
categories = [
"command-line-utilities",
"authentication",
]
license = "AGPL-3.0-only"
repository = "https://github.com/DreamLab-AI/stratum"
[lib]
name = "stratum_node_cli"
path = "src/lib.rs"
[[bin]]
name = "stratum"
path = "src/main.rs"
[dependencies.base64]
version = "0.23"
[dependencies.bech32]
version = "0.12"
[dependencies.clap]
version = "4.6"
features = [
"derive",
"env",
]
[dependencies.getrandom]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.rustix]
version = "1.1"
features = [
"std",
"fs",
"process",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.stratum-node-config]
version = "=0.1.0-alpha.2"
[dependencies.stratum-node-core]
version = "=0.1.0-alpha.2"
[dependencies.tar]
version = "0.4"
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.ureq]
version = "3.5"
default-features = false
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dependencies.zstd]
version = "0.14"
default-features = false
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_conversions = "warn"
cast_possible_truncation = "warn"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
enum_glob_use = "allow"
exhaustive_enums = "warn"
expect_used = "allow"
fn_params_excessive_bools = "warn"
missing_assert_message = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic_in_result_fn = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_clone = "warn"
string_add = "warn"
struct_excessive_bools = "warn"
todo = "warn"
unwrap_used = "warn"
wildcard_imports = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1