diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-08 14:49:25 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-08 14:51:04 +0800 |
| commit | d895af6e53eb4a18554b3174f819eb771e81ca05 (patch) | |
| tree | 9a642621477e1520e8b8a37959c0e0f79acb4223 /CHANGELOG.md | |
| parent | 2d1157ae0fc1c2bc3ad6ec20e64e2f8e8757524b (diff) | |
Expose compile-time feature flags as public constants
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 583766d..51ca3c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,15 @@ fn proc(prev: HelloEntry) -> ChainProcess<ThisProgram> { 3. **\[mingling\]** Added the `dispatch_tree` feature. When enabled, it will automatically generate a prefix tree, improving the command lookup efficiency from O(n) to O(len) +4. **\[mingling\]** Added `mingling::feature` module for runtime feature detection. You can now check which features are enabled at compile time: + +```rust +// Example: Check if a feature is enabled +if mingling::feature::MINGLING_ASYNC { + // async feature is enabled +} +``` + #### **BREAKING CHANGES**: None |
