Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce size of the crates by excluding unnecessary files #1158

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]
pentamassiv marked this conversation as resolved.
Show resolved Hide resolved
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
Loading