Skip to content

Commit

Permalink
Reduce size of the crates by excluding unnecessary files from being p…
Browse files Browse the repository at this point in the history
…ublished
  • Loading branch information
pentamassiv committed Aug 7, 2023
1 parent 04bddc0 commit 3029cf9
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 19 deletions.
4 changes: 1 addition & 3 deletions gdk-pixbuf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/gdk_pixbuf/"
version = "0.19.0"
description = "Rust bindings for the GdkPixbuf library"
repository = "https://github.com/gtk-rs/gtk-rs-core"
exclude = [
"gir-files/*",
]
exclude = ["tests", "Gir.toml", "docs.md", "versions.txt"]
edition = "2021"
rust-version = "1.70"

Expand Down
1 change: 1 addition & 0 deletions gdk-pixbuf/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ repository = "https://github.com/gtk-rs/gtk-rs-core"
version = "0.19.0"
edition = "2021"
rust-version = "1.70"
exclude = ["tests", "Gir.toml", "versions.txt"]

[package.metadata.docs.rs]
all-features = true
Expand Down
4 changes: 1 addition & 3 deletions gio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/gio/"
version = "0.19.0"
description = "Rust bindings for the Gio library"
repository = "https://github.com/gtk-rs/gtk-rs-core"
exclude = [
"gir-files/*",
]
exclude = ["tests", "docs.md", "Gir.toml"]
edition = "2021"
rust-version = "1.70"
build = "build.rs"
Expand Down
1 change: 1 addition & 0 deletions gio/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ repository = "https://github.com/gtk-rs/gtk-rs-core"
version = "0.19.0"
edition = "2021"
rust-version = "1.70"
exclude = ["tests", "Gir.toml", "versions.txt"]

[package.metadata.docs.rs]
all-features = true
Expand Down
1 change: 1 addition & 0 deletions glib-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ repository = "https://github.com/gtk-rs/gtk-rs-core"
license = "MIT"
edition = "2021"
rust-version = "1.70"
exclude = ["tests"]

[dependencies]
heck = "0.4"
Expand Down
10 changes: 6 additions & 4 deletions glib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ version = "0.19.0"
keywords = ["glib", "gtk-rs", "gnome", "GUI"]
repository = "https://github.com/gtk-rs/gtk-rs-core"
license = "MIT"
exclude = [
"gir-files/*",
]
exclude = ["benches", "tests", "docs.md", "Gir_GObject.toml", "Gir.toml"]
edition = "2021"
rust-version = "1.70"

Expand All @@ -31,7 +29,11 @@ ffi = { package = "glib-sys", path = "sys" }
gobject_ffi = { package = "gobject-sys", path = "gobject-sys" }
glib-macros = { path = "../glib-macros" }
rs-log = { package = "log", version = "0.4", optional = true }
smallvec = { version = "1.0", features = ["union", "const_generics", "const_new"] }
smallvec = { version = "1.0", features = [
"union",
"const_generics",
"const_new",
] }
thiserror = "1"
gio_ffi = { package = "gio-sys", path = "../gio/sys", optional = true }
memchr = "2.5.0"
Expand Down
1 change: 1 addition & 0 deletions glib/gobject-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ repository = "https://github.com/gtk-rs/gtk-rs-core"
version = "0.19.0"
edition = "2021"
rust-version = "1.70"
exclude = ["tests", "Gir.toml", "versions.txt"]

[package.metadata.docs.rs]
all-features = true
Expand Down
1 change: 1 addition & 0 deletions glib/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ repository = "https://github.com/gtk-rs/gtk-rs-core"
version = "0.19.0"
edition = "2021"
rust-version = "1.70"
exclude = ["tests", "Gir.toml", "versions.txt"]

[package.metadata.docs.rs]
all-features = true
Expand Down
4 changes: 1 addition & 3 deletions graphene/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/graphene/"
version = "0.19.0"
description = "Rust bindings for the Graphene library"
repository = "https://github.com/gtk-rs/gtk-rs-core"
exclude = [
"gir-files/*",
]
exclude = ["tests", "docs.md", "Gir.toml"]
edition = "2021"
rust-version = "1.70"

Expand Down
1 change: 1 addition & 0 deletions graphene/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ repository = "https://github.com/gtk-rs/gtk-rs-core"
version = "0.19.0"
edition = "2021"
rust-version = "1.70"
exclude = ["tests", "Gir.toml", "versions.txt"]

[package.metadata.docs.rs]
all-features = true
Expand Down
4 changes: 1 addition & 3 deletions pango/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ version = "0.19.0"
description = "Rust bindings for the Pango library"
repository = "https://github.com/gtk-rs/gtk-rs-core"
license = "MIT"
exclude = [
"gir-files/*",
]
exclude = ["tests", "docs.md", "Gir.toml"]
edition = "2021"
rust-version = "1.70"

Expand Down
1 change: 1 addition & 0 deletions pango/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ repository = "https://github.com/gtk-rs/gtk-rs-core"
version = "0.19.0"
edition = "2021"
rust-version = "1.70"
exclude = ["tests", "Gir.toml", "versions.txt"]

[package.metadata.docs.rs]
all-features = true
Expand Down
4 changes: 1 addition & 3 deletions pangocairo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ version = "0.19.0"
description = "Rust bindings for the PangoCairo library"
repository = "https://github.com/gtk-rs/gtk-rs-core"
license = "MIT"
exclude = [
"gir-files/*",
]
exclude = ["tests", "docs.md", "Gir.toml"]
edition = "2021"
rust-version = "1.70"

Expand Down
1 change: 1 addition & 0 deletions pangocairo/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ repository = "https://github.com/gtk-rs/gtk-rs-core"
version = "0.19.0"
edition = "2021"
rust-version = "1.70"
exclude = ["Gir.toml", "versions.txt"]

[package.metadata.docs.rs]
all-features = true
Expand Down

0 comments on commit 3029cf9

Please sign in to comment.