func (r *Registry) DisableFeatures(features ...string) {
	r.mu.Lock()
	defer r.mu.Unlock()
	for _, feature := range features {
		r.features[feature] = false
	}
}
DisableFeatures disables the given features.
package experimental
import (
	"context"
	"sync"
)
type Registry struct {
	mu       sync.RWMutex
	features map[string]bool
}
func NewRegistry(enabledFeatures ...string) *Registry {
	r := &Registry{
		features: make(map[string]bool),
	}
	for _, enabledFeature := range enabledFeatures {
		r.features[enabledFeature] = true
	}
	return r
}
func (r *Registry) EnableFeatures(features ...string) {
	r.mu.Lock()
	defer r.mu.Unlock()
	for _, feature := range features {
		r.features[feature] = true
	}
}