Skip to content

Commit c0e72fb

Browse files
committed
Merge branch 'size-optimization'
2 parents eb23338 + b65a80b commit c0e72fb

File tree

55 files changed

+64
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+64
-52
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
license = "MIT OR Apache-2.0"
88
version = "0.31.1"
99
default-run = "gix"
10-
include = ["src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
10+
include = ["src/**/*", "LICENSE-*", "README.md"]
1111
resolver = "2"
1212

1313
[[bin]]

etc/check-package-size.sh

+10-15
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ function indent () {
1515
}
1616

1717
echo "in root: gitoxide CLI"
18-
(enter gix-actor && indent cargo diet -n --package-size-limit 5KB)
18+
(enter gix-actor && indent cargo diet -n --package-size-limit 10KB)
1919
(enter gix-archive && indent cargo diet -n --package-size-limit 10KB)
2020
(enter gix-worktree-stream && indent cargo diet -n --package-size-limit 40KB)
2121
(enter gix-utils && indent cargo diet -n --package-size-limit 10KB)
22-
(enter gix-fs && indent cargo diet -n --package-size-limit 10KB)
22+
(enter gix-fs && indent cargo diet -n --package-size-limit 15KB)
2323
(enter gix-pathspec && indent cargo diet -n --package-size-limit 30KB)
2424
(enter gix-refspec && indent cargo diet -n --package-size-limit 30KB)
2525
(enter gix-path && indent cargo diet -n --package-size-limit 25KB)
@@ -37,30 +37,25 @@ echo "in root: gitoxide CLI"
3737
(enter gix-command && indent cargo diet -n --package-size-limit 10KB)
3838
(enter gix-hash && indent cargo diet -n --package-size-limit 30KB)
3939
(enter gix-chunk && indent cargo diet -n --package-size-limit 15KB)
40-
(enter gix-rebase && indent cargo diet -n --package-size-limit 5KB)
41-
(enter gix-sequencer && indent cargo diet -n --package-size-limit 5KB)
4240
(enter gix-features && indent cargo diet -n --package-size-limit 65KB)
4341
(enter gix-ref && indent cargo diet -n --package-size-limit 55KB)
44-
(enter gix-diff && indent cargo diet -n --package-size-limit 10KB)
45-
(enter gix-traverse && indent cargo diet -n --package-size-limit 10KB)
42+
(enter gix-diff && indent cargo diet -n --package-size-limit 15KB)
43+
(enter gix-traverse && indent cargo diet -n --package-size-limit 15KB)
4644
(enter gix-url && indent cargo diet -n --package-size-limit 35KB)
47-
(enter gix-validate && indent cargo diet -n --package-size-limit 5KB)
45+
(enter gix-validate && indent cargo diet -n --package-size-limit 10KB)
4846
(enter gix-date && indent cargo diet -n --package-size-limit 25KB)
49-
(enter gix-hashtable && indent cargo diet -n --package-size-limit 5KB)
50-
(enter gix-filter && indent cargo diet -n --package-size-limit 5KB)
51-
(enter gix-lfs && indent cargo diet -n --package-size-limit 5KB)
52-
(enter gix-note && indent cargo diet -n --package-size-limit 5KB)
53-
(enter gix-fetchhead && indent cargo diet -n --package-size-limit 5KB)
47+
(enter gix-hashtable && indent cargo diet -n --package-size-limit 10KB)
48+
(enter gix-filter && indent cargo diet -n --package-size-limit 35KB)
49+
(enter gix-status && indent cargo diet -n --package-size-limit 30KB)
5450
(enter gix-sec && indent cargo diet -n --package-size-limit 25KB)
55-
(enter gix-tix && indent cargo diet -n --package-size-limit 5KB)
5651
(enter gix-credentials && indent cargo diet -n --package-size-limit 35KB)
5752
(enter gix-prompt && indent cargo diet -n --package-size-limit 15KB)
58-
(enter gix-object && indent cargo diet -n --package-size-limit 25KB)
53+
(enter gix-object && indent cargo diet -n --package-size-limit 30KB)
5954
(enter gix-commitgraph && indent cargo diet -n --package-size-limit 35KB)
6055
(enter gix-pack && indent cargo diet -n --package-size-limit 140KB)
6156
(enter gix-odb && indent cargo diet -n --package-size-limit 140KB)
6257
(enter gix-protocol && indent cargo diet -n --package-size-limit 80KB)
6358
(enter gix-packetline && indent cargo diet -n --package-size-limit 45KB)
6459
(enter gix && indent cargo diet -n --package-size-limit 280KB)
6560
(enter gix-transport && indent cargo diet -n --package-size-limit 95KB)
66-
(enter gitoxide-core && indent cargo diet -n --package-size-limit 120KB)
61+
(enter gitoxide-core && indent cargo diet -n --package-size-limit 160KB)

gix-actor/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Sebastian Thiel <[email protected]>"]
66
repository = "https://github.com/Byron/gitoxide"
77
license = "MIT OR Apache-2.0"
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-archive/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "archive generation from of a worktree stream"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-attributes/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate of the gitoxide project dealing .gitattributes files"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-bitmap/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project dedicated implementing the standa
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
exclude = ["CHANGELOG.md"]
1011

1112
[lib]
1213
doctest = false

gix-chunk/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repository = "https://github.com/Byron/gitoxide"
77
documentation = "https://github.com/git/git/blob/seen/Documentation/technical/chunk-format.txt"
88
license = "MIT OR Apache-2.0"
99
edition = "2021"
10-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
10+
include = ["src/**/*", "LICENSE-*"]
1111
rust-version = "1.65"
1212

1313
[lib]

gix-command/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project handling internal git command exe
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/lib.rs", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-commitgraph/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
77
description = "Read-only access to the git commitgraph file format"
88
authors = ["Conor Davis <[email protected]>", "Sebastian Thiel <[email protected]>"]
99
edition = "2021"
10-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
10+
include = ["src/**/*", "LICENSE-*"]
1111
rust-version = "1.65"
1212

1313
[lib]

gix-config-value/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project providing git-config value parsin
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-config/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["Edward Shen <[email protected]>"]
88
edition = "2021"
99
keywords = ["git-config", "git", "config", "gitoxide"]
1010
categories = ["config", "parser-implementations"]
11-
include = ["src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
11+
include = ["src/**/*", "LICENSE-*", "README.md"]
1212
rust-version = "1.65"
1313
autotests = false
1414

gix-credentials/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project to interact with git credentials
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-date/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate of the gitoxide project parsing dates the way git does"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-diff/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "Calculate differences between various git objects"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111
autotests = false
1212

gix-discover/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "Discover git repositories and check if a directory is a git repository"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-features/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ authors = ["Sebastian Thiel <[email protected]>"]
77
license = "MIT OR Apache-2.0"
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-filter/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project implementing git filters"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-fs/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate providing file system specific utilities to `gitoxide`"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-glob/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project dealing with pattern matching"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-hash/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Sebastian Thiel <[email protected]>"]
66
repository = "https://github.com/Byron/gitoxide"
77
license = "MIT OR Apache-2.0"
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-hashtable/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate that provides hashtable based data structures optimized to utilize ObjectId keys"
77
authors = ["Pascal Kuthe <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-ignore/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate of the gitoxide project dealing .gitignore files"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-index/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A work-in-progress crate of the gitoxide project dedicated implementing the git index file"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*", "README.md"]
1010
rust-version = "1.65"
1111
autotests = false
1212

gix-lock/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A git-style lock-file implementation"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*", "README.md"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
]
1111
repository = "https://github.com/Byron/gitoxide"
1212
license = "MIT OR Apache-2.0"
13-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
13+
include = ["src/**/*", "LICENSE-*"]
1414
rust-version = "1.65"
1515

1616
[lib]

gix-mailmap/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project for parsing mailmap files"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-negotiate/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project implementing negotiation algorith
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-object/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Sebastian Thiel <[email protected]>"]
66
repository = "https://github.com/Byron/gitoxide"
77
license = "MIT OR Apache-2.0"
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-odb/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Sebastian Thiel <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
description = "Implements various git object databases"
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111
autotests = false
1212

gix-pack/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Sebastian Thiel <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
description = "Implements git packs and related data structures"
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111
autotests = false
1212

gix-packetline-blocking/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A duplicate of `gix-packetline` with the `blocking-io` feature pre-selected"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-packetline/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate of the gitoxide project implementing the pkt-line serialization format"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-path/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate of the gitoxide project dealing paths and their conversions"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-pathspec/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project dealing magical pathspecs"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*", "README.md"]
1011

1112
[lib]
1213
doctest = false

gix-prompt/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate of the gitoxide project for handling prompts in the terminal"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*", "README.md"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-protocol/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate of the gitoxide project for implementing git protocols"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md", "!**/tests/**/*"]
9+
include = ["src/**/*", "LICENSE-*", "!**/tests/**/*"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-quote/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "A crate of the gitoxide project dealing with various quotations u
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.65"
10+
include = ["src/**/*", "LICENSE-*"]
1011

1112
[lib]
1213
doctest = false

gix-ref/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate to handle git references"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111
autotests = false
1212

gix-refspec/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate of the gitoxide project for parsing and representing refspecs"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md", "README.md"]
9+
include = ["src/**/*", "LICENSE-*", "README.md"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-revision/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate of the gitoxide project dealing with finding names for revisions and parsing specifications"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md", "README.md"]
9+
include = ["src/**/*", "LICENSE-*", "README.md"]
1010
rust-version = "1.65"
1111

1212
[lib]

gix-revwalk/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0"
66
description = "A crate providing utilities for walking the revision graph"
77
authors = ["Sebastian Thiel <[email protected]>"]
88
edition = "2021"
9-
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
9+
include = ["src/**/*", "LICENSE-*"]
1010
rust-version = "1.65"
1111

1212
[lib]

0 commit comments

Comments
 (0)