Compare commits
No commits in common. "jemalloc" and "main" have entirely different histories.
|
@ -240,7 +240,6 @@ dependencies = [
|
||||||
"rayon",
|
"rayon",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_with",
|
"serde_with",
|
||||||
"tikv-jemallocator",
|
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-stream",
|
"tokio-stream",
|
||||||
"tokio-util",
|
"tokio-util",
|
||||||
|
@ -1241,26 +1240,6 @@ dependencies = [
|
||||||
"once_cell",
|
"once_cell",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "tikv-jemalloc-sys"
|
|
||||||
version = "0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "cd3c60906412afa9c2b5b5a48ca6a5abe5736aec9eb48ad05037a677e52e4e2d"
|
|
||||||
dependencies = [
|
|
||||||
"cc",
|
|
||||||
"libc",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "tikv-jemallocator"
|
|
||||||
version = "0.6.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "4cec5ff18518d81584f477e9bfdf957f5bb0979b0bac3af4ca30b5b3ae2d2865"
|
|
||||||
dependencies = [
|
|
||||||
"libc",
|
|
||||||
"tikv-jemalloc-sys",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "time"
|
name = "time"
|
||||||
version = "0.3.37"
|
version = "0.3.37"
|
||||||
|
|
|
@ -3,9 +3,6 @@ name = "breeze"
|
||||||
version = "0.2.8"
|
version = "0.2.8"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[profile.dev.package]
|
|
||||||
tikv-jemalloc-sys = { opt-level = 3 }
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
axum-extra = { version = "0.10.0", default-features = false, features = [
|
axum-extra = { version = "0.10.0", default-features = false, features = [
|
||||||
"tracing",
|
"tracing",
|
||||||
|
@ -32,6 +29,3 @@ dashmap = { version = "6.1.0", features = ["rayon", "inline"] }
|
||||||
rayon = "1.8"
|
rayon = "1.8"
|
||||||
atomic-time = "0.1.4"
|
atomic-time = "0.1.4"
|
||||||
img-parts = "0.3"
|
img-parts = "0.3"
|
||||||
|
|
||||||
[target.'cfg(not(target_env = "msvc"))'.dependencies]
|
|
||||||
tikv-jemallocator = "0.6"
|
|
||||||
|
|
|
@ -18,13 +18,6 @@ mod index;
|
||||||
mod new;
|
mod new;
|
||||||
mod view;
|
mod view;
|
||||||
|
|
||||||
#[cfg(not(target_env = "msvc"))]
|
|
||||||
use tikv_jemallocator::Jemalloc;
|
|
||||||
|
|
||||||
#[cfg(not(target_env = "msvc"))]
|
|
||||||
#[global_allocator]
|
|
||||||
static GLOBAL: Jemalloc = Jemalloc;
|
|
||||||
|
|
||||||
/// breeze file server.
|
/// breeze file server.
|
||||||
#[derive(FromArgs, Debug)]
|
#[derive(FromArgs, Debug)]
|
||||||
struct Args {
|
struct Args {
|
||||||
|
|
Loading…
Reference in New Issue