[package]
edition = "2024"
name = "factorio-api-gen"
version = "0.1.2"
build = false
include = [
"src/**/*",
"tests/**/*",
"api/runtime-api.json",
"Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generates Rust bindings from Factorio runtime-api.json"
homepage = "https://github.com/languint/factorio-rs"
readme = "README.md"
license = "MIT"
repository = "https://github.com/languint/factorio-rs"
[lib]
name = "factorio_api_gen"
path = "src/lib.rs"
[[bin]]
name = "factorio-api-gen"
path = "src/main.rs"
[[test]]
name = "generate"
path = "tests/generate.rs"
[dependencies.convert_case]
version = "0.8.0"
[dependencies.proc-macro2]
version = "1.0.106"
[dependencies.quote]
version = "1.0.45"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.145"
[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