mirror of
https://github.com/roapi/roapi.git
synced 2026-06-05 21:04:02 +08:00
bump snmalloc to 0.3 (#332)
This commit is contained in:
parent
1938fe6c2b
commit
a46351c4d4
28
Cargo.lock
generated
28
Cargo.lock
generated
@ -1619,6 +1619,7 @@ dependencies = [
|
||||
"deltalake-aws",
|
||||
"deltalake-azure",
|
||||
"deltalake-core",
|
||||
"deltalake-gcp",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -1727,6 +1728,25 @@ dependencies = [
|
||||
"z85",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "deltalake-gcp"
|
||||
version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3304193fcfbb1ea97aac22cdad6de0097d00ff20b2d65c3c32b518b56d00aae4"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"bytes",
|
||||
"deltalake-core",
|
||||
"futures",
|
||||
"lazy_static",
|
||||
"object_store",
|
||||
"regex",
|
||||
"thiserror",
|
||||
"tokio",
|
||||
"tracing",
|
||||
"url",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "deranged"
|
||||
version = "0.3.11"
|
||||
@ -4681,18 +4701,18 @@ checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b"
|
||||
|
||||
[[package]]
|
||||
name = "snmalloc-rs"
|
||||
version = "0.2.28"
|
||||
version = "0.3.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "36acaace2719c972eab3ef6a6b3aee4495f0bf300f59715bb9cff6c5acf4ae20"
|
||||
checksum = "dc157dd2183548a4b4b0b428d59efbb527b19360a678b632842fe3fcfb2c30f9"
|
||||
dependencies = [
|
||||
"snmalloc-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "snmalloc-sys"
|
||||
version = "0.2.28"
|
||||
version = "0.3.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "35a7e6e7d5fe756bee058ddedefc7e0a9f9c8dbaa9401b48ed3c17d6578e40b5"
|
||||
checksum = "0761b83013b42a16bab6c3bd5a68e80b1a54f7af9e68e40f00e017489821e8fa"
|
||||
dependencies = [
|
||||
"cmake",
|
||||
]
|
||||
|
||||
@ -14,7 +14,7 @@ path = "src/main.rs"
|
||||
[dependencies]
|
||||
columnq = { path = "../columnq", version = "0", default-features = false }
|
||||
# for datafusion optimization
|
||||
snmalloc-rs = { version = "0.2", optional = true }
|
||||
snmalloc-rs = { version = "0.3", optional = true }
|
||||
|
||||
serde_json = "*"
|
||||
log = "0"
|
||||
|
||||
@ -17,7 +17,7 @@ path = "src/main.rs"
|
||||
[dependencies]
|
||||
columnq = { path = "../columnq", version = "0", default-features = false }
|
||||
# for datafusion optimization
|
||||
snmalloc-rs = { version = "0.2", optional = true }
|
||||
snmalloc-rs = { version = "0.3", optional = true }
|
||||
|
||||
# dependencies related to axum
|
||||
tokio = { version = "1", features = ["rt-multi-thread"] }
|
||||
|
||||
@ -4,7 +4,7 @@ use roapi::config::get_configuration;
|
||||
use roapi::startup::Application;
|
||||
use snafu::{whatever, Whatever};
|
||||
|
||||
#[cfg(snmalloc)]
|
||||
#[cfg(feature = "snmalloc")]
|
||||
#[global_allocator]
|
||||
static ALLOC: snmalloc_rs::SnMalloc = snmalloc_rs::SnMalloc;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user