RocksDB: adds a feature for dynamic linking directly in the oxigraph crates

pull/630/head
Tpt 1 year ago committed by Thomas Tanon
parent be074000cc
commit 87d2006b6e
  1. 4
      .github/workflows/tests.yml
  2. 3
      cli/Cargo.toml
  3. 1
      lib/Cargo.toml
  4. 1
      python/Cargo.toml

@ -46,8 +46,6 @@ jobs:
working-directory: ./lib/sparopt
- run: cargo clippy -- -D warnings -D clippy::all
working-directory: ./lib
- run: cargo clippy --all-targets --all-features -- -D warnings -D clippy::all
working-directory: ./lib
- run: cargo clippy -- -D warnings -D clippy::all
working-directory: ./python
- run: cargo clippy -- -D warnings -D clippy::all
@ -193,7 +191,7 @@ jobs:
submodules: true
- run: rustup update && rustup default 1.70.0
- uses: Swatinem/rust-cache@v2
- run: cargo doc --all-features
- run: cargo doc
working-directory: ./lib
env:
RUSTDOCFLAGS: -D warnings

@ -18,6 +18,9 @@ rust-version.workspace = true
name = "oxigraph"
path = "src/main.rs"
[features]
rocksdb-pkg-config = ["oxigraph/rocksdb-pkg-config"]
[dependencies]
anyhow = "1.0.72"
oxhttp = { version = "0.1.7", features = ["rayon"] }

@ -19,6 +19,7 @@ rust-version.workspace = true
default = []
js = ["getrandom/js", "oxsdatatypes/js", "js-sys"]
http_client = ["oxhttp", "oxhttp/rustls"]
rocksdb-pkg-config = ["oxrocksdb-sys/pkg-config"]
rocksdb_debug = []
[dependencies]

@ -19,6 +19,7 @@ doctest = false
[features]
abi3 = ["pyo3/abi3-py38"]
rocksdb-pkg-config = ["oxigraph/rocksdb-pkg-config"]
[dependencies]
oxigraph = { version = "0.4.0-alpha.1-dev", path="../lib", features = ["http_client"] }

Loading…
Cancel
Save