canton-lf 0.2.2

Daml-LF archive (DAR/DALF) reader and decoder for the Canton Rust SDK.
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.88"
name = "canton-lf"
version = "0.2.2"
authors = ["NODEJUMPER <dmitryk@nodejumper.io>"]
build = "build.rs"
include = [
    "src/**/*",
    "proto/**/*",
    "build.rs",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Daml-LF archive (DAR/DALF) reader and decoder for the Canton Rust SDK."
homepage = "https://nodejumper.io/"
readme = "README.md"
keywords = [
    "canton",
    "daml",
    "daml-lf",
    "dar",
    "codegen",
]
categories = [
    "parser-implementations",
    "encoding",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/nodejumper-org/canton-rust-sdk"
resolver = "2"

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

[dependencies.prost]
version = "0.14"

[dependencies.sha2]
version = "0.10"
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

[dev-dependencies.prost]
version = "0.14"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.sha2]
version = "0.10"
default-features = false

[dev-dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

[build-dependencies.prost-build]
version = "0.14"

[build-dependencies.protoc-bin-vendored]
version = "3"

[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