Skip to content

Commit

Permalink
Dist: Place shared package attributes in workspace Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Feb 3, 2024
1 parent 44cede8 commit b3256a5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
resolver = "2"
members = ["crates/*"]

[workspace.package]
keywords = ["sops", "encryption", "config"]
authors = ["Gabriel Hansson <[email protected]>"]
repository = "https://github.com/gibbz00/rops"
license = "MPL-2.0"
exclude = ["/.github"]
edition = "2021"

[workspace.dependencies]
aes-gcm = { version = "0.10", features = ["std"] }
age = "0.9"
Expand Down
12 changes: 6 additions & 6 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
name = "rops-cli"
version = "0.1.0"
description = "SOPS CLI alternative in pure Rust"
license = "MPL-2.0"
authors = ["Gabriel Hansson <[email protected]>"]
repository = "https://github.com/gibbz00/rops"
keywords = ["sops", "encryption", "config"]
categories = ["cryptography", "command-line-utilities"]
exclude = ["/.github"]
edition = "2021"
license.workspace = true
authors.workspace = true
repository.workspace = true
keywords.workspace = true
exclude.workspace = true
edition.workspace = true

[[bin]]
name = "rops"
Expand Down
14 changes: 7 additions & 7 deletions crates/lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "rops"
version = "0.1.0"
description = "SOPS library in pure Rust"
license = "MPL-2.0"
authors = ["Gabriel Hansson <[email protected]>"]
repository = "https://github.com/gibbz00/rops"
keywords = ["sops", "encryption", "config"]
description = "SOPS-like library in pure Rust"
categories = ["cryptography"]
exclude = ["/.github"]
edition = "2021"
license.workspace = true
authors.workspace = true
repository.workspace = true
keywords.workspace = true
exclude.workspace = true
edition.workspace = true

[features]
default = ["age", "aws-kms", "yaml", "json", "toml", "aes-gcm", "sha2"]
Expand Down

0 comments on commit b3256a5

Please sign in to comment.