# 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.85"
name = "mlua-pkg"
version = "0.5.0"
authors = ["Yutaka Nishimura"]
build = false
include = [
    "src/**/*",
    "tests/**/*",
    "LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Composable Lua module loader for mlua"
readme = "README.md"
keywords = [
    "lua",
    "mlua",
    "require",
    "module",
    "loader",
]
categories = [
    "game-development",
    "config",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ynishi/mlua-pkg"
resolver = "3"

[features]
sandbox-cap-std = ["dep:cap-std"]

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

[[bin]]
name = "cargo-mlua-pkg"
path = "src/bin/mlua-pkg.rs"

[[bin]]
name = "mlua-pkg"
path = "src/bin/mlua-pkg.rs"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.cap-std]
version = "4"
optional = true

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.git2]
version = "0.18"

[dependencies.mlua]
version = "0.11"
features = [
    "lua54",
    "vendored",
    "serialize",
]

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dependencies.toml_edit]
version = "0.22"

[dev-dependencies.cap-std]
version = "4"

[dev-dependencies.tempfile]
version = "3"
