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

Commit

Permalink
Activate dox feature wherever possible
Browse files Browse the repository at this point in the history
  • Loading branch information
pentamassiv committed Oct 18, 2022
1 parent 59abc06 commit 1327338
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
6 changes: 2 additions & 4 deletions atk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@ readme = "README.md"
version = "0.16.0"
keywords = ["atk", "gtk-rs", "gnome", "accessibility"]
repository = "https://github.com/gtk-rs/gtk3-rs"
exclude = [
"gir-files/*",
]
exclude = ["gir-files/*"]
edition = "2021"
rust-version = "1.63"

[lib]
name = "atk"

[features]
dox = ["ffi/dox"]
dox = ["ffi/dox", "glib/dox"]
v2_30 = ["ffi/v2_30"]
v2_32 = ["v2_30", "ffi/v2_32"]
v2_34 = ["v2_32", "ffi/v2_34"]
Expand Down
4 changes: 2 additions & 2 deletions gdkwayland/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rust-version = "1.63"
[features]
v3_24 = ["ffi/v3_24", "gdk/v3_24"]
v3_24_22 = ["v3_24", "ffi/v3_24_22"]
dox = ["ffi/dox"]
dox = ["ffi/dox", "gdk/dox", "glib/dox"]

[package.metadata.docs.rs]
features = ["dox"]
Expand All @@ -25,7 +25,7 @@ ffi = { path = "./sys", package = "gdkwayland-sys" }
gdk = { path = "../gdk" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
libc = "0.2"
wayland-client = {version = "0.29", features = ["use_system_lib"]}
wayland-client = { version = "0.29", features = ["use_system_lib"] }

[dev-dependencies]
gir-format-check = "^0.1"
6 changes: 2 additions & 4 deletions gdkx11/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@ documentation = "https://gtk-rs.org/gtk3-rs/stable/latest/docs/gdkx11/"
version = "0.16.0"
description = "Rust bindings for the GDK X11 library"
repository = "https://github.com/gtk-rs/gtk3-rs"
exclude = [
"gir-files/*",
]
exclude = ["gir-files/*"]
edition = "2021"
rust-version = "1.63"

[lib]
name = "gdkx11"

[features]
dox = ["gdk/dox", "ffi/dox"]
dox = ["x11/dox", "glib/dox", "gdk/dox", "gio/dox", "ffi/dox"]
v3_24 = ["ffi/v3_24_2"]

[package.metadata.docs.rs]
Expand Down
17 changes: 12 additions & 5 deletions gtk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ version = "0.16.0"
keywords = ["gtk", "gtk-rs", "gnome", "GUI"]
repository = "https://github.com/gtk-rs/gtk3-rs"
build = "build.rs"
exclude = [
"gir-files/*",
]
exclude = ["gir-files/*"]
edition = "2021"
rust-version = "1.63"

Expand All @@ -27,7 +25,16 @@ v3_24_8 = ["v3_24_1", "ffi/v3_24_8"]
v3_24_9 = ["v3_24_8", "ffi/v3_24_9"]
v3_24_11 = ["v3_24_9", "ffi/v3_24_11"]
v3_24_30 = ["v3_24_11", "ffi/v3_24_30"]
dox = ["gdk/dox", "ffi/dox"]
dox = [
"ffi/dox",
"atk/dox",
"cairo-rs/dox",
"gio/dox",
"glib/dox",
"gdk/dox",
"gdk-pixbuf/dox",
"pango/dox",
]
gio_v2_58 = ["gio/v2_58"]
unsafe-assume-initialized = []

Expand All @@ -45,7 +52,7 @@ futures-channel = "0.3"
once_cell = "1.0"
atk = { path = "../atk" }
ffi = { package = "gtk-sys", path = "sys" }
gtk3-macros = { path = "../gtk3-macros" }
gtk3-macros = { path = "../gtk3-macros" }
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
Expand Down

0 comments on commit 1327338

Please sign in to comment.