From 08f7702a0622c6d07213e93f14e4477f347a4de1 Mon Sep 17 00:00:00 2001 From: Michael Leonhard Date: Mon, 21 Oct 2024 23:09:07 -0700 Subject: [PATCH] Update some deps. Relax dep versions. --- Cargo.toml | 24 ++++---- Readme.md | 164 +++++++++++++++++++++++++---------------------------- 2 files changed, 89 insertions(+), 99 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8edf618..f8564a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,26 +15,26 @@ json = ["serde", "serde_json"] urlencoded = ["serde", "serde_urlencoded"] [dependencies] -async-fs = "^1.5.0" -async-net = "^1.6" +async-fs = "2" +async-net = "2" fixed-buffer = { version = "1", features = ["futures-io"] } -futures-io = "^0.3.21" -futures-lite = "^1.12.0" +futures-io = "0.3" +futures-lite = "2" include_dir = { version = "0.7", optional = true } #libflate = "1" once_cell = "1" -permit = "^0.2.1" -rand = { version = "^0.8.5", features = ["small_rng"] } -safe-regex = "^0.3.0" -safina-executor = { version = "^0.3.3" } -safina-sync = { version = "^0.2.4" } -safina-timer = { version = "^0.1.11" } +permit = "^0.2" +rand = { version = "0.8", features = ["small_rng"] } +safe-regex = "0.3" +safina-executor = { version = "0.3" } +safina-sync = { version = "0.2" } +safina-timer = { version = "0.1" } serde = { version = "1", optional = true, features = ["derive"] } # TODO: Prevent these deps from appearing as features. serde_json = { version = "1", optional = true } serde_urlencoded = { version = "0.7", optional = true } -temp-dir = "^0.1.11" -temp-file = "^0.1.7" +temp-dir = "0.1" +temp-file = "0.1" url = "2" [dev-dependencies] diff --git a/Readme.md b/Readme.md index 9ace871..99cec3a 100644 --- a/Readme.md +++ b/Readme.md @@ -106,101 +106,91 @@ Symbols: Functions Expressions Impls Traits Methods Dependency 0/0 0/0 0/0 0/0 0/0 🔒 servlin 0.5.0 -0/0 4/4 0/0 0/0 2/2 ☢️ ├── async-fs 1.6.0 -4/4 230/230 40/40 0/0 12/12 ☢️ │ ├── async-lock 2.8.0 -0/0 106/116 4/8 0/0 0/0 ☢️ │ │ └── event-listener 2.5.3 -0/0 0/0 0/0 0/0 0/0 🔒 │ ├── blocking 1.5.1 -0/0 0/0 0/0 0/0 0/0 🔒 │ │ ├── async-channel 2.1.1 -0/0 168/168 2/2 0/0 1/1 ☢️ │ │ │ ├── concurrent-queue 2.4.0 -4/4 12/73 4/16 0/0 0/3 ☢️ │ │ │ │ └── crossbeam-utils 0.8.17 -0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ │ └── cfg-if 1.0.0 -0/0 2/2 0/0 0/0 0/0 ☢️ │ │ │ ├── event-listener-strategy 0.4.0 -0/0 57/85 6/12 0/0 0/0 ☢️ │ │ │ │ ├── event-listener 4.0.0 -0/0 168/168 2/2 0/0 1/1 ☢️ │ │ │ │ │ ├── concurrent-queue 2.4.0 -0/0 0/0 0/0 0/0 0/0 🔒 │ │ │ │ │ ├── parking 2.2.0 -0/0 11/191 0/0 0/0 2/2 ☢️ │ │ │ │ │ └── pin-project-lite 0.2.13 -0/0 11/191 0/0 0/0 2/2 ☢️ │ │ │ │ └── pin-project-lite 0.2.13 -0/0 57/85 6/12 0/0 0/0 ☢️ │ │ │ ├── event-listener 4.0.0 -0/0 36/36 2/2 0/0 0/0 ☢️ │ │ │ ├── futures-core 0.3.29 -0/0 11/191 0/0 0/0 2/2 ☢️ │ │ │ └── pin-project-lite 0.2.13 -4/4 227/227 40/40 0/0 13/13 ☢️ │ │ ├── async-lock 3.2.0 -0/0 2/2 0/0 0/0 0/0 ☢️ │ │ │ ├── event-listener-strategy 0.4.0 -0/0 57/85 6/12 0/0 0/0 ☢️ │ │ │ ├── event-listener 4.0.0 -0/0 11/191 0/0 0/0 2/2 ☢️ │ │ │ └── pin-project-lite 0.2.13 -1/1 858/864 4/4 0/0 12/12 ☢️ │ │ ├── async-task 4.5.0 -0/0 0/0 0/0 0/0 0/0 🔒 │ │ ├── fastrand 2.0.1 -0/0 0/0 0/0 0/0 0/0 ❓ │ │ ├── futures-io 0.3.29 -0/0 0/0 0/0 0/0 0/0 ❓ │ │ ├── futures-lite 2.1.0 -0/0 0/0 0/0 0/0 0/0 🔒 │ │ │ ├── fastrand 2.0.1 -0/0 36/36 2/2 0/0 0/0 ☢️ │ │ │ ├── futures-core 0.3.29 -0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ ├── futures-io 0.3.29 -27/41 1979/2427 2/2 0/0 109/147 ☢️ │ │ │ ├── memchr 2.6.4 -2/2 18/20 1/1 0/0 0/0 ☢️ │ │ │ │ └── log 0.4.20 -0/0 0/0 0/0 0/0 0/0 🔒 │ │ │ ├── parking 2.2.0 -0/0 11/191 0/0 0/0 2/2 ☢️ │ │ │ └── pin-project-lite 0.2.13 -0/0 28/28 2/2 0/0 0/0 ☢️ │ │ ├── piper 0.2.1 +0/0 0/0 0/0 0/0 0/0 🔒 ├── async-fs 2.1.2 +4/4 222/222 40/40 0/0 13/13 ☢️ │ ├── async-lock 3.4.0 +0/0 2/2 0/0 0/0 0/0 ☢️ │ │ ├── event-listener-strategy 0.5.2 +0/0 39/49 8/12 0/0 2/2 ☢️ │ │ │ ├── event-listener 5.3.1 +0/0 183/183 2/2 0/0 1/1 ☢️ │ │ │ │ ├── concurrent-queue 2.5.0 +4/4 12/75 4/16 0/0 0/3 ☢️ │ │ │ │ │ └── crossbeam-utils 0.8.20 +0/0 0/0 0/0 0/0 0/0 🔒 │ │ │ │ ├── parking 2.2.1 +0/0 11/191 0/0 0/0 2/2 ☢️ │ │ │ │ └── pin-project-lite 0.2.14 +0/0 11/191 0/0 0/0 2/2 ☢️ │ │ │ └── pin-project-lite 0.2.14 +0/0 39/49 8/12 0/0 2/2 ☢️ │ │ ├── event-listener 5.3.1 +0/0 11/191 0/0 0/0 2/2 ☢️ │ │ └── pin-project-lite 0.2.14 +0/0 0/0 0/0 0/0 0/0 🔒 │ ├── blocking 1.6.1 +0/0 0/0 0/0 0/0 0/0 🔒 │ │ ├── async-channel 2.3.1 +0/0 183/183 2/2 0/0 1/1 ☢️ │ │ │ ├── concurrent-queue 2.5.0 +0/0 2/2 0/0 0/0 0/0 ☢️ │ │ │ ├── event-listener-strategy 0.5.2 +0/0 36/36 2/2 0/0 0/0 ☢️ │ │ │ ├── futures-core 0.3.31 +0/0 11/191 0/0 0/0 2/2 ☢️ │ │ │ └── pin-project-lite 0.2.14 +1/1 860/866 4/4 0/0 13/13 ☢️ │ │ ├── async-task 4.7.1 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ ├── futures-io 0.3.31 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ ├── futures-lite 2.3.0 +0/0 0/0 0/0 0/0 0/0 🔒 │ │ │ ├── fastrand 2.1.1 +0/0 36/36 2/2 0/0 0/0 ☢️ │ │ │ ├── futures-core 0.3.31 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ ├── futures-io 0.3.31 +0/0 0/0 0/0 0/0 0/0 🔒 │ │ │ ├── parking 2.2.1 +0/0 11/191 0/0 0/0 2/2 ☢️ │ │ │ └── pin-project-lite 0.2.14 +0/0 28/28 2/2 0/0 0/0 ☢️ │ │ ├── piper 0.2.4 0/0 32/32 2/2 0/0 0/0 ☢️ │ │ │ ├── atomic-waker 1.1.2 -0/0 0/0 0/0 0/0 0/0 🔒 │ │ │ ├── fastrand 2.0.1 -0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ └── futures-io 0.3.29 +0/0 0/0 0/0 0/0 0/0 🔒 │ │ │ ├── fastrand 2.1.1 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ └── futures-io 0.3.31 0/0 14/14 1/1 0/0 0/0 ☢️ │ │ └── tracing 0.1.40 -2/2 18/20 1/1 0/0 0/0 ☢️ │ │ ├── log 0.4.20 -0/0 11/191 0/0 0/0 2/2 ☢️ │ │ ├── pin-project-lite 0.2.13 +0/0 11/191 0/0 0/0 2/2 ☢️ │ │ ├── pin-project-lite 0.2.14 0/0 96/96 5/5 0/0 2/2 ☢️ │ │ └── tracing-core 0.1.32 -0/0 74/117 5/9 0/0 2/4 ☢️ │ │ └── once_cell 1.19.0 -0/0 0/0 0/0 0/0 0/0 ❓ │ └── futures-lite 1.13.0 -0/0 0/0 0/0 0/0 0/0 🔒 │ ├── fastrand 1.9.0 -0/0 36/36 2/2 0/0 0/0 ☢️ │ ├── futures-core 0.3.29 -0/0 0/0 0/0 0/0 0/0 ❓ │ ├── futures-io 0.3.29 -27/41 1979/2427 2/2 0/0 109/147 ☢️ │ ├── memchr 2.6.4 -0/0 0/0 0/0 0/0 0/0 🔒 │ ├── parking 2.2.0 -0/0 11/191 0/0 0/0 2/2 ☢️ │ ├── pin-project-lite 0.2.13 -0/0 0/0 0/0 0/0 0/0 🔒 │ └── waker-fn 1.1.1 -0/0 0/0 0/0 0/0 0/0 🔒 ├── async-net 1.8.0 -0/0 2/4 0/0 0/0 0/0 ☢️ │ ├── async-io 1.13.0 -4/4 230/230 40/40 0/0 12/12 ☢️ │ │ ├── async-lock 2.8.0 +0/0 74/117 5/9 0/0 2/4 ☢️ │ │ └── once_cell 1.20.2 +0/0 0/0 0/0 0/0 0/0 ❓ │ └── futures-lite 2.3.0 +0/0 0/0 0/0 0/0 0/0 🔒 ├── async-net 2.0.0 +0/0 68/114 19/22 1/1 4/8 ☢️ │ ├── async-io 2.3.4 +4/4 222/222 40/40 0/0 13/13 ☢️ │ │ ├── async-lock 3.4.0 0/0 0/0 0/0 0/0 0/0 ❓ │ │ ├── cfg-if 1.0.0 -0/0 168/168 2/2 0/0 1/1 ☢️ │ │ ├── concurrent-queue 2.4.0 -0/0 0/0 0/0 0/0 0/0 ❓ │ │ ├── futures-lite 1.13.0 -2/2 18/20 1/1 0/0 0/0 ☢️ │ │ ├── log 0.4.20 -0/0 0/0 0/0 0/0 0/0 🔒 │ │ ├── parking 2.2.0 -0/1 11/249 5/16 1/4 0/5 ☢️ │ │ ├── polling 2.8.0 +0/0 183/183 2/2 0/0 1/1 ☢️ │ │ ├── concurrent-queue 2.5.0 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ ├── futures-io 0.3.31 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ ├── futures-lite 2.3.0 +0/0 0/0 0/0 0/0 0/0 🔒 │ │ ├── parking 2.2.1 +0/2 34/420 5/20 1/4 5/14 ☢️ │ │ ├── polling 3.7.3 0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ ├── cfg-if 1.0.0 -1/90 10/582 0/2 0/0 5/63 ☢️ │ │ │ ├── libc 0.2.151 -2/2 18/20 1/1 0/0 0/0 ☢️ │ │ │ └── log 0.4.20 -44/371 1839/6485 1/2 0/0 6/22 ☢️ │ │ ├── rustix 0.37.27 -0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ ├── bitflags 1.3.2 -0/0 35/103 0/0 0/0 0/0 ☢️ │ │ │ ├── errno 0.3.8 -1/90 10/582 0/2 0/0 5/63 ☢️ │ │ │ │ └── libc 0.2.151 -0/0 24/662 27/36 2/2 6/14 ☢️ │ │ │ ├── io-lifetimes 1.0.11 -1/90 10/582 0/2 0/0 5/63 ☢️ │ │ │ │ ├── libc 0.2.151 -3/6 539/671 2/4 0/0 3/4 ☢️ │ │ │ │ └── socket2 0.4.10 -1/90 10/582 0/2 0/0 5/63 ☢️ │ │ │ │ └── libc 0.2.151 -1/90 10/582 0/2 0/0 5/63 ☢️ │ │ │ └── libc 0.2.151 +53/389 2527/7252 6/8 1/1 20/35 ☢️ │ │ │ ├── rustix 0.38.37 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ │ ├── bitflags 2.6.0 +0/0 35/103 0/0 0/0 0/0 ☢️ │ │ │ │ ├── errno 0.3.9 +1/90 10/596 0/2 0/0 5/69 ☢️ │ │ │ │ │ └── libc 0.2.161 +1/90 10/596 0/2 0/0 5/69 ☢️ │ │ │ │ └── libc 0.2.161 +0/0 14/14 1/1 0/0 0/0 ☢️ │ │ │ └── tracing 0.1.40 +53/389 2527/7252 6/8 1/1 20/35 ☢️ │ │ ├── rustix 0.38.37 0/0 23/23 0/0 0/0 3/3 ☢️ │ │ ├── slab 0.4.9 -3/6 539/671 2/4 0/0 3/4 ☢️ │ │ ├── socket2 0.4.10 -0/0 0/0 0/0 0/0 0/0 🔒 │ │ └── waker-fn 1.1.1 -0/0 0/0 0/0 0/0 0/0 🔒 │ ├── blocking 1.5.1 -0/0 0/0 0/0 0/0 0/0 ❓ │ └── futures-lite 1.13.0 +0/0 14/14 1/1 0/0 0/0 ☢️ │ │ └── tracing 0.1.40 +0/0 0/0 0/0 0/0 0/0 🔒 │ ├── blocking 1.6.1 +0/0 0/0 0/0 0/0 0/0 ❓ │ └── futures-lite 2.3.0 0/0 0/0 0/0 0/0 0/0 🔒 ├── fixed-buffer 1.0.0 -0/0 0/0 0/0 0/0 0/0 ❓ │ └── futures-io 0.3.29 -0/0 0/0 0/0 0/0 0/0 ❓ ├── futures-io 0.3.29 -0/0 0/0 0/0 0/0 0/0 ❓ ├── futures-lite 1.13.0 -0/0 74/117 5/9 0/0 2/4 ☢️ ├── once_cell 1.19.0 +0/0 0/0 0/0 0/0 0/0 ❓ │ └── futures-io 0.3.31 +0/0 0/0 0/0 0/0 0/0 ❓ ├── futures-io 0.3.31 +0/0 0/0 0/0 0/0 0/0 ❓ ├── futures-lite 2.3.0 +0/0 74/117 5/9 0/0 2/4 ☢️ ├── once_cell 1.20.2 0/0 0/0 0/0 0/0 0/0 🔒 ├── permit 0.2.1 0/0 32/32 0/0 0/0 0/0 ☢️ ├── rand 0.8.5 -1/90 10/582 0/2 0/0 5/63 ☢️ │ ├── libc 0.2.151 -2/2 18/20 1/1 0/0 0/0 ☢️ │ ├── log 0.4.20 +1/90 10/596 0/2 0/0 5/69 ☢️ │ ├── libc 0.2.161 0/0 0/0 0/0 0/0 0/0 ❓ │ ├── rand_chacha 0.3.1 -2/2 634/706 0/0 0/0 17/25 ☢️ │ │ ├── ppv-lite86 0.2.17 +2/2 632/680 0/0 0/0 17/25 ☢️ │ │ ├── ppv-lite86 0.2.20 +2/2 116/116 7/7 8/8 8/8 ☢️ │ │ │ └── zerocopy 0.7.35 +0/1 162/179 0/0 0/0 0/0 ☢️ │ │ │ ├── byteorder 1.5.0 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ └── zerocopy-derive 0.7.35 +0/0 15/15 0/0 0/0 3/3 ☢️ │ │ │ ├── proc-macro2 1.0.88 +0/0 4/4 0/0 0/0 0/0 ☢️ │ │ │ │ └── unicode-ident 1.0.13 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ ├── quote 1.0.37 +0/0 15/15 0/0 0/0 3/3 ☢️ │ │ │ │ └── proc-macro2 1.0.88 +0/0 88/88 3/3 0/0 2/2 ☢️ │ │ │ └── syn 2.0.82 +0/0 15/15 0/0 0/0 3/3 ☢️ │ │ │ ├── proc-macro2 1.0.88 +0/0 0/0 0/0 0/0 0/0 ❓ │ │ │ ├── quote 1.0.37 +0/0 4/4 0/0 0/0 0/0 ☢️ │ │ │ └── unicode-ident 1.0.13 0/0 2/2 0/0 0/0 0/0 ☢️ │ │ └── rand_core 0.6.4 -3/7 68/229 1/1 0/0 3/3 ☢️ │ │ └── getrandom 0.2.11 +3/6 51/192 0/1 0/0 1/3 ☢️ │ │ └── getrandom 0.2.15 0/0 0/0 0/0 0/0 0/0 ❓ │ │ ├── cfg-if 1.0.0 -1/90 10/582 0/2 0/0 5/63 ☢️ │ │ └── libc 0.2.151 +1/90 10/596 0/2 0/0 5/69 ☢️ │ │ └── libc 0.2.161 0/0 2/2 0/0 0/0 0/0 ☢️ │ └── rand_core 0.6.4 0/0 0/0 0/0 0/0 0/0 🔒 ├── safe-regex 0.3.0 0/0 0/0 0/0 0/0 0/0 🔒 │ └── safe-regex-macro 0.3.0 0/0 0/0 0/0 0/0 0/0 🔒 │ ├── safe-proc-macro2 1.0.67 -0/0 4/4 0/0 0/0 0/0 ☢️ │ │ └── unicode-ident 1.0.12 +0/0 4/4 0/0 0/0 0/0 ☢️ │ │ └── unicode-ident 1.0.13 0/0 0/0 0/0 0/0 0/0 🔒 │ └── safe-regex-compiler 0.3.0 0/0 0/0 0/0 0/0 0/0 🔒 │ ├── safe-proc-macro2 1.0.67 0/0 0/0 0/0 0/0 0/0 🔒 │ └── safe-quote 1.0.15 @@ -210,20 +200,20 @@ Functions Expressions Impls Traits Methods Dependency 0/0 0/0 0/0 0/0 0/0 🔒 │ └── safina-threadpool 0.2.4 0/0 0/0 0/0 0/0 0/0 🔒 ├── safina-sync 0.2.4 0/0 0/0 0/0 0/0 0/0 🔒 ├── safina-timer 0.1.11 -0/0 74/117 5/9 0/0 2/4 ☢️ │ └── once_cell 1.19.0 -0/0 0/0 0/0 0/0 0/0 🔒 ├── temp-dir 0.1.11 -0/0 0/0 0/0 0/0 0/0 🔒 ├── temp-file 0.1.7 -0/0 0/0 0/0 0/0 0/0 ❓ └── url 2.5.0 +0/0 74/117 5/9 0/0 2/4 ☢️ │ └── once_cell 1.20.2 +0/0 0/0 0/0 0/0 0/0 🔒 ├── temp-dir 0.1.14 +0/0 0/0 0/0 0/0 0/0 🔒 ├── temp-file 0.1.9 +0/0 0/0 0/0 0/0 0/0 ❓ └── url 2.5.2 0/0 2/2 0/0 0/0 0/0 ☢️ ├── form_urlencoded 1.2.1 0/0 8/8 0/0 0/0 0/0 ☢️ │ └── percent-encoding 2.3.1 0/0 0/0 0/0 0/0 0/0 ❓ ├── idna 0.5.0 -0/0 5/5 0/0 0/0 0/0 ☢️ │ ├── unicode-bidi 0.3.14 -0/0 20/20 0/0 0/0 0/0 ☢️ │ └── unicode-normalization 0.1.22 -0/0 0/0 0/0 0/0 0/0 🔒 │ └── tinyvec 1.6.0 +0/0 5/5 0/0 0/0 0/0 ☢️ │ ├── unicode-bidi 0.3.17 +1/1 24/24 0/0 0/0 0/0 ☢️ │ └── unicode-normalization 0.1.24 +0/0 0/0 0/0 0/0 0/0 🔒 │ └── tinyvec 1.8.0 0/0 0/0 0/0 0/0 0/0 🔒 │ └── tinyvec_macros 0.1.1 0/0 8/8 0/0 0/0 0/0 ☢️ └── percent-encoding 2.3.1 -95/533 7210/14517 156/207 3/6 198/337 +71/502 5447/11766 115/158 11/14 103/210 ``` # Alternatives