Skip to content

Commit 249b6a5

Browse files
gdk4-macos: Export v4.8 feature and fixup readme
1 parent b2d8c9f commit 249b6a5

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

gdk4-macos/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ rust-version.workspace = true
1414
version.workspace = true
1515

1616
[features]
17+
v4_8 = ["gdk4-macos-sys/v4_8"]
1718

1819
[dependencies]
1920
gdk4-macos-sys.workspace = true

gdk4-macos/README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# Rust GDK 4 X11 bindings
1+
# Rust GDK 4 Macos bindings
22

33
The project website is [here](https://gtk-rs.org/).
44

5-
Rust bindings of [GDK 4's X11 backend](https://docs.gtk.org/gdk4-x11/),
5+
Rust bindings of GDK 4's Macos backend,
66
part of [gtk4-rs](https://github.com/gtk-rs/gtk4-rs/).
77

88
GDK is an intermediate layer that isolates GTK from the details of the windowing system.
9-
GDK X11 contains functions specific to the X11 backend.
9+
GDK Macos contains functions specific to the Macos backend.
1010

1111
## Minimum supported Rust version
1212

1313
Currently, the minimum supported Rust version is `1.80`.
1414

1515
## Documentation
1616

17-
- The Rust API [Stable](https://gtk-rs.org/gtk4-rs/stable/latest/docs/gdk4_x11)/[Development](https://gtk-rs.org/gtk4-rs/git/docs/gdk4_x11/)
18-
- [The C API](https://docs.gtk.org/gdk4-x11/)
17+
- The Rust API [Stable](https://gtk-rs.org/gtk4-rs/stable/latest/docs/gdk4_macos)/[Development](https://gtk-rs.org/gtk4-rs/git/docs/gdk4_macos/)
18+
- [The C API](https://docs.gtk.org/gdk4-macos/)
1919
- [GTK Installation instructions](https://www.gtk.org/docs/installations/)
2020

2121
## Using
@@ -35,19 +35,15 @@ Avoid mixing versioned and git crates like this:
3535
```toml
3636
# This will not compile
3737
[dependencies]
38-
gdk-x11 = {version = "0.1", package = "gdk4-x11"}
38+
gdk-macos = {version = "0.1", package = "gdk4-macos"}
3939
gdk-wayland = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gdk4-wayland" }
4040
```
4141

4242
### Features
4343

4444
| Feature | Description |
4545
| --- | ----------- |
46-
| `v4_16` | Enable the new APIs part of GTK 4.16 |
47-
| `v4_10` | Enable the new APIs part of GTK 4.10 |
48-
| `v4_4` | Enable the new APIs part of GTK 4.4 |
49-
| `egl` | Integration with the [khronos-egl](https://crates.io/crates/khronos-egl) crate |
50-
| `xlib` | Integration with the [x11](https://crates.io/crates/x11) crate |
46+
| `v4_8` | Enable the new APIs part of GTK 4.8 |
5147

5248
### See Also
5349

@@ -59,4 +55,4 @@ gdk-wayland = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gdk4-w
5955

6056
## License
6157

62-
The Rust bindings of __gdk4-x11__ are available under the MIT License, please refer to it.
58+
The Rust bindings of __gdk4-macos__ are available under the MIT License, please refer to it.

0 commit comments

Comments
 (0)