# 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 = "2021"
name = "pax-compiler"
version = "0.10.0"
authors = ["Zack Brown <zack@pax.dev>"]
include = [
    "new-project-template/**/*",
    "src/**/*",
    "templates/**/*",
    "README.md",
]
description = "Compiler APIs for parsing and building Pax projects into application executables"
homepage = "https://pax.dev/"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://www.github.com/pax-lang/pax"
resolver = "1"

[lib]

[dependencies.actix-files]
version = "0.6"

[dependencies.actix-rt]
version = "2"

[dependencies.actix-web]
version = "4"

[dependencies.colored]
version = "2.0.0"

[dependencies.console_error_panic_hook]
version = "0.1.6"
optional = true

[dependencies.env_logger]
version = "0.9"

[dependencies.flate2]
version = "1.0"

[dependencies.fs_extra]
version = "1.3.0"

[dependencies.futures]
version = "0.3.28"

[dependencies.include_dir]
version = "0.7.3"
features = ["glob"]

[dependencies.itertools]
version = "0.10.5"

[dependencies.kurbo]
version = "0.9.0"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.nix]
version = "0.20.2"

[dependencies.pax-message]
version = "0.10.0"

[dependencies.pax-runtime-api]
version = "0.10.0"

[dependencies.pest]
version = "2.6.0"

[dependencies.pest_derive]
version = "2.6.0"

[dependencies.portpicker]
version = "0.1.1"

[dependencies.rand]
version = "0.8.4"

[dependencies.reqwest]
version = "0.11.18"
features = ["blocking"]

[dependencies.rust-format]
version = "0.3.4"

[dependencies.serde]
version = "1.0.159"
features = ["derive"]
optional = true

[dependencies.serde_derive]
version = "1.0.159"

[dependencies.serde_json]
version = "1.0.95"
optional = true

[dependencies.tar]
version = "0.4"

[dependencies.tera]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml_edit]
version = "0.14.4"

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

[dependencies.walkdir]
version = "2.3.2"

[dependencies.wasm-bindgen]
version = "0.2.30"
features = ["serde-serialize"]

[features]
cbor = ["serde"]
default = [
    "console_error_panic_hook",
    "cbor",
    "json",
    "messagepack",
]
json = [
    "serde",
    "serde_json",
]
messagepack = ["serde"]
