-
Notifications
You must be signed in to change notification settings - Fork 252
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (36 loc) · 1.26 KB
/
Cargo.toml
File metadata and controls
49 lines (36 loc) · 1.26 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
47
48
49
[package]
name = "capnp"
version = "0.25.2"
authors = [ "David Renshaw <dwrenshaw@gmail.com>" ]
license = "MIT"
description = "runtime library for Cap'n Proto data encoding"
repository = "https://github.com/capnproto/capnproto-rust"
documentation = "https://docs.rs/capnp/"
edition = "2021"
rust-version.workspace = true
readme = "README.md"
keywords = ["encoding", "protocol", "serialization"]
[dependencies]
quickcheck = { version = "1", optional = true }
embedded-io = { version = "0.7.1", default-features = false, optional = true }
[dev-dependencies]
quickcheck = "=1.0"
[features]
alloc = ["embedded-io?/alloc"]
default = ["std", "alloc"]
rpc_try = []
# If enabled, relaxes alignment requirements on segments.
# This has a performance cost on some targets (e.g. ARMv6).
unaligned = []
# If disabled, turns on no_std, which tells rustc to not link
# with the Rust standard library.
std = ["embedded-io?/std"]
# If enabled, ReadLimiter will use `AtomicUsize` instead of `Cell<usize>`, allowing
# message readers to be `Sync`. Note that AtomicUsize is not supported by all
# rustc targets.
sync_reader = []
#[lints]
#workspace = true
[lints.clippy]
type_complexity = "allow" # this should be removed in future
missing_safety_doc = "allow" # this should be removed in future