netapp/Cargo.toml

55 lines
1.5 KiB
TOML
Raw Normal View History

2020-12-02 12:30:47 +00:00
[package]
name = "netapp"
2022-09-02 12:21:42 +00:00
version = "0.4.5"
2020-12-12 18:08:57 +00:00
authors = ["Alex Auvolat <alex@adnab.me>"]
2020-12-02 12:30:47 +00:00
edition = "2018"
2020-12-14 10:35:41 +00:00
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"]
2020-12-02 12:30:47 +00:00
2020-12-14 10:35:41 +00:00
[lib]
name = "netapp"
2020-12-02 12:30:47 +00:00
[features]
default = []
basalt = ["lru", "rand"]
2022-02-21 11:17:01 +00:00
telemetry = ["opentelemetry", "opentelemetry-contrib", "rand"]
2020-12-02 12:30:47 +00:00
[dependencies]
futures = "0.3.17"
tokio = { version = "1.0", default-features = false, features = ["net", "rt", "rt-multi-thread", "sync", "time", "macros", "io-util", "signal"] }
2022-09-02 12:00:52 +00:00
tokio-util = { version = "0.7", default-features = false, features = ["compat"] }
tokio-stream = "0.1.7"
2020-12-02 15:37:36 +00:00
2020-12-12 18:08:57 +00:00
serde = { version = "1.0", default-features = false, features = ["derive"] }
2022-09-02 12:00:52 +00:00
rmp-serde = "0.15"
2020-12-02 12:30:47 +00:00
hex = "0.4.2"
2020-12-02 15:37:36 +00:00
2022-09-02 12:00:52 +00:00
rand = { version = "0.8", optional = true }
2020-12-02 15:37:36 +00:00
2020-12-02 12:30:47 +00:00
log = "0.4.8"
2020-12-14 10:36:39 +00:00
arc-swap = "1.1"
2020-12-02 12:30:47 +00:00
async-trait = "0.1.7"
2022-09-02 12:00:52 +00:00
err-derive = "0.3"
bytes = "1.0"
lru = { version = "0.7", optional = true }
2022-02-18 18:01:23 +00:00
cfg-if = "1.0"
2020-12-02 15:37:36 +00:00
2020-12-12 18:08:57 +00:00
sodiumoxide = { version = "0.2.5-0", package = "kuska-sodiumoxide" }
kuska-handshake = { version = "0.2.0", features = ["default", "async_std"] }
2021-10-12 11:07:34 +00:00
2022-02-18 18:01:23 +00:00
opentelemetry = { version = "0.17", optional = true }
opentelemetry-contrib = { version = "0.9", optional = true }
2022-02-18 18:01:23 +00:00
2021-10-12 11:07:34 +00:00
[dev-dependencies]
2022-09-02 12:00:52 +00:00
env_logger = "0.9"
2021-10-12 11:07:34 +00:00
structopt = { version = "0.3", default-features = false }
chrono = "0.4"
2020-12-04 12:58:34 +00:00
[package.metadata.cargo-all-features]
skip_optional_dependencies = true