# 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 = "paxc"
version = "3.7.1"
authors = ["David M. Anderson"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A compiler for the pax DSL, producing Power Automate cloud flow definitions"
homepage = "https://excelano.com/paxc/"
readme = "README.md"
keywords = [
    "power-automate",
    "dsl",
    "compiler",
    "logic-apps",
    "workflow",
]
categories = [
    "command-line-utilities",
    "compilers",
]
license = "MIT"
repository = "https://github.com/excelano/paxc"

[package.metadata.deb]
maintainer = "David M. Anderson <david.anderson@excelano.com>"
extended-description = """
paxc compiles the pax DSL into Power Automate cloud flow definitions. Write
terse, readable code; get the verbose definition.json that Power Automate
expects. Companion interpreter paxr runs the same source locally for fast
iteration without round-tripping through the PA designer. Every pax construct
maps to a documented PA action shape, and `paxc --decode <flow.json>`
round-trips real PA exports back to pax source for refactoring under version
control. See REFERENCE.md (installed at /usr/share/doc/paxc/) for the full
language reference."""
section = "devel"
priority = "optional"
depends = "libc6, libgcc-s1"
assets = [
    [
    "target/release/paxc",
    "usr/bin/",
    "755",
],
    [
    "target/release/paxr",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/paxc/README.md",
    "644",
],
    [
    "REFERENCE.md",
    "usr/share/doc/paxc/REFERENCE.md",
    "644",
],
    [
    "LICENSE",
    "usr/share/doc/paxc/copyright",
    "644",
],
]

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

[[bin]]
name = "paxc"
path = "src/bin/paxc.rs"

[[bin]]
name = "paxr"
path = "src/bin/paxr.rs"

[[test]]
name = "decoder"
path = "tests/decoder.rs"

[dependencies.ariadne]
version = "0.6"

[dependencies.chumsky]
version = "0.13"

[dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.zip]
version = "2"
features = [
    "deflate-flate2",
    "flate2",
]
default-features = false

[profile.dist]
lto = "thin"
inherits = "release"
