6 releases
0.2.2 | Mar 8, 2022 |
---|---|
0.2.1 | Mar 7, 2022 |
0.1.1 | Mar 3, 2022 |
0.0.0 | Apr 10, 2020 |
#54 in #json-api
Used in 2 crates
1MB
5.5K
SLoC
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
Dependencies
~0–14MB
~188K SLoC