daml

Crates.iodaml
lib.rsdaml
version0.2.2
sourcesrc
created_at2020-04-10 04:30:21.371482
updated_at2022-03-08 08:45:54.535284
descriptionA smart contract language for building distributed applications on a safe, privacy-aware runtime
homepage
repositoryhttps://github.com/fujiapple852/rust-daml-bindings
max_upload_size
id228226
size28,514
FujiApple (fujiapple852)

documentation

README

ci Documentation Crate maintenance-status

Rust Bindings for Daml

Unofficial Rust bindings and tools for Daml.

Crates

The project provides the following crates:

crate description
daml Daml prelude & common entry point
daml-grpc Daml Ledger GRPC API bindings
daml-json Daml Ledger JSON API bindings
daml-codegen Generate Rust GRPC API bindings from Daml
daml-derive Macros for generating Rust GRPC bindings from Daml
daml-macro Helper macros for working with Daml GRPC values
daml-util Utilities for working with Daml ledgers
daml-lf Library for working with Daml-LF archives
daml-bridge Daml JSON <> GRPC Ledger bridge

Usage

Applications should always depend on the daml crate directly and specify the appropriate features to enable the required functionality:

[dependencies]
daml = { version = "0.2.2", features = ["full"] }

See the documentation for the full set of feature flags available.

Example Applications

Several example applications are available in the examples directory showcasing various features of the library. Additionally, most crates provide comprehensive integration tests which demonstrate usage.

Minimum Supported Rust Version

The current MSRV is 1.59.0.

Supported Daml Version

This library has been tested against Daml-LF version 1.14 and Daml Connect SDK 1.18.1.

Changelog

Please see the CHANGELOG for a release history.

License

This library is distributed under the terms of the Apache License (Version 2.0).

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in time by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See LICENSE for details.

Copyright 2022

Commit count: 328

cargo fmt