diff --git a/jsonld/Cargo.toml b/jsonld/Cargo.toml index 925f24e3..d4e4b3a3 100644 --- a/jsonld/Cargo.toml +++ b/jsonld/Cargo.toml @@ -21,7 +21,7 @@ http_client = ["json-ld/reqwest"] [dependencies] iref = "2.2" -json-ld = { version = "0.15.0", git = "https://github.com/pchampin/json-ld", branch="wasm-0.15.0" } +json-ld = { version = "0.15.0", git = "https://github.com/timothee-haudebourg/json-ld", branch="0.15-wasm32" } json-syntax = "0.9" langtag = "0.3.4" locspan = "0.7.12" diff --git a/jsonld/src/loader.rs b/jsonld/src/loader.rs index 27b10bcb..3a4b1c4a 100644 --- a/jsonld/src/loader.rs +++ b/jsonld/src/loader.rs @@ -11,7 +11,7 @@ use json_syntax::Value; use locspan::Location; use sophia_iri::Iri; -pub use json_ld::{BoxFuture, FutureExt}; +pub use json_ld::future::{BoxFuture, FutureExt}; /// A dummy document loader, that does not load anything. pub type NoLoader = diff --git a/jsonld/src/loader/chain_loader.rs b/jsonld/src/loader/chain_loader.rs index 00f1af98..d7d321f4 100644 --- a/jsonld/src/loader/chain_loader.rs +++ b/jsonld/src/loader/chain_loader.rs @@ -1,7 +1,7 @@ use std::fmt::Debug; +use json_ld::future::{BoxFuture, FutureExt}; use json_ld::Loader; -use json_ld::{BoxFuture, FutureExt}; use json_syntax::Value; use locspan::Location; diff --git a/jsonld/src/loader/closure_loader.rs b/jsonld/src/loader/closure_loader.rs index 07affc85..ed06d0d8 100644 --- a/jsonld/src/loader/closure_loader.rs +++ b/jsonld/src/loader/closure_loader.rs @@ -1,5 +1,5 @@ use super::*; -use json_ld::{BoxFuture, FutureExt}; +use json_ld::future::{BoxFuture, FutureExt}; use json_ld::{Loader, RemoteDocument}; use json_syntax::Parse; use locspan::{Location, Meta}; diff --git a/jsonld/src/loader/static_loader.rs b/jsonld/src/loader/static_loader.rs index 2278e63f..d1068202 100644 --- a/jsonld/src/loader/static_loader.rs +++ b/jsonld/src/loader/static_loader.rs @@ -1,6 +1,6 @@ use std::{collections::HashMap, fmt::Debug}; -use json_ld::{BoxFuture, FutureExt}; +use json_ld::future::{BoxFuture, FutureExt}; use json_ld::{Loader, RemoteDocument}; use json_syntax::Value; use locspan::{Location, Meta};