Expand description
Macros to ease conditional code based on enabled features.
Macrosยง
- cfg_
any_ ๐os_ ext Theos-ext
feature is enabled, or one of the features that needos-ext
. - cfg_
io_ ๐source One of the features enabled that needsIoSource
. That isnet
oros-ext
on Unix (forpipe
). - cfg_net ๐The
net
feature is enabled. - cfg_
not_ ๐os_ poll Theos-poll
feature is disabled. - cfg_
os_ ๐ext Theos-ext
feature is enabled. - cfg_
os_ ๐poll Theos-poll
feature is enabled. - error ๐
- log ๐
- trace ๐
- warn ๐