Skip to content

Commit

Permalink
update msrv to 1.79
Browse files Browse the repository at this point in the history
Additionally, use the root `[workspace.package]` as a source of truth
for all crates `repository`, `edition`, `license`, and `rust-version`.
Also used for `authors` only if the only author listed was Sebastian
Thiel.
  • Loading branch information
bryceberger committed Jan 25, 2025
1 parent 810b5cf commit 41cdc3e
Show file tree
Hide file tree
Showing 68 changed files with 332 additions and 322 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ version = "0.41.0"
default-run = "gix"
include = ["src/**/*", "/build.rs", "LICENSE-*", "README.md"]
resolver = "2"
rust-version = "1.70"

[[bin]]
name = "ein"
Expand Down Expand Up @@ -307,6 +308,13 @@ members = [
"gix-shallow"
]

[workspace.package]
repository = "https://github.com/GitoxideLabs/gitoxide"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
rust-version = "1.79"

[workspace.dependencies]


Expand Down
8 changes: 4 additions & 4 deletions gitoxide-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ lints.workspace = true
[package]
name = "gitoxide-core"
description = "The library implementing all capabilities of the gitoxide CLI"
repository = "https://github.com/GitoxideLabs/gitoxide"
repository.workspace = true
version = "0.45.0"
authors = ["Sebastian Thiel <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
authors.workspace = true
license.workspace = true
edition.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-actor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ lints.workspace = true
name = "gix-actor"
version = "0.33.2"
description = "A way to identify git actors"
authors = ["Sebastian Thiel <[email protected]>"]
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
edition = "2021"
authors.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.70"
rust-version.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-archive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-archive"
version = "0.19.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "archive generation from of a worktree stream"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
include = ["src/**/*", "LICENSE-*"]

[lib]
Expand Down
10 changes: 5 additions & 5 deletions gix-attributes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ lints.workspace = true
[package]
name = "gix-attributes"
version = "0.24.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project dealing .gitattributes files"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.70"
rust-version.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-bitmap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-bitmap"
version = "0.2.14"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project dedicated implementing the standard git bitmap format"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
exclude = ["CHANGELOG.md"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions gix-blame/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-blame"
version = "0.0.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project dedicated to implementing a 'blame' algorithm"
authors = ["Christoph Rüßler <[email protected]>", "Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
edition.workspace = true
rust-version.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-chunk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ lints.workspace = true
name = "gix-chunk"
version = "0.4.11"
description = "Interact with the git chunk file format used in multi-pack index and commit-graph files"
authors = ["Sebastian Thiel <[email protected]>"]
repository = "https://github.com/GitoxideLabs/gitoxide"
authors.workspace = true
repository.workspace = true
documentation = "https://github.com/git/git/blob/seen/Documentation/technical/chunk-format.txt"
license = "MIT OR Apache-2.0"
edition = "2021"
license.workspace = true
edition.workspace = true
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.70"
rust-version.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-command/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-command"
version = "0.4.1"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project handling internal git command execution"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
include = ["src/lib.rs", "LICENSE-*"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions gix-commitgraph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ lints.workspace = true
[package]
name = "gix-commitgraph"
version = "0.26.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
repository.workspace = true
documentation = "https://git-scm.com/docs/commit-graph#:~:text=The%20commit-graph%20file%20is%20a%20supplemental%20data%20structure,or%20in%20the%20info%20directory%20of%20an%20alternate."
license = "MIT OR Apache-2.0"
license.workspace = true
description = "Read-only access to the git commitgraph file format"
authors = ["Conor Davis <[email protected]>", "Sebastian Thiel <[email protected]>"]
edition = "2021"
edition.workspace = true
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.70"
rust-version.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-config-value/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-config-value"
version = "0.14.11"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project providing git-config value parsing"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
include = ["src/**/*", "LICENSE-*"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions gix-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ lints.workspace = true
[package]
name = "gix-config"
version = "0.43.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
repository.workspace = true
description = "A git-config file parser and editor from the gitoxide project"
license = "MIT OR Apache-2.0"
license.workspace = true
authors = ["Edward Shen <[email protected]>"]
edition = "2021"
edition.workspace = true
keywords = ["git-config", "git", "config", "gitoxide"]
categories = ["config", "parser-implementations"]
include = ["src/**/*", "LICENSE-*", "README.md"]
rust-version = "1.70"
rust-version.workspace = true
autotests = false

[features]
Expand Down
10 changes: 5 additions & 5 deletions gix-credentials/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-credentials"
version = "0.27.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project to interact with git credentials helpers"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
include = ["src/**/*", "LICENSE-*"]

[lib]
Expand Down
10 changes: 5 additions & 5 deletions gix-date/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ lints.workspace = true
[package]
name = "gix-date"
version = "0.9.3"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project parsing dates the way git does"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.70"
rust-version.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-diff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ lints.workspace = true
[package]
name = "gix-diff"
version = "0.50.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "Calculate differences between various git objects"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.70"
rust-version.workspace = true
autotests = false

[features]
Expand Down
10 changes: 5 additions & 5 deletions gix-dir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-dir"
version = "0.12.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project dealing with directory walks"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-discover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ lints.workspace = true
[package]
name = "gix-discover"
version = "0.38.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "Discover git repositories and check if a directory is a git repository"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.70"
rust-version.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-features/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-features"
description = "A crate to integrate various capabilities using compile-time feature flags"
repository = "https://github.com/GitoxideLabs/gitoxide"
repository.workspace = true
version = "0.40.0"
authors = ["Sebastian Thiel <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.70"
authors.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include = ["src/**/*", "LICENSE-*"]

[lib]
Expand Down
10 changes: 5 additions & 5 deletions gix-fetchhead/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-fetchhead"
version = "0.0.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project to read and write .git/FETCH_HEAD"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true

[lib]
doctest = false
Expand Down
10 changes: 5 additions & 5 deletions gix-filter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-filter"
version = "0.17.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate of the gitoxide project implementing git filters"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
include = ["src/**/*", "LICENSE-*"]

[lib]
Expand Down
10 changes: 5 additions & 5 deletions gix-fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ lints.workspace = true
[package]
name = "gix-fs"
version = "0.13.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
repository.workspace = true
license.workspace = true
description = "A crate providing file system specific utilities to `gitoxide`"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2021"
rust-version = "1.70"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
include = ["src/**/*", "LICENSE-*"]

[lib]
Expand Down
Loading

0 comments on commit 41cdc3e

Please sign in to comment.