From: Ian Jackson Date: Thu, 17 Aug 2023 15:18:24 +0000 (+0100) Subject: W X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=110144622dab084975c8f92d2d1b64f65f601f28;p=rust-experiments.git W --- diff --git a/Cargo.lock b/Cargo.lock index 23b3165..b495f57 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,11 +14,33 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" +[[package]] +name = "dumpster" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4081876a3a37b862402a80758787b5d505548b3f6c619f1c162fb63beb19c9d0" +dependencies = [ + "dumpster_derive", + "once_cell", +] + +[[package]] +name = "dumpster_derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b07d33f43bac481daf9bd8f3dc9b4db7f323894e8571ccd17621351b010373df" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "foo" version = "0.1.0" dependencies = [ "downcast-rs", + "dumpster", "futures", ] @@ -117,6 +139,12 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +[[package]] +name = "once_cell" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" + [[package]] name = "pin-project-lite" version = "0.2.10" diff --git a/Cargo.toml b/Cargo.toml index d4b15f4..00c5180 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,7 @@ edition = "2021" [dependencies] downcast-rs = "1" +dumpster = "0.1.1" futures = "0.3.28" #tokio = { version = "1", features = ["full"] } #serde-value = "0.7"