[package]
edition = "2024"
rust-version = "1.85"
name = "twig-sys"
version = "2.5.1"
build = "build.rs"
links = "twig"
include = [
"src/**/*.rs",
"build.rs",
"README.md",
"zig/build.zig",
"zig/build.zig.zon",
"zig/src/**/*",
"zig/bindings/c/include/twig.h",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FFI bindings and native library for Twig (the Djot/Markdown/HTML/XML document engine). Used by the `twig-doc` crate."
homepage = "https://github.com/diaryx-org/twig"
documentation = "https://docs.rs/twig-sys"
readme = "README.md"
keywords = [
"djot",
"markdown",
"ffi",
"sys",
"bindings",
]
categories = [
"external-ffi-bindings",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/diaryx-org/twig"
[lib]
name = "twig_sys"
path = "src/lib.rs"
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.twig-sys-wasm32]
version = "2.5.1"
[target.'cfg(all(target_os = "linux", target_arch = "aarch64", target_env = "gnu"))'.dependencies.twig-sys-linux-arm64-gnu]
version = "2.5.1"
[target.'cfg(all(target_os = "linux", target_arch = "x86_64", target_env = "gnu"))'.dependencies.twig-sys-linux-x64-gnu]
version = "2.5.1"
[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies.twig-sys-macos-arm64]
version = "2.5.1"
[target.'cfg(all(target_os = "windows", target_arch = "x86_64", target_env = "msvc"))'.dependencies.twig-sys-windows-x64-msvc]
version = "2.5.1"