# 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"
name = "rue-parser"
version = "0.2.0"
authors = ["Brandon Haggstrom <me@rigidnetwork.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parses Rue tokens into an AST."
homepage = "https://github.com/rigidity/rue"
readme = "README.md"
keywords = [
    "chia",
    "blockchain",
    "crypto",
]
categories = [
    "cryptography::cryptocurrencies",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/rigidity/rue"

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

[dependencies.indexmap]
version = "2.2.6"

[dependencies.num-derive]
version = "0.4.2"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.rowan]
version = "0.15.15"

[dependencies.rue-lexer]
version = "0.1.1"

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
dead_code = "warn"
deprecated = "deny"
deprecated_in_future = "deny"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unreachable_code = "warn"
unreachable_patterns = "deny"
unsafe_code = "deny"
unused_extern_crates = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.nonstandard_style]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rust.rust_2021_compatibility]
level = "deny"
priority = -1