mirror of
https://github.com/bdwgc/bdwgc-rust.git
synced 2026-09-25 03:33:41 -06:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44da5f7014 | ||
|
|
d39ef670dc |
@@ -0,0 +1,26 @@
|
|||||||
|
name: document
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
|
||||||
|
- uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
|
||||||
|
- run: cargo doc --no-deps
|
||||||
|
- run: rm target/doc/.lock
|
||||||
|
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
|
||||||
|
with:
|
||||||
|
path: target/doc
|
||||||
|
- uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
@@ -3,6 +3,7 @@ name = "bdwgc-alloc"
|
|||||||
version = "0.6.14"
|
version = "0.6.14"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
description = "impl GlobalAlloc for bdwgc"
|
description = "impl GlobalAlloc for bdwgc"
|
||||||
|
documentation = "https://bdwgc.github.io/bdwgc-rust/bdwgc_alloc/"
|
||||||
repository = "https://github.com/raviqqe/bdwgc-alloc"
|
repository = "https://github.com/raviqqe/bdwgc-alloc"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
categories = ["api-bindings", "memory-management", "no-std", "no-std::no-alloc"]
|
categories = ["api-bindings", "memory-management", "no-std", "no-std::no-alloc"]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[](https://github.com/bdwgc/bdwgc-rust/actions)
|
[](https://github.com/bdwgc/bdwgc-rust/actions)
|
||||||
[](https://crates.io/crates/bdwgc-alloc)
|
[](https://crates.io/crates/bdwgc-alloc)
|
||||||
[](LICENSE)
|
[](https://github.com/bdwgc/bdwgc-rust/blob/main/LICENSE)
|
||||||
|
|
||||||
[`GlobalAlloc`](https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html) implementation for [`bdwgc`][bdwgc], the conservative garbage collector.
|
[`GlobalAlloc`](https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html) implementation for [`bdwgc`][bdwgc], the conservative garbage collector.
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@ This crate is for use cases in which developers need to integrate [`bdwgc`][bdwg
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
See [`examples`](examples) directory.
|
See [`examples`](https://github.com/bdwgc/bdwgc-rust/tree/main/examples) directory.
|
||||||
|
|
||||||
By default [`bdwgc`][bdwgc] is built with autotools. To build with cmake, enable the `cmake` feature:
|
By default [`bdwgc`][bdwgc] is built with autotools. To build with cmake, enable the `cmake` feature:
|
||||||
|
|
||||||
@@ -20,6 +20,6 @@ cargo build --no-default-features --features cmake
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
[MIT](LICENSE)
|
[MIT](https://github.com/bdwgc/bdwgc-rust/blob/main/LICENSE)
|
||||||
|
|
||||||
[bdwgc]: https://github.com/bdwgc/bdwgc
|
[bdwgc]: https://github.com/bdwgc/bdwgc
|
||||||
|
|||||||
Reference in New Issue
Block a user