# 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 = "lux-lib"
version = "0.4.1"
authors = [
    "vhyrro <vhyrro@gmail.com>",
    "mrcjkb <marc@jakobi.dev>",
]
build = false
exclude = [
    "tests/**",
    "resources/test/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for the lux package manager for Lua"
homepage = "https://github.com/nvim-neorocks/lux"
readme = "README.md"
keywords = [
    "lua",
    "luarocks",
    "neovim",
    "packagemanager",
    "build",
]
categories = ["development-tools"]
license = "MIT"

[features]
clap = ["dep:clap"]
default = ["luajit"]
lua = []
lua51 = ["mlua/lua51"]
lua52 = ["mlua/lua52"]
lua53 = ["mlua/lua53"]
lua54 = ["mlua/lua54"]
luajit = ["mlua/luajit"]
vendored-lua = ["mlua/vendored"]

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

[dependencies.async-recursion]
version = "1.1.1"

[dependencies.bon]
version = "3.6.0"
features = ["implied-bounds"]

[dependencies.bytes]
version = "1.10.0"

[dependencies.cc]
version = "1.2.0"
features = ["parallel"]

[dependencies.chumsky]
version = "0.10.0"

[dependencies.clap]
version = "4.5.3"
features = ["derive"]
optional = true

[dependencies.clean-path]
version = "0.2.1"

[dependencies.diffy]
version = "0.4.0"

[dependencies.directories]
version = "6.0.0"

[dependencies.flate2]
version = "1.1.0"

[dependencies.fs_extra]
version = "1.3.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.git-url-parse]
version = "0.4.4"

[dependencies.git2]
version = "0.20.0"

[dependencies.hex]
version = "0.4.3"

[dependencies.html-escape]
version = "0.2.13"

[dependencies.httpdate]
version = "1.0.3"

[dependencies.ignore]
version = "0.4.23"

[dependencies.indicatif]
version = "0.17.8"

[dependencies.infer]
version = "0.19.0"

[dependencies.is_executable]
version = "1.0.4"

[dependencies.itertools]
version = "0.14.0"

[dependencies.lets_find_up]
version = "0.0.4"

[dependencies.lua-src]
version = "547.0.0"

[dependencies.luajit-src]
version = "210.5.12"

[dependencies.lux-workspace-hack]
version = "0.1"

[dependencies.md5]
version = "0.7.0"

[dependencies.mlua]
version = "0.10.1"
features = [
    "serialize",
    "macros",
    "error-send",
    "async",
]

[dependencies.nix-nar]
version = "0.3.0"

[dependencies.nonempty]
version = "0.11.0"
features = ["serialize"]

[dependencies.openssl]
version = "0.10.70"

[dependencies.path-slash]
version = "0.2.1"

[dependencies.pathdiff]
version = "0.2.1"

[dependencies.pkg-config]
version = "0.3.31"

[dependencies.remove_dir_all]
version = "1.0.0"

[dependencies.reqwest]
version = "0.12.0"
features = [
    "json",
    "multipart",
]

[dependencies.semver]
version = "1.0.22"

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

[dependencies.serde-enum-str]
version = "0.4.0"

[dependencies.serde_json]
version = "1.0.114"
features = ["preserve_order"]

[dependencies.sha2]
version = "0.10.8"

[dependencies.shell-words]
version = "1.1.0"

[dependencies.shlex]
version = "1.3.0"

[dependencies.ssri]
version = "9.2.0"

[dependencies.strum]
version = "0.27"

[dependencies.strum_macros]
version = "0.27"

[dependencies.tar]
version = "0.4.42"

[dependencies.target-lexicon]
version = "0.13.0"

[dependencies.tempdir]
version = "0.3.7"

[dependencies.thiserror]
version = "2.0.0"

[dependencies.tokio]
version = "1.45.0"
features = ["full"]

[dependencies.toml]
version = "0.8.19"

[dependencies.toml_edit]
version = "0.22.22"

[dependencies.tree-sitter]
version = "0.25.2"

[dependencies.tree-sitter-config]
version = "0.25.2"

[dependencies.tree-sitter-generate]
version = "0.25.1"

[dependencies.tree-sitter-loader]
version = "0.25.2"

[dependencies.url]
version = "2.5.4"

[dependencies.vfs]
version = "0.12.0"

[dependencies.walkdir]
version = "2.4.0"

[dependencies.which]
version = "7.0.0"

[dependencies.zip]
version = "2.6.0"

[dev-dependencies.assert_fs]
version = "1.1.2"

[dev-dependencies.dir-diff]
version = "0.3.3"

[dev-dependencies.httptest]
version = "0.16.1"

[dev-dependencies.insta]
version = "1.43.0"
features = [
    "redactions",
    "yaml",
    "json",
]

[dev-dependencies.predicates]
version = "3.1.2"

[dev-dependencies.proptest]
version = "1.6.0"

[dev-dependencies.serial_test]
version = "3.2.0"

[target.'cfg(not(target_env = "msvc"))'.dependencies.gpgme]
version = "0.11.0"
