2025-02-15 12:39:31 +01:00
|
|
|
[package]
|
|
|
|
|
name = "servicepoint_binding_c"
|
2025-06-01 13:00:22 +02:00
|
|
|
version = "0.15.0"
|
2025-02-15 12:39:31 +01:00
|
|
|
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"
|
|
|
|
|
keywords = ["cccb", "cccb-servicepoint", "cbindgen"]
|
|
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
|
|
2025-04-11 20:43:13 +02:00
|
|
|
[dependencies.servicepoint]
|
2025-06-27 18:06:03 +02:00
|
|
|
version = "0.15.1"
|
2025-04-11 20:43:13 +02:00
|
|
|
default-features = false
|
2025-05-16 00:33:27 +02:00
|
|
|
|
|
|
|
|
[dependencies.env_logger]
|
|
|
|
|
version = "0.11.8"
|
|
|
|
|
optional = true
|
2025-04-11 20:43:13 +02:00
|
|
|
|
2025-06-16 21:26:58 +02:00
|
|
|
[dependencies]
|
|
|
|
|
paste = "1.0.15"
|
|
|
|
|
|
2025-04-11 20:43:13 +02:00
|
|
|
[features]
|
2025-04-12 22:32:27 +02:00
|
|
|
all_compressions = ["servicepoint/all_compressions"]
|
2025-05-16 00:33:27 +02:00
|
|
|
default = ["all_compressions", "servicepoint/default", "env_logger"]
|
|
|
|
|
env_logger = ["dep:env_logger"]
|
2024-05-28 19:38:43 +02:00
|
|
|
|
2025-02-15 12:39:31 +01:00
|
|
|
[lints.rust]
|
2024-05-28 19:38:43 +02:00
|
|
|
missing-docs = "warn"
|
2025-04-11 21:40:49 +02:00
|
|
|
unsafe_op_in_unsafe_fn = "warn"
|
2024-11-12 19:37:21 +01:00
|
|
|
|
2025-04-12 21:47:23 +02:00
|
|
|
[lints.clippy]
|
|
|
|
|
missing_safety_doc = "allow"
|
|
|
|
|
|
2025-02-15 12:39:31 +01:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
all-features = true
|
2025-04-11 20:43:13 +02:00
|
|
|
|
2025-05-28 16:48:19 +02:00
|
|
|
[profile.size_optimized]
|
2025-04-11 20:43:13 +02:00
|
|
|
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
|