-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (31 loc) · 1.11 KB
/
Cargo.toml
File metadata and controls
36 lines (31 loc) · 1.11 KB
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
[package]
name = "gfapi-sys"
description = "This crates provides FFI bindings for Gluster's API"
version = "4.0.1"
authors = ["Chris Holcombe <chris.holcombe@canonical.com>"]
repository = "https://github.com/gluster/Gfapi-sys"
documentation = "https://docs.rs/gfapi-sys"
license = "MIT"
edition = '2018'
[dependencies]
errno = "^0.2"
libc = "^0.2"
log = "~0.4"
uuid = {version="0.7", features=["std"]}
[build-dependencies]
bindgen = "0.59"
[badges]
travis-ci = { repository = "gluster/Gfapi-sys" }
[profile.dev]
opt-level = 0 # controls the `--opt-level` the compiler builds with
debug = true # controls whether the compiler passes `-g`
rpath = false # controls whether the compiler passes `-C rpath`
lto = false # controls `-C lto` for binaries and staticlibs
debug-assertions = true # controls whether debug assertions are enabled
codegen-units = 1 # controls whether the compiler passes `-C codegen-units`
# `codegen-units` is ignored when `lto = true`
panic = 'unwind' # panic strategy (`-C panic=...`), can also be 'abort'
[[bin]]
doc = true
name = "main"
path = "examples/main.rs"