-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
52 lines (46 loc) · 1.29 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
authors = ["Js2xxx <akucxy@163.com>"]
build = "build.rs"
categories = ["memory-management", "no-std", "concurrency"]
description = "A fast & lock-free memory allocator library"
documentation = "https://docs.rs/ferroc"
edition = "2024"
exclude = ["assets"]
homepage = "https://github.com/Js2xxx/ferroc"
keywords = ["allocator", "no_std", "memory", "heap", "lock-free"]
license = "MIT OR Apache-2.0"
name = "ferroc"
repository = "https://github.com/Js2xxx/ferroc"
version = "1.0.0-pre.4"
[features]
base-mmap = ["dep:memmap2", "dep:libc", "dep:errno"]
base-static = []
c = ["default"]
c-bindgen = ["c", "dep:cbindgen"]
c-override = ["c"]
default = ["global", "base-mmap", "base-static", "libc"]
error-log = ["dep:log"]
finer-grained = []
global = []
libc = ["dep:libc"]
track-valgrind = ["dep:crabgrind"]
[dependencies]
array-macro = "2.1"
crabgrind = {version = "0.1", optional = true}
errno = {version = "0.3", optional = true}
libc = {version = "0.2", optional = true}
log = {version = "0.4", optional = true}
memmap2 = {version = "0.9", optional = true}
[dev-dependencies]
ctor = "0.2"
fastrand = "2.1"
[build-dependencies]
cbindgen = {version = "0.27", optional = true}
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
[workspace]
exclude = ["target"]
members = ["fuzz"]
resolver = "2"