forked from eclipse-zenoh/zenoh-c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
89 lines (80 loc) · 2.4 KB
/
Cargo.toml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
# Copyright (c) 2022 ZettaScale Technology
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# ZettaScale Zenoh Team, <[email protected]>
#
[package]
name = "zenoh-c"
version = "0.7.0-rc.1"
repository = "https://github.com/eclipse-zenoh/zenoh-c"
homepage = "http://zenoh.io"
authors = [
"kydos <[email protected]>",
"Julien Enoch <[email protected]>",
"Olivier Hécart <[email protected]>",
"Luca Cominardi <[email protected]>",
]
edition = "2021"
license = "EPL-2.0 OR Apache-2.0"
categories = ["network-programming"]
description = "The Zenoh C API"
readme = "README.md"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
logger-autoinit = []
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
async-std = "=1.12.0"
async-trait = "0.1.66"
env_logger = "0.10.0"
futures = "0.3.26"
json5 = "0.4.1"
libc = "0.2.139"
log = "0.4.17"
rand = "0.8.5"
spin = "0.9.5"
zenoh = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master", features = [ "unstable" ] }
zenoh-protocol = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master" }
zenoh-util = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master" }
[build-dependencies]
cbindgen = "0.24.3"
fs2 = "0.4.3"
serde_yaml = "0.9.19"
[lib]
path="src/lib.rs"
name = "zenohc"
crate-type = ["cdylib", "staticlib"]
doctest = false
[package.metadata.deb.variants.libzenohc]
name = "libzenohc"
maintainer = "[email protected]"
copyright = "2017, 2022 ZettaScale Technology"
section = "net"
license-file = ["LICENSE", "0"]
[package.metadata.deb.variants.libzenohc-dev]
name = "libzenohc-dev"
maintainer = "[email protected]"
copyright = "2017, 2022 ZettaScale Technology"
section = "net"
license-file = ["LICENSE", "0"]
depends = "libzenohc (=0.7.0~dev)"
assets = [["include/*", "usr/include/", "755"]]
[profile.dev]
debug = true
opt-level = 0
[profile.release]
debug = false # If you want debug symbol in release mode, set the env variable: RUSTFLAGS=-g
lto = "fat"
codegen-units = 1
opt-level = 3
panic = "abort"