[package] name = "oxigraph" version.workspace = true authors.workspace = true license.workspace = true readme = "README.md" keywords = ["RDF", "SPARQL", "graph-database", "database"] categories = ["database-implementations"] repository = "https://github.com/oxigraph/oxigraph/tree/main/lib" homepage.workspace = true documentation = "https://docs.rs/oxigraph" description = """ a SPARQL database and RDF toolkit """ edition.workspace = true rust-version.workspace = true [features] default = [] js = ["getrandom/js", "oxsdatatypes/js", "js-sys"] http-client = ["oxhttp"] http-client-native-tls = ["http-client", "oxhttp/native-tls"] http-client-rustls-webpki = ["http-client", "oxhttp/rustls-webpki"] http-client-rustls-native = ["http-client", "oxhttp/rustls-native"] rocksdb-pkg-config = ["oxrocksdb-sys/pkg-config"] rocksdb-debug = [] [dependencies] digest = "0.10" hex = "0.4" json-event-parser = "0.2.0-alpha.2" md-5 = "0.10" oxilangtag = "0.1" oxiri = "0.2.3-alpha.1" oxrdf = { version = "0.2.0-alpha.1", path = "oxrdf", features = ["rdf-star", "oxsdatatypes"] } oxrdfio = { version = "0.1.0-alpha.1", path = "oxrdfio", features = ["rdf-star"] } oxsdatatypes = { version = "0.2.0-alpha.1", path="oxsdatatypes" } rand = "0.8" regex = "1.7" sha1 = "0.10" sha2 = "0.10" siphasher = ">=0.3, <2.0" sparesults = { version = "0.2.0-alpha.1", path = "sparesults", features = ["rdf-star"] } spargebra = { version = "0.3.0-alpha.1", path = "spargebra", features = ["rdf-star", "sep-0002", "sep-0006"] } sparopt = { version = "0.1.0-alpha.1", path="sparopt", features = ["rdf-star", "sep-0002", "sep-0006"] } [target.'cfg(not(target_family = "wasm"))'.dependencies] libc = "0.2.147" oxrocksdb-sys = { version = "0.4.0-alpha.1", path="../oxrocksdb-sys" } oxhttp = { version = "0.2.0-alpha.3", optional = true } [target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies] getrandom = "0.2.8" js-sys = { version = "0.3.60", optional = true } [target.'cfg(not(target_family = "wasm"))'.dev-dependencies] codspeed-criterion-compat = "2.3.3" oxhttp = "0.2.0-alpha.3" zstd = ">=0.12, <0.14" [lints] workspace = true [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [[bench]] name = "store" harness = false