1- # Rust GDK 4 X11 bindings
1+ # Rust GDK 4 Macos bindings
22
33The 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,
66part of [ gtk4-rs] ( https://github.com/gtk-rs/gtk4-rs/ ) .
77
88GDK 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
1313Currently, 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 " }
3939gdk-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