tinyxml2-capi 1.1.1

C FFI compatibility layer for tinyxml2-rs
Documentation
[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]
# Produce both static and shared C libraries
crate-type = ["cdylib", "staticlib", "lib"]

[dependencies]
tinyxml2 = { path = "../tinyxml2", version = "1.1.0" }

[build-dependencies]
cbindgen = "0.28"

# Override workspace lint — unsafe is required for FFI
[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"