Cargo Features

Sophia has no features set by default.

[dependencies]
sophia = { version = "0.8.0", features = ["jsonld", "xml", "test_macro", "file_url", "http_client"] }
jsonld

This feature enables the JSON-LD parser and serializer

Enables sophia_jsonld, jsonld of sophia_resource

xml

This feature enables the RDF/XML parser and serializer

Enables sophia_xml, xml of sophia_resource

test_macro

This feature enables to use the graph and dataset test macros in other crates

Enables test_macro of sophia_api

file_url

This feature enables the file: URL support in dependencies

Enables file_url of sophia_jsonld and sophia_resource

http_client

This feature enables the HTTP client in dependencies

Enables http_client of sophia_jsonld and sophia_resource