factorio-codegen 0.2.0

Lua code generator for the factorio-rs Rust-to-Lua Factorio mod toolchain
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "factorio-codegen"
version = "0.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lua code generator for the factorio-rs Rust-to-Lua Factorio mod toolchain"
homepage = "https://languint.github.io/factorio-rs/"
documentation = "https://languint.github.io/factorio-rs/"
readme = "README.md"
keywords = [
    "factorio",
    "lua",
    "modding",
    "gamedev",
    "transpile",
]
categories = [
    "game-development",
    "compilers",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/languint/factorio-rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.factorio-ir]
version = "0.2.0"

[dependencies.heck]
version = "0.5.0"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.factorio-ir]
version = "0.2.0"

[build-dependencies.factorio-api-gen]
version = "0.2.0"

[lints.clippy]
as_conversions = "deny"
exit = "deny"
expect_used = "deny"
panic = "deny"
panic_in_result_fn = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

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

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