[package]
edition = "2024"
rust-version = "1.88"
name = "canton-admin"
version = "0.3.2"
authors = ["NODEJUMPER <dmitryk@nodejumper.io>"]
build = false
include = [
"src/**/*",
"examples/**/*",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canton admin client: party management, user self-inspect, and topology read (gRPC)."
homepage = "https://nodejumper.io/"
readme = "README.md"
keywords = [
"canton",
"grpc",
"ledger",
"blockchain",
"daml",
]
categories = [
"api-bindings",
"asynchronous",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/nodejumper-org/canton-rust-sdk"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
ed25519 = ["canton-signer/ed25519"]
[lib]
name = "canton_admin"
path = "src/lib.rs"
[[example]]
name = "fetch_packages"
path = "examples/fetch_packages.rs"
[dependencies.canton-core]
version = "0.3.2"
[dependencies.canton-proto]
version = "0.3.2"
[dependencies.canton-signer]
version = "0.3.2"
default-features = false
[dependencies.prost]
version = "0.14"
[dependencies.sha2]
version = "0.10"
default-features = false
[dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"time",
]
default-features = false
[dependencies.tonic]
version = "0.14"
features = [
"transport",
"codegen",
"tls-ring",
"tls-native-roots",
]
default-features = false
[dependencies.tonic-prost]
version = "0.14"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.canton-auth]
version = "0.3.2"
[dev-dependencies.canton-lf]
version = "0.3.2"
[dev-dependencies.canton-proto]
version = "0.3.2"
features = ["server"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"net",
]
default-features = false
[dev-dependencies.tokio-stream]
version = "0.1.1"
features = ["net"]
[lints.clippy]
doc_markdown = "allow"
expect_used = "warn"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1