daml_codegen/
lib.rs

1#![warn(clippy::all, clippy::pedantic, clippy::nursery, rust_2018_idioms)]
2#![allow(
3    clippy::module_name_repetitions,
4    clippy::needless_pass_by_value,
5    clippy::use_self,
6    clippy::cast_sign_loss,
7    clippy::must_use_candidate,
8    clippy::missing_errors_doc
9)]
10#![forbid(unsafe_code)]
11#![doc(html_favicon_url = "https://docs.daml.com/_static/images/favicon/favicon-32x32.png")]
12#![doc(html_logo_url = "https://docs.daml.com/_static/images/DAML_Logo_Blue.svg")]
13#![doc(html_root_url = "https://docs.rs/daml-codegen/0.2.2")]
14#![recursion_limit = "128"]
15// importing the crate README as the rust doc breaks the link to the LICENCE file.
16#![allow(rustdoc::broken_intra_doc_links)]
17#![doc = include_str!("../README.md")]
18
19mod error;
20
21// The renderer is exposed so that it may be used by `daml-derive` only, it is not part of the public interface.
22#[doc(hidden)]
23pub mod renderer;
24
25/// Code generators for producing Rust implementations of Daml types.
26pub mod generator;