Skip to content

Commit

Permalink
add feature surf in sophia to enable surf_loader in sophia_jsonld
Browse files Browse the repository at this point in the history
more generally, this feature in sophia is aimed to enable all features
depending on `surf`.
For example, I plan to add a SurfLoader to sophia_resource eventually,
which should also be enabled by `sophia/surf`.
  • Loading branch information
pchampin committed Sep 19, 2023
1 parent 863b136 commit 4a9614d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sophia/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jsonld = ["sophia_jsonld"]
xml = ["sophia_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 use of the surf crate in dependencies
surf = ["sophia_jsonld/surf_loader"]

[dependencies]
sophia_iri.workspace = true
Expand Down

0 comments on commit 4a9614d

Please sign in to comment.