You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**std:** Functionalities that require `std`. This feature is enabled by default, set `no-default-features` to `true` if you want `no-std`.
25
+
26
+
**serde:** Allow `Url` to work with `serde`. This feature is disabled by default. Enabling this feature without `std` would provide you only `Serialize`. Enabling this feature and `std` would provide you both `Serialize` and `Deserialize`.
27
+
28
+
**libcpp:** Build `ada-url` with `libc++`. This feature is disabled by default. Enabling this feature without `libc++` installed would cause compile error.
29
+
22
30
### Performance
23
31
24
32
Ada is fast. The benchmark below shows **3.34 times** faster URL parsing compared to `url`
|**[`Deref<Target=str>`](https://doc.rust-lang.org/std/ops/trait.Deref.html)**| Allows for `&Url` to dereference as a `&str`. Also provides a [number of string methods](https://doc.rust-lang.org/std/string/struct.String.html#deref-methods-str)|
49
57
|**[`AsRef<[u8]>`](https://doc.rust-lang.org/std/convert/trait.AsRef.html), [`AsRef<str>`](https://doc.rust-lang.org/std/convert/trait.AsRef.html)**| Used to do a cheap reference-to-reference conversion. |
50
58
|**[`Send`](https://doc.rust-lang.org/std/marker/trait.Send.html)**| Used to declare that the type can be transferred across thread boundaries. |
59
+
60
+
### Development
61
+
62
+
#### `test.sh`
63
+
64
+
`test.sh` is a convenient helper script that would allow developer to quickly and comprehensively check, lint, and test their code and documentation.
0 commit comments