[package]
edition = "2024"
name = "factorio-codegen"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lua code generator for factorio-rs"
homepage = "https://github.com/languint/factorio-rs"
readme = "README.md"
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 = "debug"
path = "tests/debug.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 = "structs"
path = "tests/structs.rs"
[dependencies.factorio-ir]
version = "0.1.1"
[dependencies.heck]
version = "0.5.0"
[dependencies.thiserror]
version = "2.0.18"
[dev-dependencies.factorio-ir]
version = "0.1.1"
[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