bobcat-features

Crates.iobobcat-features
lib.rsbobcat-features
version0.7.19
created_at2025-12-29 16:05:02.104725+00
updated_at2026-01-23 10:08:51.725802+00
descriptionbobcat-sdk utilities for feature flagged release on Arbitrum Stylus.
homepagehttps://bobcat.so
repositoryhttps://github.com/stylus-developers-guild/bobcat-sdk
max_upload_size
id2010807
size39,700
Bayge (af-afk)

documentation

README

bobcat-features

bobcat-features can be used for feature-driven development using a macro with bobcat-storage:

bobcat_features!(internal_balances);

Would create a macro that accesses the storage slot for the feature "bobcat.features.internal_balances" after taking -1 so as to take it off the curve, so uint256(abi.encodePacked("bobcat.features.internal_balances")) - 1. If true is set, to the feature flag, then the code associated executes.

IF_FEATURE_INTERNAL_BALANCES!({
    // This happens if the flag is turned on:
} else {
    // This happens if the flag is turned off:
});
Commit count: 389

cargo fmt