-
Notifications
You must be signed in to change notification settings - Fork 427
Expand file tree
/
Copy pathCargo.toml
More file actions
27 lines (25 loc) · 895 Bytes
/
Cargo.toml
File metadata and controls
27 lines (25 loc) · 895 Bytes
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
[package]
name = "axalloc"
version.workspace = true
edition.workspace = true
authors = ["Yuekai Jia <equation618@gmail.com>"]
description = "ArceOS global memory allocator"
license.workspace = true
homepage.workspace = true
repository = "https://github.com/arceos-org/arceos/tree/main/modules/axalloc"
documentation = "https://arceos-org.github.io/arceos/axalloc/index.html"
[features]
default = ["tlsf", "allocator/page-alloc-256m"]
tlsf = ["allocator/tlsf"]
slab = ["allocator/slab"]
buddy = ["allocator/buddy"]
page-alloc-64g = ["allocator/page-alloc-64g"] # Support up to 64G memory capacity
page-alloc-4g = ["allocator/page-alloc-4g"] # Support up to 4G memory capacity
buddy-page = []
[dependencies]
log = "=0.4.21"
cfg-if = "1.0"
kspin = "0.1"
memory_addr = "0.3"
axerrno = "0.1"
allocator = { git = "https://github.com/arceos-org/allocator.git", tag ="v0.1.1", features = ["bitmap"] }