[package]
name = "tinyxml2-capi"
description = "C FFI compatibility layer for tinyxml2-rs"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
keywords = ["xml", "tinyxml2", "parser", "dom", "ffi"]
categories = ["parser-implementations", "external-ffi-bindings"]
documentation = "https://docs.rs/tinyxml2-capi"
readme = "../../README.md"
[lib]
crate-type = ["cdylib", "staticlib", "lib"]
[dependencies]
tinyxml2 = { path = "../tinyxml2", version = "1.1.0" }
[build-dependencies]
cbindgen = "0.28"
[lints.rust]
unsafe_code = "allow"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
[[example]]
name = "c_interop"
path = "../../examples/c_interop.rs"