pub async fn toggle_package( __arg0: State<AppState>, __arg1: Path<String>, __arg2: Json<Value>, ) -> Result<Json<Value>, (StatusCode, Json<Value>)>
POST /api/packages/{name}/toggle — enable/disable a package