-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
32 lines (27 loc) · 1.2 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
[package]
name = "backdrop"
version = "0.1.11"
edition = "2021"
license = "MIT"
authors = [ "Qqwy / Marten"]
description = "Drop your large or complex objects in the background with Backdrop! (later, on another thread, or both! Fully customizable! Tokio supported!)"
categories = ["memory-management", "no-std", "no-std::no-alloc", "asynchronous", "data-structures"]
keywords = ["alloc", "no_std", "drop", "tokio"]
readme = "README.md"
repository = "https://github.com/qqwy/rust-backdrop"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bytecheck = { version = "0.7.0", optional = true, default-features = false }
lazy_static = { version = "1.4.0", optional = true }
rkyv = { version = "0.7.40", optional = true, default-features = false }
tokio = { version = "1.25.0", features = ["sync", "rt", "full"], optional = true}
[features]
std = ["lazy_static", "alloc"]
alloc = []
default = ["std"]
doc = ["std", "tokio", "rkyv/size_32", "bytecheck"] # <- Not for end users; Only used to enable nightly-only feature doc_auto_cfg when building documentation
[package.metadata.docs.rs]
features = ["doc"]
[[example]]
name = "comparison"
required-features = ["tokio"]