[package]
edition = "2024"
rust-version = "1.88"
name = "canton"
version = "0.3.2"
authors = ["NODEJUMPER <dmitryk@nodejumper.io>"]
build = false
include = [
"src/**/*",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Canton Network Rust SDK: one-stop entry point re-exporting the canton-* crate family."
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]
default = ["ed25519"]
ed25519 = [
"canton-signer/ed25519",
"canton-ledger/ed25519",
"canton-admin/ed25519",
]
otel = [
"canton-ledger/otel",
"canton-core/otel",
]
pqs-tls = ["canton-pqs/tls"]
ws = ["canton-ledger/ws"]
[lib]
name = "canton"
path = "src/lib.rs"
[dependencies.canton-admin]
version = "0.3.2"
[dependencies.canton-auth]
version = "0.3.2"
[dependencies.canton-core]
version = "0.3.2"
[dependencies.canton-daml]
version = "0.3.2"
[dependencies.canton-ledger]
version = "0.3.2"
[dependencies.canton-pqs]
version = "0.3.2"
[dependencies.canton-signer]
version = "0.3.2"
default-features = false
[dependencies.canton-token]
version = "0.3.2"
[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