gotmpl 0.4.0

A Rust reimplementation of Go's text/template library
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.89"
name = "gotmpl"
version = "0.4.0"
authors = ["Pierre-Henri Symoneaux"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust reimplementation of Go's text/template library"
documentation = "https://docs.rs/gotmpl"
readme = "README.md"
keywords = [
    "template",
    "golang",
    "templating",
    "parser",
    "no-std",
]
categories = [
    "template-engine",
    "parser-implementations",
    "no-std",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/phsym/gotmpl-rs"

[features]
default = ["std"]
go-crosscheck = []
std = []

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

[[example]]
name = "custom_func"
path = "examples/custom_func.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

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

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

[dependencies.smol_str]
version = "0.3"
default-features = false

[dependencies.thiserror]
version = "2"

[profile.bench]
opt-level = 3
lto = true
codegen-units = 1
debug = 2
strip = false

[profile.release]
opt-level = 3
lto = true
codegen-units = 1