forked from oxigraph/oxigraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (41 loc) · 1.42 KB
/
Cargo.toml
File metadata and controls
48 lines (41 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "pyoxigraph"
version.workspace = true
authors.workspace = true
license.workspace = true
readme = "README.md"
keywords = ["RDF", "SPARQL", "graph-database", "database"]
repository = "https://github.com/oxigraph/oxigraph/tree/main/python"
homepage = "https://pyoxigraph.readthedocs.io/"
description = "Python bindings of Oxigraph, a SPARQL database and RDF toolkit"
edition.workspace = true
rust-version.workspace = true
publish = false
[lib]
crate-type = ["cdylib"]
name = "pyoxigraph"
doctest = false
doc = false
[features]
default = ["geosparql", "rdf-12"]
abi3 = ["pyo3/abi3-py38"]
rocksdb-pkg-config = ["oxigraph/rocksdb-pkg-config"]
geosparql = ["dep:spargeo"]
rdf-12 = ["oxigraph/rdf-12"]
[dependencies]
pyo3 = { workspace = true, features = [
"extension-module",
] } # TODO: remove the feature in a few months
spargeo = { workspace = true, optional = true }
[target.'cfg(any(target_family = "windows", target_os = "macos", target_os = "ios"))'.dependencies]
oxigraph = { workspace = true, default-features = true, features = [
"http-client-native-tls",
] }
[target.'cfg(target_family = "wasm")'.dependencies]
oxigraph = { workspace = true, default-features = true }
[target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios", target_family = "wasm")))'.dependencies]
oxigraph = { workspace = true, default-features = true, features = [
"http-client-rustls-native",
] }
[lints]
workspace = true