# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "yap2p" version = "0.1.2" description = "Experimental yet another peer-to-peer library" readme = "README.md" keywords = [ "io", "async", "futures", "tokio", ] categories = [ "asynchronous", "network-programming", ] license = "MIT" repository = "https://github.com/Scurrra/ya" resolver = "1" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.aes] version = "0.8.2" [dependencies.bincode] version = "1.3.3" [dependencies.bitflags] version = "2.2.1" features = ["serde"] [dependencies.futures] version = "0.3.28" [dependencies.generic-array] version = "0.14.7" [dependencies.isahc] version = "1.7.2" features = ["http2"] optional = true [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.11.16" features = ["blocking"] optional = true [dependencies.serde] version = "1.0.159" features = [ "derive", "alloc", ] [dependencies.sha2] version = "0.10.6" [dependencies.tokio] version = "1.27.0" [dependencies.ureq] version = "2.6.2" optional = true [features] default = [ "reqwest", "regular_history", ] isahc = ["dep:isahc"] regular_history = [] reqwest = ["dep:reqwest"] sync_safe_history = [] ureq = ["dep:ureq"]