[package]
edition = "2021"
name = "pushkin-compiler"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Schema compiler for pushkin: canonical JSON Schema emission and generated bindings"
readme = false
license = "MIT"
repository = "https://github.com/acoletti/pushkin"
[lib]
name = "pushkin_compiler"
path = "src/lib.rs"
[[test]]
name = "array_widening"
path = "tests/array_widening.rs"
[[test]]
name = "compiler"
path = "tests/compiler.rs"
[[test]]
name = "emitter_escaping"
path = "tests/emitter_escaping.rs"
[[test]]
name = "front_gate_bijective"
path = "tests/front_gate_bijective.rs"
[[test]]
name = "golden_files"
path = "tests/golden_files.rs"
[[test]]
name = "golden_files_arrays"
path = "tests/golden_files_arrays.rs"
[[test]]
name = "golden_files_scalars"
path = "tests/golden_files_scalars.rs"
[[test]]
name = "identifier_totality"
path = "tests/identifier_totality.rs"
[[test]]
name = "integer_default_range"
path = "tests/integer_default_range.rs"
[[test]]
name = "pydantic_number_default"
path = "tests/pydantic_number_default.rs"
[[test]]
name = "scalar_widening"
path = "tests/scalar_widening.rs"
[[test]]
name = "schemars_round_trip"
path = "tests/schemars_round_trip.rs"
[[test]]
name = "sql_quoting_required_default"
path = "tests/sql_quoting_required_default.rs"
[[test]]
name = "subset_remediation"
path = "tests/subset_remediation.rs"
[[test]]
name = "typify_rust_emitter"
path = "tests/typify_rust_emitter.rs"
[dependencies.prettyplease]
version = "=0.2.37"
[dependencies.schemars]
version = "=0.8.22"
[dependencies.serde]
version = "=1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "=1.0.151"
[dependencies.syn]
version = "=2.0.119"
features = ["full"]
[dependencies.thiserror]
version = "=2.0.20"
[dependencies.typify]
version = "=0.7.0"
[dev-dependencies.regress]
version = "=0.11.1"
[dev-dependencies.tempfile]
version = "=3.23.0"
[lints.clippy]
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "forbid"