diff options
| author | Fuwn <[email protected]> | 2023-04-18 21:29:47 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-18 21:29:47 +0000 |
| commit | 49cd06600431bc314e9c1cebfc73ecfbe5d9f894 (patch) | |
| tree | 214acfd8abe32069f6af5001f54bf8c6fa4dab24 /Cargo.toml | |
| parent | feat: improve macro hygiene (diff) | |
| download | windmark-49cd06600431bc314e9c1cebfc73ecfbe5d9f894.tar.xz windmark-49cd06600431bc314e9c1cebfc73ecfbe5d9f894.zip | |
feat: async-std support !!
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -18,15 +18,19 @@ categories = ["web-programming"] logger = ["pretty_env_logger"] auto-deduce-mime = ["tree_magic"] response-macros = [] +tokio = ["dep:tokio", "tokio-openssl"] +async-std = ["dep:async-std", "async-std-openssl"] [dependencies] # SSL openssl = "0.10.38" -tokio-openssl = "0.6.3" +tokio-openssl = { version = "0.6.3", optional = true } +async-std-openssl = { version = "0.6.3", optional = true } # Non-blocking I/O -tokio = { version = "1.26.0", features = ["full"] } +tokio = { version = "1.26.0", features = ["full"], optional = true } async-trait = "0.1.68" +async-std = { version = "1.12.0", features = ["attributes"], optional = true } # Logging pretty_env_logger = { version = "0.4.0", optional = true } |