diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d570e796..c06b05d2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 486a46bf..ef9f42de 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -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"] } diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 0ed6e9a9..f05e8a56 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -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] diff --git a/python/Cargo.toml b/python/Cargo.toml index a8f610e1..ce5df20a 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -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"] }