Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 47cd1bc

Browse files
Jaakkonensdroege
authored andcommitted
Fix gdkwayland pkg name in README.md snippets
The folder name is `gdkwayland` so the `Cargo.toml` snippets should have `gdkwayland = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "gdkwayland" }` instead of `gdk-wayland = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "gdk-wayland" }`. Maybe a comment noting that the package hasn't been released yet and can only be used by the git style should be added too?
1 parent e33ad9e commit 47cd1bc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gdkwayland/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Currently, the minimum supported Rust version is `1.56.0`.
1313

1414
## Documentation
1515

16-
* [Rust API - Stable](https://gtk-rs.org/gtk3-rs/stable/latest/docs/gdk-wayland/)
17-
* [Rust API - Development](https://gtk-rs.org/gtk3-rs/git/docs/gdk-wayland)
16+
* [Rust API - Stable](https://gtk-rs.org/gtk3-rs/stable/latest/docs/gdkwayland/)
17+
* [Rust API - Development](https://gtk-rs.org/gtk3-rs/git/docs/gdkwayland)
1818
* [C API](https://developer.gnome.org/gdk3/stable/)
1919
* [GTK Installation instructions](https://www.gtk.org/docs/installations/)
2020

@@ -27,16 +27,16 @@ If you want to track the bleeding edge, use the git dependency instead:
2727

2828
```toml
2929
[dependencies]
30-
gdk-wayland = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "gdk-wayland" }
30+
gdkwayland = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "gdkwayland" }
3131
```
3232

3333
Avoid mixing versioned and git crates like this:
3434

3535
```toml
3636
# This will not compile
3737
[dependencies]
38-
gdk-wayland = "0.15"
39-
gdk-wayland = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "gdk-wayland" }
38+
gdkwayland = "0.15"
39+
gdkwayland = { git = "https://github.com/gtk-rs/gtk3-rs.git", package = "gdkwayland" }
4040
```
4141

4242
### See Also

0 commit comments

Comments
 (0)