Skip to content

Commit

Permalink
build(cargo): switch to a cargo workspace for dependency
Browse files Browse the repository at this point in the history
Allows reducing the duplication, making dependency updates easier.
  • Loading branch information
gibfahn committed Dec 28, 2023
1 parent 8e21139 commit 0b23652
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 545 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 21 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
# Make this a workspace so that path dependencies below share the same lockfile.
[workspace]

[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2021"
repository = "https://github.com/gibfahn/up-rs"
keywords = ["cli", "tool"]
categories = ["command-line-utilities", "config"]
readme = "README.md"
authors = ["Gibson Fahnestock <[email protected]>"]

# up-rs is the root package in this workspace.
[package]
name = "up-rs"
version = "0.15.1"
authors = ["Gibson Fahnestock <[email protected]>"]
edition = '2021'
license = "MIT OR Apache-2.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true

description = """
up-rs is a tool to help you keep your machine up to date.
"""
documentation = "https://github.com/gibfahn/up-rs"
homepage = "https://github.com/gibfahn/up-rs"
repository = "https://github.com/gibfahn/up-rs"
readme = "README.md"
keywords = ["cli", "tool"]
categories = ["command-line-utilities", "config"]
exclude = ["tests/"]

[[bin]]
name = "up"
path = "src/main.rs"

[dependencies]
camino = { version = "1.1.6", features = ["serde1"] }
chrono = "0.4.31"
Expand Down
Loading

0 comments on commit 0b23652

Please sign in to comment.