factorio-api-gen 0.1.0

Generates Rust bindings from Factorio runtime-api.json
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"
name = "factorio-api-gen"
version = "0.1.0"
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