Closed peanutbother closed 1 year ago
This PR adds the param visibility to the macro enum_number_declare which matches the visibility of the generated enum code.
visibility
enum_number_declare
This could introduce breaking changes in user code as the generated enum no longer defaults to pub visibility.
pub
This is a great addition, thanks!
Published as 4.2.0: https://crates.io/crates/serde-aux/4.2.0
This PR adds the param
visibility
to the macroenum_number_declare
which matches the visibility of the generated enum code.This could introduce breaking changes in user code as the generated enum no longer defaults to
pub
visibility.