aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 05634b3cf457da49107cf559efef0508b86314e8 (plain) (blame)
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 = "netapp"
version = "0.1.1"
authors = ["Alex Auvolat <alex@adnab.me>"]
edition = "2018"
license-file = "LICENSE"
description = "A toolkit library for distributed software"
homepage = "https://git.deuxfleurs.fr/lx/netapp"
repository = "https://git.deuxfleurs.fr/lx/netapp"
readme = "README.md"
keywords = ["protocol", "rpc", "mesh", "distributed"]
categories = ["asynchronous", "network-programming"]

[lib]
name = "netapp"

[features]
default = []
basalt = ["lru", "rand"]

[dependencies]
async-std = { version = "1.5.0", default-features = false }
tokio = { version = "0.2", default-features = false, features = ["net", "tcp", "rt-core", "rt-threaded", "sync", "time", "macros"] }

serde = { version = "1.0", default-features = false, features = ["derive"] }
rmp-serde = "0.14.3"
hex = "0.4.2"
base64 = "0.12.1"

structopt = { version = "0.3", default-features = false }
rand = { version = "0.5.5", optional = true }
chrono = "0.4"

log = "0.4.8"
env_logger = "0.8"
arc-swap = "1.1"
async-trait = "0.1.7"
err-derive = "0.2.3"
bytes = "0.6.0"
lru = { version = "0.6", optional = true }

sodiumoxide = { version = "0.2.5-0", package = "kuska-sodiumoxide" }
kuska-handshake = { version = "0.1.2", features = ["default", "tokio_compat"] }

[package.metadata.cargo-all-features]
skip_optional_dependencies = true