Server: uses a thread pool

pull/190/head
Tpt 3 years ago
parent d7adae5fa9
commit d248ee6183
  1. 35
      Cargo.lock
  2. 2
      server/Cargo.toml

35
Cargo.lock generated

@ -177,9 +177,9 @@ dependencies = [
[[package]]
name = "clap"
version = "3.0.10"
version = "3.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a30c3bf9ff12dfe5dae53f0a96e0febcd18420d1c0e7fad77796d9d5c4b5375"
checksum = "2afefa54b5c7dd40918dc1e09f213a171ab5937aadccab45e804780b238f9f43"
dependencies = [
"atty",
"bitflags",
@ -194,9 +194,9 @@ dependencies = [
[[package]]
name = "clap_derive"
version = "3.0.6"
version = "3.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "517358c28fcef6607bf6f76108e02afad7e82297d132a6b846dcc1fc3efcd153"
checksum = "0fd2078197a22f338bd4fbf7d6387eb6f0d6a3c69e6cbc09f5c93e97321fd92a"
dependencies = [
"heck",
"proc-macro-error",
@ -750,11 +750,13 @@ dependencies = [
[[package]]
name = "oxhttp"
version = "0.1.3"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a383bc499356ce6bc89ea95695c08f68e6c8602923fab7862ffcec94f8ef5502"
checksum = "8e7d1bff4527164f59666f20158a4a828c18de4c6eaa9e7e6a1784b863fbe94f"
dependencies = [
"httparse",
"num_cpus",
"rayon-core",
"rustls",
"rustls-native-certs",
"url",
@ -809,7 +811,7 @@ dependencies = [
name = "oxigraph_server"
version = "0.3.0-dev"
dependencies = [
"clap 3.0.10",
"clap 3.0.12",
"oxhttp",
"oxigraph",
"oxiri",
@ -823,7 +825,7 @@ name = "oxigraph_testsuite"
version = "0.3.0-dev"
dependencies = [
"anyhow",
"clap 3.0.10",
"clap 3.0.12",
"criterion",
"oxigraph",
"text-diff",
@ -1070,7 +1072,6 @@ dependencies = [
name = "pyoxigraph"
version = "0.3.0-dev"
dependencies = [
"oxhttp",
"oxigraph",
"pyo3",
]
@ -1366,9 +1367,9 @@ checksum = "568a8e6258aa33c13358f81fd834adb854c6f7c9468520910a9b1e8fac068012"
[[package]]
name = "serde"
version = "1.0.134"
version = "1.0.135"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96b3c34c1690edf8174f5b289a336ab03f568a4460d8c6df75f2f3a692b3bc6a"
checksum = "2cf9235533494ea2ddcdb794665461814781c53f19d87b76e571a1c35acbad2b"
[[package]]
name = "serde_cbor"
@ -1382,9 +1383,9 @@ dependencies = [
[[package]]
name = "serde_derive"
version = "1.0.134"
version = "1.0.135"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "784ed1fbfa13fe191077537b0d70ec8ad1e903cfe04831da608aa36457cb653d"
checksum = "8dcde03d87d4c973c04be249e7d8f0b35db1c848c487bd43032808e59dd8328d"
dependencies = [
"proc-macro2",
"quote",
@ -1393,9 +1394,9 @@ dependencies = [
[[package]]
name = "serde_json"
version = "1.0.76"
version = "1.0.78"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "edde269018d33d7146dd074e5f7da6fef9b0a957507454c867caa0852c560a9a"
checksum = "d23c1ba4cf0efd44be32017709280b32d1cea5c3f1275c3b6d9e8bc54f758085"
dependencies = [
"itoa 1.0.1",
"ryu",
@ -1815,9 +1816,9 @@ dependencies = [
[[package]]
name = "which"
version = "4.2.2"
version = "4.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea187a8ef279bc014ec368c27a920da2024d2a711109bfbe3440585d5cf27ad9"
checksum = "2a5a7e487e921cf220206864a94a89b6c6905bfc19f1057fa26a4cb360e5c1d2"
dependencies = [
"either",
"lazy_static",

@ -12,7 +12,7 @@ Oxigraph SPARQL HTTP server
edition = "2021"
[dependencies]
oxhttp = "0.1"
oxhttp = { version = "0.1", features = ["rayon"] }
clap = { version = "3", features = ["derive"] }
oxigraph = { version = "0.3.0-dev", path = "../lib", features = ["http_client"] }
sparesults = { version = "0.1.0-dev", path="../lib/sparesults", features = ["rdf-star"] }

Loading…
Cancel
Save