Crates.io | daml |
lib.rs | daml |
version | 0.2.2 |
source | src |
created_at | 2020-04-10 04:30:21.371482 |
updated_at | 2022-03-08 08:45:54.535284 |
description | A smart contract language for building distributed applications on a safe, privacy-aware runtime |
homepage | |
repository | https://github.com/fujiapple852/rust-daml-bindings |
max_upload_size | |
id | 228226 |
size | 28,514 |
Unofficial Rust bindings and tools for Daml.
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 |
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.
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.
The current MSRV is 1.59.0.
This library has been tested against Daml-LF version 1.14
and Daml Connect SDK 1.18.1
.
Please see the CHANGELOG for a release history.
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