forked from capnproto/capnproto-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (30 loc) · 1 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
[package]
name = "capnpc"
version = "0.16.2"
authors = [ "David Renshaw <dwrenshaw@gmail.com>" ]
license = "MIT"
description = "Cap'n Proto code generation"
repository = "https://github.com/capnproto/capnproto-rust"
documentation = "https://docs.rs/capnpc/"
edition = "2021"
readme = "README.md"
keywords = ["encoding", "protocol", "serialization"]
[lib]
name = "capnpc"
path = "src/lib.rs"
[[bin]]
name = "capnpc-rust"
path = "src/capnpc-rust.rs"
[dependencies.capnp]
version = "0.16.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=[]