-
Notifications
You must be signed in to change notification settings - Fork 252
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (35 loc) · 1.09 KB
/
Cargo.toml
File metadata and controls
46 lines (35 loc) · 1.09 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
37
38
39
40
41
42
43
44
45
46
[package]
name = "capnpc"
version = "0.14.7"
authors = [ "David Renshaw <dwrenshaw@gmail.com>" ]
license = "MIT"
description = "Cap'n Proto code generation"
repository = "https://github.com/capnproto/capnproto-rust"
documentation = "http://docs.capnproto-rust.org/capnpc"
edition = "2018"
readme = "README.md"
keywords = ["encoding", "protocol", "serialization"]
[features]
build-capnp = []
[lib]
name = "capnpc"
path = "src/lib.rs"
[[bin]]
name = "capnpc-rust"
path = "src/capnpc-rust.rs"
[dependencies.capnp]
version = "0.14.0"
path = "../capnp"
# Don't include "std" feature, so that dependent crates can include a build-time
# capnpc dependency still use capnp with no-std.
#
# This might not be necessary in the future, if cargo supports separate feature sets for
# build and main dependencies: https://github.com/rust-lang/cargo/issues/7915
#
# Doing this forces capnpc to define its own mapping from std::io::Read to capnp::io::Read.
# Fortunately, this is pretty easy, and is just an internal implementation detail.
default-features=false
features=[]
[build-dependencies]
cmake = "0.1"
which = "4.2"