lance icon indicating copy to clipboard operation
lance copied to clipboard

Make an internal API warning macro

Open chebbyChefNEQ opened this issue 10 months ago • 1 comments

We often expose internal APIs. These APIs are pub but really shouldn't be used as we will not garueentee the stability.

Maybe we could use depercated mechanism to generate a warning when someone touches these APIs.

Maybe there is a better way, this ticket is to track and solve this problem.

chebbyChefNEQ avatar May 02 '24 17:05 chebbyChefNEQ

potentially interesting solution: https://github.com/rust-lang/api-guidelines/discussions/95 (via feature flag)

chebbyChefNEQ avatar May 02 '24 17:05 chebbyChefNEQ