Skip to content

Commit

Permalink
new define_static_map! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluis committed Feb 24, 2025
1 parent 9dce82a commit 19648f0
Show file tree
Hide file tree
Showing 3 changed files with 537 additions and 4 deletions.
1 change: 1 addition & 0 deletions DOCS/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- `MiniquadPixels`, `MiniquadService`.
- namespaces: `Fmt`, `Fs`, `FsPath`, `Io`, `Iter`, `Log`.
- new macros:
- `define_static_map`.
- `js_reexport`, `maybe!`, `miniquad!`, `strjoin!`, `xorshift_custom!`.
- new modules:
- data: `{codec::{self, radix}, list, key, table, uid, xipher}`.
Expand Down
12 changes: 8 additions & 4 deletions src/data/key/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@
#![doc = crate::doc_!(extends: collections)]
//

// mod map;
// mod set;
// mod trie;

mod reexports;
mod static_map; // define_static_map!

crate::items! { // structural access: _mods, _pub_mods, _all
#[allow(unused)]
Expand All @@ -22,6 +19,10 @@ crate::items! { // structural access: _mods, _pub_mods, _all

mod _mods { #![allow(unused)]
pub use super::reexports::*;
pub use super::static_map::*;
// WIPZONE
// pub use set::*;
// pub use trie::*;
}
mod _pub_mods { #![allow(unused)]
}
Expand All @@ -30,3 +31,6 @@ crate::items! { // structural access: _mods, _pub_mods, _all
pub use super::{_mods::*, _pub_mods::*};
}
}
// WIPZONE
// mod set;
// mod trie;
Loading

0 comments on commit 19648f0

Please sign in to comment.