Uses Rustls everywhere

Avoids linking problems with system libraries.
Rustls uses the system certificates.
pull/174/head
Tpt 3 years ago
parent 8c60844ae2
commit a969563617
  1. 2
      .github/workflows/build.yml
  2. 2
      lib/Cargo.toml
  3. 4
      python/Cargo.toml

@ -94,7 +94,7 @@ jobs:
manylinux: 2014 manylinux: 2014
container: messense/manylinux2014-cross:x86_64 container: messense/manylinux2014-cross:x86_64
command: build command: build
args: -m python/Cargo.toml --cargo-extra-args="--no-default-features --features vendored" args: -m python/Cargo.toml
- run: pip install pyoxigraph --no-index --find-links ../../target/wheels && python -m unittest - run: pip install pyoxigraph --no-index --find-links ../../target/wheels && python -m unittest
working-directory: ./python/tests working-directory: ./python/tests

@ -19,7 +19,7 @@ all-features = true
[features] [features]
default = [] default = []
sophia = ["sophia_api"] sophia = ["sophia_api"]
http_client = ["oxhttp"] http_client = ["oxhttp", "oxhttp/rustls"]
[dependencies] [dependencies]
quick-xml = "0.22" quick-xml = "0.22"

@ -19,7 +19,3 @@ doctest = false
oxigraph = { version = "0.3.0-dev", path="../lib", features = ["http_client"] } oxigraph = { version = "0.3.0-dev", path="../lib", features = ["http_client"] }
pyo3 = { version = "0.15", features = ["extension-module", "abi3-py37"] } pyo3 = { version = "0.15", features = ["extension-module", "abi3-py37"] }
oxhttp = "0.1" oxhttp = "0.1"
[features]
default = ["oxhttp/native-tls"]
vendored = ["oxhttp/rustls"]

Loading…
Cancel
Save