[package]
edition = "2024"
name = "pipa-lang"
version = "1.0.0-alpha.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny template language"
homepage = "https://occy.org/pipa/"
readme = "README.md"
license = "MPL-2.0"
repository = "https://occy.org/pipa/"
[lib]
name = "pipa"
path = "src/lib.rs"
doctest = false
[[bin]]
name = "pipa-lang"
path = "src/main.rs"
[dependencies.ahash]
version = "0.8.12"
[dependencies.aho-corasick]
version = "1.1.5"
[dependencies.base64]
version = "0.23.1"
[dependencies.bstr]
version = "1.13.1"
[dependencies.either]
version = "1.17.0"
[dependencies.fixed]
version = "1.31"
[dependencies.indexmap]
version = "2.14.0"
features = ["serde"]
[dependencies.itertools]
version = "0.15.0"
[dependencies.jiff]
version = "0.2.35"
[dependencies.logos]
version = "0.16.1"
[dependencies.papaya]
version = "0.2.4"
features = ["serde"]
[dependencies.percent-encoding]
version = "2.3.2"
[dependencies.regex]
version = "1.13.1"
[dependencies.saphyr]
version = "0.0.11"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.serde_yaml]
version = "0.9.34"
[dependencies.thiserror]
version = "2.0.20"
[dependencies.unicode-segmentation]
version = "1.13.3"
[lints.clippy]
allow_attributes = "warn"
case_sensitive_file_extension_comparisons = "allow"
collapsible_if = "allow"
default_trait_access = "allow"
enum_glob_use = "allow"
get_first = "allow"
if_same_then_else = "allow"
implicit_hasher = "allow"
into_iter_without_iter = "allow"
manual_let_else = "allow"
map_unwrap_or = "allow"
match_bool = "allow"
match_like_matches_macro = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
no_effect_underscore_binding = "allow"
obfuscated_if_else = "allow"
only_used_in_recursion = "allow"
option_map_unit_fn = "allow"
panic = "forbid"
redundant_else = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unit_arg = "allow"
unused_async = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -2
[lints.rust]
unreachable_pub = "deny"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1