From: Ian Jackson Date: Mon, 5 Jun 2023 15:58:45 +0000 (+0100) Subject: W X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=54e909b4ced186ed4e037e656894fde0f2924d84;p=rust-experiments.git W --- diff --git a/Cargo.lock b/Cargo.lock index 0e5399e..01857a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,15 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "downcast-rs" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" + [[package]] name = "foo" version = "0.1.0" +dependencies = [ + "downcast-rs", +] diff --git a/Cargo.toml b/Cargo.toml index 66fa8d0..f90fd2a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +downcast-rs = "1" #tokio = { version = "1", features = ["full"] } #serde-value = "0.7" #serde = { version="1", features=["derive"] }