netapp/Cargo.toml

56 lines
1.6 KiB
TOML
Raw Normal View History

2020-12-02 12:30:47 +00:00
[package]
name = "netapp"
2023-03-13 18:21:21 +00:00
version = "0.6.1"
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"]
telemetry = ["opentelemetry", "opentelemetry-contrib"]
2020-12-02 12:30:47 +00:00
[dependencies]
futures = "0.3.17"
pin-project = "1.0.12"
tokio = { version = "1.0", default-features = false, features = ["net", "rt", "rt-multi-thread", "sync", "time", "macros", "io-util", "signal"] }
tokio-util = { version = "0.7", default-features = false, features = ["compat", "io"] }
tokio-stream = "0.1.7"
2020-12-02 15:37:36 +00:00
serde = { version = "1.0", default-features = false, features = ["derive", "rc"] }
2022-09-02 12:00:52 +00:00
rmp-serde = "0.15"
hex = "0.4.3"
2020-12-02 15:37:36 +00:00
rand = { version = "0.8" }
2020-12-02 15:37:36 +00:00
2020-12-02 12:30:47 +00:00
log = "0.4.8"
arc-swap = "1.6"
async-trait = "0.1.64"
2022-09-02 12:00:52 +00:00
err-derive = "0.3"
bytes = "1.3"
2023-03-13 18:17:02 +00:00
lru = { version = "0.10", 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
opentelemetry = { version = "0.18", optional = true }
opentelemetry-contrib = { version = "0.10", 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