Просмотр исходного кода

Merge pull request #647 from nkconnor/patch-1

Add serde feature hint
Valentin Gosu 5 лет назад
Родитель
Сommit
98a9c07a94
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      url/src/lib.rs

+ 3 - 0
url/src/lib.rs

@@ -73,6 +73,9 @@ assert!(data_url.fragment() == Some(""));
 # run().unwrap();
 ```
 
+## Serde
+
+Enable the `serde` feature to include `Deserialize` and `Serialize` implementations for `url::Url`.
 
 # Base URL