From a29aee4fe05d11839157b80fa81bbb995ce3edbb Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Champin Date: Tue, 14 Nov 2023 18:46:15 +0100 Subject: [PATCH] fix feature dependencies --- sophia/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sophia/Cargo.toml b/sophia/Cargo.toml index 70fae75f..7c3ccb2a 100644 --- a/sophia/Cargo.toml +++ b/sophia/Cargo.toml @@ -16,9 +16,9 @@ all-features = true [features] default = [] # This feature enables the JSON-LD parser and serializer -jsonld = ["sophia_jsonld", "sophia_resource/jsonld"] +jsonld = ["dep:sophia_jsonld", "sophia_resource/jsonld"] # This feature enables the RDF/XML parser and serializer -xml = ["sophia_xml", "sophia_resource/xml"] +xml = ["dep:sophia_xml", "sophia_resource/xml"] # This feature enables to use the graph and dataset test macros in other crates test_macro = ["sophia_api/test_macro"] # This feature enables the file: URL support in dependencies @@ -40,4 +40,4 @@ sophia_term.workspace = true sophia_xml = { workspace = true, optional = true } [dev-dependencies] -url.workspace = true \ No newline at end of file +url.workspace = true