netapp/Cargo.toml

57 lines
1.6 KiB
TOML
Raw Normal View History

2020-12-02 12:30:47 +00:00
[package]
name = "netapp"
2022-05-09 10:01:02 +00:00
version = "0.4.4"
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"
pin-project = "1.0.10"
tokio = { version = "1.0", default-features = false, features = ["net", "rt", "rt-multi-thread", "sync", "time", "macros", "io-util", "signal"] }
tokio-util = { version = "0.6.8", default-features = false, features = ["compat"] }
tokio-stream = "0.1.7"
2020-12-02 15:37:36 +00:00
serde = { version = "1.0", default-features = false, features = ["derive", "rc"] }
2020-12-02 15:37:36 +00:00
rmp-serde = "0.14.3"
2020-12-02 12:30:47 +00:00
hex = "0.4.2"
2020-12-02 15:37:36 +00:00
rand = { version = "0.5.5", 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"
err-derive = "0.2.3"
2022-07-21 16:15:07 +00:00
bytes = "1.2"
lru = { version = "0.6", 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]
2021-10-14 09:48:14 +00:00
env_logger = "0.8"
pretty_env_logger = "0.4"
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