# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.87.0"
name = "daml-parser"
version = "0.1.0"
authors = ["Steven Nevins"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lossless lexer, layout resolver, and parser for the Daml smart-contract language"
readme = "README.md"
keywords = [
    "daml",
    "parser",
    "lexer",
    "syntax-tree",
    "lossless",
]
categories = [
    "parser-implementations",
    "development-tools",
]
license = "AGPL-3.0-only"
repository = "https://github.com/stevennevins/daml-tools"

[lib]
name = "daml_parser"
path = "src/lib.rs"

[dependencies]

[lints.clippy]
branches_sharing_code = "deny"
dbg_macro = "deny"
derive_partial_eq_without_eq = "deny"
iter_with_drain = "deny"
missing_const_for_fn = "deny"
option_if_let_else = "deny"
or_fun_call = "deny"
todo = "deny"
too_long_first_doc_paragraph = "deny"
unimplemented = "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
