2
Fork 0
dt-plugin-template/Cargo.toml
Lucas Schwiderski c3f7d54626
All checks were successful
build Build for the target platform
lint/clippy Check for common mistakes and opportunities for code improvement
Rework plugin structure
Also implements logging through the common `log` macros.
2025-05-08 13:45:08 +02:00

26 lines
622 B
TOML

[package]
name = "dt-plugin-template"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
libc = "0.2.144"
log = { version = "0.4.27", features = ["release_max_level_info"] }
[build-dependencies]
bindgen = "0.71.0"
[lib]
crate-type = ["cdylib", "lib"]
[profile.release]
strip = "debuginfo"
# The MSVC toolchain cannot handle LTO properly. Some symbol related to
# panic unwind would always be missing.
# So we use a separate profile for when we can compile with LTO.
[profile.release-lto]
inherits = "release"
lto = true