nucleus-substrate-sdk 0.1.0

Demand-side SDK for the Nucleus substrate. Async HTTP `Client` over the hub plus a single `verify_receipt_fully` entry that walks all four projections (Identity, Capability, Flow, Economic) of a Receipt. Composes substrate-core + identity-projection + flow-projection + mechanism-vcg.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93"
name = "nucleus-substrate-sdk"
version = "0.1.0"
authors = ["Coproduct <hello@coproduct.dev>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Demand-side SDK for the Nucleus substrate. Async HTTP `Client` over the hub plus a single `verify_receipt_fully` entry that walks all four projections (Identity, Capability, Flow, Economic) of a Receipt. Composes substrate-core + identity-projection + flow-projection + mechanism-vcg."
documentation = "https://docs.rs/nucleus-substrate-sdk"
readme = "README.md"
keywords = [
    "substrate",
    "agent",
    "verifiable",
    "spiffe",
    "vcg",
]
categories = [
    "api-bindings",
    "command-line-utilities",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/coproduct-private/spiffy"

[lib]
name = "nucleus_substrate_sdk"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.base64]
version = "0.22"

[dependencies.nucleus-flow-projection]
version = "0.1.0"

[dependencies.nucleus-identity-projection]
version = "0.1.0"

[dependencies.nucleus-mechanism-vcg]
version = "0.1.0"

[dependencies.nucleus-substrate-core]
version = "0.1.0"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls-no-provider",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"
features = ["raw_value"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.50"
features = [
    "macros",
    "rt-multi-thread",
]
default-features = false

[dev-dependencies.ed25519-dalek]
version = "2"
features = [
    "rand_core",
    "pkcs8",
]

[lints.clippy]
type_complexity = "allow"