# 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 = "full_moon"
version = "2.1.0"
authors = ["Kampfkarren <kampfkarren@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lossless Lua parser"
readme = "README.md"
keywords = [
    "lua",
    "parser",
    "lua51",
    "lua52",
    "luau",
]
categories = ["parsing"]
license = "MPL-2.0"
repository = "https://github.com/Kampfkarren/full-moon"

[package.metadata.docs.rs]
features = [
    "luau",
    "lua52",
    "lua53",
    "lua54",
    "luajit",
    "cfxlua",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cfxlua = ["lua54"]
default = ["serde"]
lua52 = []
lua53 = ["lua52"]
lua54 = ["lua53"]
luajit = []
luau = ["roblox"]
no-source-tests = []
roblox = ["luau"]

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

[[test]]
name = "comments_around_functions"
path = "tests/comments_around_functions.rs"

[[test]]
name = "derive_node"
path = "tests/derive_node.rs"

[[test]]
name = "fail_cases"
path = "tests/fail_cases.rs"

[[test]]
name = "node"
path = "tests/node.rs"

[[test]]
name = "one_line_range"
path = "tests/one_line_range.rs"

[[test]]
name = "pass_cases"
path = "tests/pass_cases.rs"

[[test]]
name = "visitors"
path = "tests/visitors.rs"

[dependencies.bytecount]
version = "0.6"

[dependencies.cfg-if]
version = "1.0"

[dependencies.derive_more]
version = "1.0"
features = ["display"]

[dependencies.full_moon_derive]
version = "=0.11.0"

[dependencies.paste]
version = "1.0"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.smol_str]
version = "0.3.1"
features = ["serde"]

[dev-dependencies.codespan]
version = "0.11.1"

[dev-dependencies.codespan-reporting]
version = "0.11.1"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.insta]
version = "1.40.0"
features = [
    "glob",
    "yaml",
]

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.termcolor]
version = "1.4.1"
