cdk-rs
cdk-rs copied to clipboard
`export_candid` macro does not take features into consideration
When invoking export_candid of v0.11 in a crate with features (https://github.com/internet-computer-protocol/rustic), it exports all functions even when the corresponding feature is not enabled.
For example, when using it without the lifecycle feature flag, the exported candid still contains get_version which is behind a feature flag.
I cannot reproduce this. lifecycle is in the default features, maybe that's why you see it?