# 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 = "dprint-plugin-stylua"
version = "0.2.1"
authors = ["RubixDev"]
description = "StyLua integration for dprint"
homepage = "https://github.com/RubixDev/dprint-plugin-stylua"
readme = "README.md"
license = "GPL-3.0-only"
repository = "https://github.com/RubixDev/dprint-plugin-stylua"

[lib]
crate-type = [
    "lib",
    "cdylib",
]

[dependencies.anyhow]
version = "1.0.65"

[dependencies.dprint-core]
version = "0.59.0"
features = ["wasm"]

[dependencies.serde]
version = "1.0.145"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.85"

[dependencies.stylua]
version = "0.15.2"
features = [
    "serialize",
    "fromstr",
]
default-features = false

[features]
default = [
    "lua52",
    "lua53",
    "lua54",
    "luau",
]
lua52 = ["stylua/lua52"]
lua53 = ["stylua/lua53"]
lua54 = ["stylua/lua54"]
luau = ["stylua/luau"]
