| 1 | Description: add feature fences for tests |
| 2 | Author: Jonas Smedegaard <[email protected]> |
| 3 | Last-Update: 2026-02-17 |
| 4 | --- |
| 5 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 6 | --- a/Cargo.toml |
| 7 | +++ b/Cargo.toml |
| 8 | @@ -34,3 +34,11 @@ |
| 9 | log = "0.4" |
| 10 | thiserror = "2" |
| 11 | tokio = { version = "1", default-features = false, features = ["io-util"], optional = true } |
| 12 | + |
| 13 | +[[example]] |
| 14 | +name = "std-https-v1_0-rustls" |
| 15 | +required-features = ["std"] |
| 16 | + |
| 17 | +[[example]] |
| 18 | +name = "tokio-tcp-repl" |
| 19 | +required-features = ["tokio"] |