$ tikv-jemalloc-ctl
v0.7.0MAJOR UPDATEA safe wrapper over jemalloc's control and introspection APIs
Latest Update Summary
Crate
Name: tikv-jemalloc-ctl New version: 0.6.1 Release date: 2023-07-27T16:23:15Z
Crate readme
Short description This crate implements a structure that can be used as a generic array type.
Long description generic-array defines a new trait ArrayLength and a struct GenericArray<T, N: ArrayLength> to facilitate generic arrays. It supports the use of const generics introduced in Rust 1.51, allowing arrays to be generic with respect to their lengths. The crate also provides interoperability features and various capabilities through feature flags.
Features • serde • zeroize • const-default • alloc • faster-hex • compat-0_14 • hybrid-array-0_4
Code Examples Add to Cargo.toml
[dependencies]
generic-array = "1"
Usage with Abstract Types
struct Foo<N: ArrayLength> {
data: GenericArray<i32, N>
}
Creating a Generic Array
let array = arr![1, 2, 3];
Interop with generic-array 0.14
[dependencies]
generic-array = { version = "1", features = ["compat-0_14"] }
Interop with hybrid-array 0.4
[dependencies]
generic-array = { version = "1", features = ["hybrid-array-0_4"] }
Links • https://crates.io/crates/generic-array • https://fizyk20.github.io/generic-array/generic_array/
https://docs.rs/tikv-jemalloc-ctl https://api.github.com/repos/tikv/jemallocator/releases/113859881
Release info
Release version:
Release description
Code Examples
Minor update: 0.6.1 → 0.7.0
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add tikv-jemalloc-ctlOr add to Cargo.toml: tikv-jemalloc-ctl = "0.7.0"