aboutsummaryrefslogblamecommitdiff
path: root/Cargo.toml
blob: 1a6e5ea4d42dbc3f94ea51df8cede880a7e39799 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

               
                 
                                          
                






                                                          
 

               
 

            

                                                      
 
              
                  
                      
                                                                                                                                                 
                                                                                       
                      
 
                                                                                  
                  
             
 
                          
 
             
                
                     
                  
             
                                          
              
 
                                                                    
                                                                            
 
                                                     
                                                            
 
                  
                  

                                                         
 

                                     
[package]
name = "netapp"
version = "0.5.2"
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"]
telemetry = ["opentelemetry", "opentelemetry-contrib"]

[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.7", default-features = false, features = ["compat", "io"] }
tokio-stream = "0.1.7"

serde = { version = "1.0", default-features = false, features = ["derive", "rc"] }
rmp-serde = "0.15"
hex = "0.4.2"

rand = { version = "0.8" }

log = "0.4.8"
arc-swap = "1.1"
async-trait = "0.1.7"
err-derive = "0.3"
bytes = "1.2"
lru = { version = "0.7", optional = true }
cfg-if = "1.0"

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

opentelemetry = { version = "0.17", optional = true }
opentelemetry-contrib = { version = "0.9", optional = true }

[dev-dependencies]
env_logger = "0.9"
structopt = { version = "0.3", default-features = false }
chrono = "0.4"

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