witforge-build 0.12.0

Build-script helper for compiling witforge-generated protobuf schemas with protox, prost-build, and optional pbjson-build.
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 = "witforge-build"
version = "0.12.0"
build = false
exclude = ["tests/"]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Build-script helper for compiling witforge-generated protobuf schemas with protox, prost-build, and optional pbjson-build."
homepage = "https://witforge.org/"
documentation = "https://docs.rs/witforge-build"
readme = "README.md"
keywords = [
    "wit",
    "protobuf",
    "prost",
    "build-dependencies",
    "witforge",
]
categories = [
    "development-tools::build-utils",
    "encoding",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/zeropier/witforge"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
pbjson = ["dep:pbjson-build"]

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

[dependencies.pbjson-build]
version = "0.9"
optional = true

[dependencies.prost-build]
version = "0.14"

[dependencies.protox]
version = "0.10"

[dev-dependencies.pbjson]
version = "0.9"

[dev-dependencies.prost]
version = "0.14"

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

[dev-dependencies.serde_json]
version = "1"

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"