[package]
edition = "2024"
rust-version = "1.85.0"
name = "tinyxml2-capi"
version = "0.1.16"
authors = ["Teebot"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C FFI compatibility layer for tinyxml2-rs"
homepage = "https://github.com/Teebot/tinyxml2-rs"
readme = "README.md"
keywords = [
"xml",
"ffi",
"c-api",
"tinyxml2",
]
categories = ["external-ffi-bindings"]
license = "MIT"
repository = "https://github.com/Teebot/tinyxml2-rs"
resolver = "2"
[lib]
name = "tinyxml2_capi"
crate-type = [
"cdylib",
"staticlib",
"lib",
]
path = "src/lib.rs"
[[test]]
name = "ffi_tests"
path = "tests/ffi_tests.rs"
[dependencies.tinyxml2]
version = "0.1.16"
[build-dependencies.cbindgen]
version = "0.28"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "allow"