blob: e9a6b2b852f2cfd40faf9ea7fd88c53985068fd7 [file] [view]
# `fuchsia-url`
Reviewed on: 2019-07-12
`fuchsia-url` is a library for parsing and constructing fuchsia boot and fuchsia
package URLs. Docs are available
[here](https://fuchsia-docs.firebaseapp.com/rust/fuchsia-url/index.html).
## Building
To add this project to your build, append `--with //src/lib/fuchsia-url`
to the `fx set` invocation.
## Using
`fuchsia-url` can be used by depending on the `//src/lib/fuchsia-url`
GN target and then using the `fuchsia_url` crate in a rust project.
`fuchsia-url` is not available in the SDK.
## Testing
Unit tests for `fuchsia-url` are available in the `fuchsia-url-tests` package.
```
$ fx run-test fuchsia-url-tests
```