arceos-org / arceos

An experimental modular OS written in Rust.
https://arceos.org/arceos/
Apache License 2.0
503 stars 254 forks source link

Request to Publish `axalloc` Crate on crates.io #156

Closed memN0ps closed 3 months ago

memN0ps commented 3 months ago

Hi Arceos,

Cool projects.

Could I please request that you put the axalloc crate on crates.io if possible?

Currently, I have to use it like this:

## Custom Allocator Dependencies
spinlock = { git = "https://github.com/arceos-org/arceos" }
memory_addr = { git = "https://github.com/arceos-org/arceos" }
allocator = { git = "https://github.com/arceos-org/arceos" , features = ["bitmap", "slab"] }
axerrno = { git = "https://github.com/arceos-org/arceos" }

Then add lib.rs and page.rs from axalloc.

Regards,

equation314 commented 3 months ago

Hi memN0ps, thanks for your interest in ArceOS.

Currently, axalloc has many ArceOS-specified dependencies and is not ready to be published to crates.io.

You can use the following lines to import axalloc as a dependency (as said in README.md):

[dependencies]
axalloc = { git = "https://github.com/arceos-org/arceos.git" }
memN0ps commented 3 months ago

Thank you for letting me know! I look forward to seeing axalloc; in the meantime, I'll use the above.