46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "servicepoint_binding_c"
|
|
version = "0.13.1"
|
|
publish = true
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
description = "C bindings for the servicepoint crate."
|
|
homepage = "https://docs.rs/crate/servicepoint_binding_c"
|
|
repository = "https://git.berlin.ccc.de/servicepoint/servicepoint"
|
|
readme = "README.md"
|
|
links = "servicepoint"
|
|
keywords = ["cccb", "cccb-servicepoint", "cbindgen"]
|
|
|
|
[lib]
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
cbindgen = "0.28.0"
|
|
|
|
[dependencies.servicepoint]
|
|
package = "servicepoint"
|
|
version = "0.13.2"
|
|
default-features = false
|
|
features = ["protocol_udp"]
|
|
git = "https://git.berlin.ccc.de/servicepoint/servicepoint/"
|
|
branch = "next"
|
|
|
|
[features]
|
|
full = ["servicepoint/all_compressions", "servicepoint/default"]
|
|
default = ["full"]
|
|
|
|
[lints.rust]
|
|
missing-docs = "warn"
|
|
unsafe_op_in_unsafe_fn = "warn"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[profile.size-optimized]
|
|
inherits = "release"
|
|
opt-level = 'z' # Optimize for size
|
|
lto = true # Enable link-time optimization
|
|
codegen-units = 1 # Reduce number of codegen units to increase optimizations
|
|
panic = 'abort' # Abort on panic
|
|
strip = true # Strip symbols from binary
|