From a64cf8d278f9b62df554cd87d4e149b1d477dfe6 Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Wed, 6 Dec 2023 19:49:48 +0100 Subject: [PATCH] improve deps --- lib/Cargo.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 85a5c61..2c69ec8 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -22,16 +22,14 @@ base64 = "0.21" rsa = { version = "0.9", default-features = false, features = ["pem", "sha2"] } openssl-probe = "0.1" sophia = { version = "0.8.0-alpha.3", git = "https://github.com/pchampin/sophia_rs.git", rev = "ec13628", features = ["jsonld"] } -# sophia = { version = "0.8.0-alpha.2", features = ["jsonld", "xml"] } regex = "1.10" reqwest = { version = "0.11", features = ["rustls-tls"], default-features = false } serde = { version = "1.0", features = ["derive"] } serde_yaml = "0.9" -chrono = "0.4" -futures = "0.3" -# rand = { version = "0.8", features = ["std_rng"], default-features = false } +chrono = "0.4.31" getrandom = { version = "0.2", features = ["js"] } rand_core = { version = "0.6", features = ["std"] } +# rand = { version = "0.8", features = ["std_rng"], default-features = false } # log = { version = "0.0.2", features = ["std"] } [dev-dependencies] @@ -41,3 +39,4 @@ tokio = "1.34" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] futures = "0.3" +# The JSON-LD parser uses futures::block_on which creates conflict when running in tokio runtime