enable struct_variant feature