Skip to content

Conversation

@jakobdalsgaard
Copy link

The naming might be off here -- didn't really know a better feature name.

I'm using Maud for esp no_std development, and the esp-alloc crate I use there, does not have sync::Arc -- so I made a feature in Maud called 'alloc' (perhaps it should be called 'esp-alloc'?) that when enabled, will have Maud skip support for sync::Arc. Works great so far :-)

@sorcix
Copy link

sorcix commented Aug 4, 2025

Shouldn't it work in the other way? A feature named alloc usually enables features that require allocation. If this feature is enabled by default, one could disable alloc by setting default-features = false.

Having an alloc feature that disables what it's named after sounds very confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants