[package]
edition = "2021"
rust-version = "1.89"
name = "stratum-node-core"
version = "0.1.0-alpha.4"
authors = ["DreamLab AI"]
build = false
include = [
"/Cargo.toml",
"/README.md",
"/LICENSE",
"/src/**/*.rs",
"/tests/**/*.rs",
"/tests/fixtures/**",
"/tests/vectors/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-I/O core types for Stratum pod nodes: did:nostr principals, typed identifiers, a strict NIP-98 signed-request verifier and bootstrap claim bodies"
homepage = "https://github.com/DreamLab-AI/stratum"
documentation = "https://docs.rs/stratum-node-core"
readme = "README.md"
keywords = [
"nostr",
"nip-98",
"did",
"bip-340",
"solid",
]
categories = [
"authentication",
"cryptography",
"data-structures",
]
license = "AGPL-3.0-only"
repository = "https://github.com/DreamLab-AI/stratum"
[lib]
name = "stratum_node_core"
path = "src/lib.rs"
[[test]]
name = "admission"
path = "tests/admission.rs"
[[test]]
name = "claim"
path = "tests/claim.rs"
[[test]]
name = "error_traits"
path = "tests/error_traits.rs"
[[test]]
name = "event"
path = "tests/event.rs"
[[test]]
name = "grant_schedule"
path = "tests/grant_schedule.rs"
[[test]]
name = "installations"
path = "tests/installations.rs"
[[test]]
name = "interop"
path = "tests/interop.rs"
[[test]]
name = "manifest"
path = "tests/manifest.rs"
[[test]]
name = "member_state"
path = "tests/member_state.rs"
[[test]]
name = "members"
path = "tests/members.rs"
[[test]]
name = "pod_path"
path = "tests/pod_path.rs"
[[test]]
name = "profile"
path = "tests/profile.rs"
[[test]]
name = "request"
path = "tests/request.rs"
[[test]]
name = "secrets"
path = "tests/secrets.rs"
[[test]]
name = "text_forms"
path = "tests/text_forms.rs"
[[test]]
name = "unverified"
path = "tests/unverified.rs"
[dependencies.base64]
version = "0.23"
[dependencies.bech32]
version = "0.12"
[dependencies.hex]
version = "0.4"
[dependencies.k256]
version = "0.14"
features = [
"std",
"schnorr",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.thiserror]
version = "2"
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dev-dependencies.proptest]
version = "1"
[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