[package]
edition = "2024"
name = "kobe-sol"
version = "0.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solana wallet for Kobe"
readme = "README.md"
keywords = [
"solana",
"wallet",
"crypto",
"no_std",
]
categories = [
"cryptography",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pyroth/kobe"
[features]
alloc = [
"kobe/alloc",
"hex/alloc",
"zeroize/alloc",
]
default = ["std"]
rand = [
"ed25519-dalek/rand_core",
"dep:rand_core",
]
std = [
"alloc",
"kobe/std",
"ed25519-dalek/std",
"hex/std",
"zeroize/std",
]
[lib]
name = "kobe_sol"
path = "src/lib.rs"
[dependencies.bs58]
version = "0.5"
features = ["alloc"]
default-features = false
[dependencies.ed25519-dalek]
version = "2.2"
default-features = false
[dependencies.hex]
version = "0.4"
default-features = false
[dependencies.hmac]
version = "0.12"
default-features = false
[dependencies.kobe]
version = "0.4.2"
default-features = false
[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]
optional = true
default-features = false
[dependencies.sha2]
version = "0.10"
default-features = false
[dependencies.zeroize]
version = "1.7"
features = ["derive"]
default-features = false
[lints.clippy]
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
doc_markdown = "allow"
exhaustive_enums = "warn"
exhaustive_structs = "warn"
expect_used = "warn"
fn_params_excessive_bools = "allow"
future_not_send = "allow"
implicit_hasher = "allow"
missing_docs_in_private_items = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
shadow_reuse = "warn"
shadow_same = "warn"
shadow_unrelated = "warn"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
todo = "warn"
too_many_lines = "allow"
unimplemented = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1