How to apply to Option<Uri> etc?

I have a struct that contains an Option<http::Uri> which I would like to use with serde. However applying #[serde(with = "http_serde::uri")] fails because it works only with Uri, not Option<Uri>. Is there an easy way to also include Option types?