Fixed broken link in README.md to point to docs. Added code to add libcosmic as dependency for lib.
This commit is contained in:
parent
928b714d14
commit
48f5966eaf
1 changed files with 10 additions and 1 deletions
11
README.md
11
README.md
|
|
@ -44,6 +44,15 @@ default-features = false
|
||||||
features = ["wayland", "tokio"]
|
features = ["wayland", "tokio"]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Alternatively, to create a new package after running `cargo new {{name_of_project}}`,
|
||||||
|
edit the `Cargo.toml` within, and edit the dependencies section to look like this.
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[dependencies]
|
||||||
|
libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false,
|
||||||
|
features = ["wayland", "tokio"] }
|
||||||
|
```
|
||||||
|
|
||||||
### Cargo Features
|
### Cargo Features
|
||||||
|
|
||||||
Available cargo features to choose from:
|
Available cargo features to choose from:
|
||||||
|
|
@ -76,7 +85,7 @@ Available cargo features to choose from:
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Documentation can be found [here](https://pop-os.github.io/docs/).
|
Documentation can be found [here](https://pop-os.github.io/libcosmic/cosmic/).
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue