canton-admin 0.3.2

Canton admin client: party management, user self-inspect, and topology read (gRPC).
Documentation
[package]
name         = "canton-admin"
version      = { workspace = true }
edition      = { workspace = true }
rust-version = { workspace = true }
license      = { workspace = true }
readme       = { workspace = true }
authors      = { workspace = true }
repository   = { workspace = true }
homepage     = { workspace = true }
categories   = { workspace = true }
keywords     = { workspace = true }
description  = "Canton admin client: party management, user self-inspect, and topology read (gRPC)."
include      = ["src/**/*", "examples/**/*", "README.md", "LICENSE"]

[dependencies]
# A package id is the SHA-256 of its payload; `get_package` verifies that
# rather than trusting the hash the server reports beside it.
sha2 = { workspace = true }
canton-proto = { workspace = true }
canton-core  = { workspace = true }
# `canton-signer` without its in-memory Ed25519 key. The library needs only the
# `Signer` trait and the wire types; `Ed25519Key` and `ring` come back with the
# `ed25519` feature, which the facade turns on by default. Taken with
# `default-features = false` because feature unification is additive: one
# dependant pinning the default would have forced `ring` on every HSM
# deployment in the tree, which is what it did.
canton-signer = { workspace = true }
# The onboarding topology transactions arrive serialized; decoding them is how
# the SDK checks what it is about to sign for.
prost        = { workspace = true }
tonic        = { workspace = true, features = ["transport", "codegen", "tls-ring", "tls-native-roots"] }
tonic-prost  = { workspace = true }
tokio        = { workspace = true, features = ["rt", "macros", "time"] }
tracing      = { workspace = true }

[features]
# As `canton-ledger`: the trait is unconditional, the key is not.
ed25519 = ["canton-signer/ed25519"]

[dev-dependencies]
# The package-fetch example decodes what it downloads, and authenticates.
canton-lf    = { workspace = true }
canton-auth  = { workspace = true }
# Server stubs (dev-only) so in-process gRPC test servers can be built.
canton-proto = { workspace = true, features = ["server"] }
tokio        = { workspace = true, features = ["rt-multi-thread", "macros", "time", "net"] }
tokio-stream = { workspace = true, features = ["net"] }

[lints]
workspace = true

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]