Skip to content

Commit

Permalink
content: Add notes on no_std compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Oct 4, 2024
1 parent bd1ca4c commit ab1f022
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions all-is-cubes-content/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ hashbrown = { workspace = true }
itertools = { workspace = true }
log = { workspace = true }
macro_rules_attribute = { workspace = true }
noise = { workspace = true }
noise = { workspace = true } # TODO: not no_std compatible (fixable)
paste = { workspace = true }
petgraph = { workspace = true }
petgraph = { workspace = true } # TODO: not no_std compatible (might become so someday)
rand = { workspace = true }
rand_xoshiro = { workspace = true }
strum = { workspace = true, features = ["derive"] }
Expand Down
4 changes: 4 additions & 0 deletions all-is-cubes-content/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
//! provide [`UniverseTemplate`]; other items should be assumed not particularly
//! stable.

// This crate is *almost* `no_std` compatible; critically, some dependencies are not.
// See comments in `Cargo.toml` for details.
// For now, the code is just in a state of “reveal how close it is”, hence using `core` and
// `alloc` imports only.
#![no_std]
//
// Crate-specific lint settings. (General settings can be found in the workspace manifest.)
Expand Down

0 comments on commit ab1f022

Please sign in to comment.