summaryrefslogtreecommitdiffstats
path: root/debian/debcargo.toml
blob: ae4df43e0d4d770dcb5f779c48a7c5fe8575946d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
overlay = "."
uploaders = ["Sylvestre Ledru <sylvestre@debian.org>"]
excludes = ["tests/expectations/**"]

[source]
section = "utils"
build_depends = ["help2man", "librust-serial-test-dev", "cython3"]

[packages.bin]
summary = "Generates C bindings from Rust code"
section = "utils"

description = """
cbindgen can be used to generate C bindings for Rust code.
It is currently being developed to support creating bindings for
WebRender (by Mozilla for Firefox), but has been designed to support
any project.

Features:

 * Builds bindings for a crate, its mods, its dependent crates, and their mods
 * Only the necessary types for exposed functions are given bindings
 * Can specify annotations for controlling some aspects of binding
 * Support for generic structs and unions
 * Support for exporting constants and statics
 * Customizable formatting, can be used in C or C++ projects
 * Support for generating #ifdef's for #[cfg] attributes
 * Support for #[repr(sized)] tagged enum's
"""

[packages.lib]
test_depends = ["gcc","g++","cython3"]
test_is_broken = true

[packages."lib+clap"]
test_is_broken = false

[packages."lib+default"]
test_is_broken = false

[packages."lib+@"]
test_is_broken = false