-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (46 loc) · 1.32 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
[package]
name = "pixelflut"
version = "0.2.1-alpha.0"
authors = ["Raphael Peters <[email protected]>"]
license = "MIT"
readme = "README.md"
edition = "2018"
description = """
An async/sync Pixelflut server/client library
"""
homepage = "https://github.com/rappet/rust-pixelflut"
repository = "https://github.com/rappet/rust-pixelflut"
keywords = ["pixelflut"]
[features]
all = ["tokio-rt", "sync"]
default = ["tokio-rt", "sync"]
sync = ["bufstream"]
tokio-rt = ["tokio"]
[[example]]
name = "sync_client"
required-features = ["sync", "anyhow", "clap"]
[[example]]
name = "sync_image"
required-features = ["sync", "anyhow", "image", "clap"]
[[example]]
name = "sync_server"
required-features = ["sync", "anyhow", "clap"]
[[example]]
name = "async_server"
required-features = ["tokio-rt", "anyhow", "clap"]
[[example]]
name = "async_client"
required-features = ["tokio-rt", "anyhow", "clap"]
[dependencies]
bufstream = { version = "0.1.4", optional = true }
bstr = "0.2.16"
bytes = "1.0"
tokio = { version = "1", features = ["full"], optional = true }
image = { version = "0.23", optional = true }
memchr = "2.4"
anyhow = { version = "1.0", optional = true }
lazy_static = "1.4.0"
clap = { version = "3.0.0-beta.2", features = ["derive"], optional = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]