[package]
edition = "2021"
rust-version = "1.87.0"
name = "daml-syntax"
version = "0.4.2"
authors = ["Steven Nevins"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared parsed-source surface for Daml tools"
readme = "README.md"
keywords = [
"daml",
"syntax",
"parser",
"diagnostics",
"source-map",
]
categories = [
"parser-implementations",
"development-tools",
]
license = "AGPL-3.0-only"
repository = "https://github.com/stevennevins/daml-tools"
[lib]
name = "daml_syntax"
path = "src/lib.rs"
[dependencies.daml-parser]
version = "0.6.2"
[dependencies.text-size]
version = "1"
[lints.clippy]
branches_sharing_code = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_sign_loss = "deny"
dbg_macro = "deny"
derive_partial_eq_without_eq = "deny"
doc_markdown = "deny"
format_push_string = "deny"
items_after_statements = "deny"
iter_with_drain = "deny"
match_same_arms = "deny"
missing_const_for_fn = "deny"
needless_pass_by_value = "deny"
option_if_let_else = "deny"
or_fun_call = "deny"
ref_option = "deny"
todo = "deny"
too_long_first_doc_paragraph = "deny"
unimplemented = "deny"
uninlined_format_args = "deny"
unnested_or_patterns = "deny"
use_self = "deny"
useless_let_if_seq = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
private_intra_doc_links = "deny"