Cargo Features

Daml has no features set by default.

[dependencies]
daml = { version = "0.2.2", features = ["full", "grpc", "json", "macros", "derive", "codegen", "lf", "lf-full", "util", "prelude", "sandbox"] }
full = codegen, derive, grpc, json, lf-full, macros, prelude, util
grpc full? = daml-grpc

Enable ledger GRPC API feature.

Affects daml::grpc_api

json full? = daml-json

Enable ledger JSON API feature.

Affects daml::json_api

macros full? = daml-macro

Enable helper macros feature.

Affects daml::macros

derive full? = daml-derive

Enable procedural macros feature.

Affects daml::derive

codegen full? = daml-codegen

Enable code generator feature.

Affects daml::codegen

lf lf-full? = daml-lf

Enable Daml-LF feature.

Affects daml::lf

lf-full full? = lf

Enable Daml-LF feature with support for all types

Enables full of daml-lf

util full? = daml-util

Enable additional utilities feature.

Affects daml::util

prelude full? = daml-derive, daml-grpc

Enable the Daml prelude feature (required to use code produced by the code generator).

Affects daml::prelude

sandbox

Enable ledger API features which are only supported on the sandbox.

Enables sandbox of daml-grpc and daml-util

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

daml-grpc grpc? prelude? sandbox?
daml-json json?
daml-macro macros?
daml-lf lf? lf-full?
daml-util sandbox? util?
daml-derive derive? prelude?
daml-codegen codegen?