# 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 = "yosemite" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Asynchronous SAMv3 library" readme = "README.md" license = "MIT" repository = "https://github.com/altonen/yosemite" [lib] name = "yosemite" path = "src/lib.rs" [[example]] name = "anonymous" path = "examples/anonymous.rs" [[example]] name = "client_server" path = "examples/client_server.rs" [[example]] name = "eepget" path = "examples/eepget.rs" [[example]] name = "forwarded" path = "examples/forwarded.rs" [[example]] name = "generate_destination" path = "examples/generate_destination.rs" [[example]] name = "host_lookup" path = "examples/host_lookup.rs" [[example]] name = "repliable" path = "examples/repliable.rs" [dependencies.futures] version = "0.3.30" optional = true [dependencies.nom] version = "7.1.3" [dependencies.rand] version = "0.8.5" [dependencies.thiserror] version = "1.0.64" [dependencies.tokio] version = "1.40.0" features = [ "net", "rt-multi-thread", "io-util", ] optional = true [dependencies.tokio-util] version = "0.7.7" features = [ "compat", "io", "codec", ] optional = true [dependencies.tracing] version = "0.1.40" features = ["log"] [dev-dependencies.tokio] version = "1.40.0" features = [ "net", "macros", "rt-multi-thread", "time", ] [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] async = [ "dep:futures", "dep:tokio", "dep:tokio-util", ] default = ["async"] sync = []