# 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 = "2018" rust-version = "1.63" name = "smol" version = "2.0.2" authors = ["Stjepan Glavina "] build = false exclude = ["/.*"] autobins = false autoexamples = false autotests = false autobenches = false description = "A small and fast async runtime" readme = "README.md" keywords = [ "async", "await", "future", "io", "networking", ] categories = [ "asynchronous", "concurrency", "network-programming", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/smol-rs/smol" [lib] name = "smol" path = "src/lib.rs" [[example]] name = "async-h1-client" path = "examples/async-h1-client.rs" [[example]] name = "async-h1-server" path = "examples/async-h1-server.rs" [[example]] name = "chat-client" path = "examples/chat-client.rs" [[example]] name = "chat-server" path = "examples/chat-server.rs" [[example]] name = "ctrl-c" path = "examples/ctrl-c.rs" [[example]] name = "get-request" path = "examples/get-request.rs" [[example]] name = "hyper-client" path = "examples/hyper-client.rs" [[example]] name = "hyper-server" path = "examples/hyper-server.rs" [[example]] name = "linux-inotify" path = "examples/linux-inotify.rs" [[example]] name = "linux-timerfd" path = "examples/linux-timerfd.rs" [[example]] name = "simple-client" path = "examples/simple-client.rs" [[example]] name = "simple-server" path = "examples/simple-server.rs" [[example]] name = "tcp-client" path = "examples/tcp-client.rs" [[example]] name = "tcp-server" path = "examples/tcp-server.rs" [[example]] name = "tls-client" path = "examples/tls-client.rs" [[example]] name = "tls-server" path = "examples/tls-server.rs" [[example]] name = "unix-signal" path = "examples/unix-signal.rs" [[example]] name = "web-crawler" path = "examples/web-crawler.rs" [[example]] name = "websocket-client" path = "examples/websocket-client.rs" [[example]] name = "websocket-server" path = "examples/websocket-server.rs" [[example]] name = "windows-uds" path = "examples/windows-uds.rs" [dependencies.async-channel] version = "2.0.0" [dependencies.async-executor] version = "1.5.0" [dependencies.async-fs] version = "2.0.0" [dependencies.async-io] version = "2.1.0" [dependencies.async-lock] version = "3.0.0" [dependencies.async-net] version = "2.0.0" [dependencies.blocking] version = "1.3.0" [dependencies.futures-lite] version = "2.0.0" [dev-dependencies.anyhow] version = "1" [dev-dependencies.async-dup] version = "1" [dev-dependencies.async-h1] version = "2" [dev-dependencies.async-native-tls] version = "0.5" [dev-dependencies.async-tungstenite] version = "0.27" features = ["async-native-tls"] [dev-dependencies.ctrlc] version = "3" [dev-dependencies.doc-comment] version = "0.3" [dev-dependencies.futures] version = "0.3" [dev-dependencies.http] version = "1.1" [dev-dependencies.http-body-util] version = "0.1.0" [dev-dependencies.http-types] version = "2" [dev-dependencies.hyper] version = "1.0" features = [ "client", "http1", "server", ] default-features = false [dev-dependencies.macro_rules_attribute] version = "0.2.0" [dev-dependencies.native-tls] version = "0.2" [dev-dependencies.scraper] version = "0.20" [dev-dependencies.signal-hook] version = "0.3" [dev-dependencies.smol-hyper] version = "0.1.0" [dev-dependencies.smol-macros] version = "0.1.0" [dev-dependencies.surf] version = "2" features = ["h1-client"] default-features = false [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1" features = ["rt-multi-thread"] default-features = false [dev-dependencies.url] version = "2" [target.'cfg(not(target_os = "espidf"))'.dependencies.async-process] version = "2.0.0" [target.'cfg(target_os = "linux")'.dev-dependencies.inotify] version = "0.11" default-features = false [target.'cfg(target_os = "linux")'.dev-dependencies.rustix] version = "0.38" [target.'cfg(target_os = "linux")'.dev-dependencies.timerfd] version = "1" [target."cfg(windows)".dev-dependencies.uds_windows] version = "1"