# 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 = "online" version = "4.0.2" authors = ["Jesús Rubio "] include = [ "src/**/*", "Cargo.toml", ] description = "📶 Library to check your Internet connectivity" documentation = "https://docs.rs/online" readme = "README.md" keywords = [ "connection", "up", "tcp", "tokio", "async", ] categories = [ "network-programming", "development-tools", "asynchronous", "concurrency", ] license = "MIT" repository = "https://github.com/jesusprubio/online.git" [[example]] name = "tokio" path = "examples/tokio.rs" required-features = ["tokio-runtime"] [[test]] name = "tokio" path = "tests/tokio.rs" required-features = ["tokio-runtime"] [dependencies.tokio] version = "1" features = [ "net", "time", "rt-multi-thread", "macros", ] optional = true default-features = false [dev-dependencies.pretty_assertions] version = "1.4.0" [features] default = ["sync-runtime"] sync-runtime = [] tokio-runtime = ["tokio"]