Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
feat: update cargo files to use workspace package
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Paitrault <[email protected]>
  • Loading branch information
Freyskeyd committed Jan 16, 2024
1 parent 35f8930 commit e0fadef
Show file tree
Hide file tree
Showing 25 changed files with 74 additions and 70 deletions.
46 changes: 23 additions & 23 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ members = [
"crates/*"
]

[workspace.package]
version = "0.0.11"
edition = "2021"
rust-version = "1.65"

[workspace.lints.rust]
# Deny
missing_docs = "allow"
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-api"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-certificate-spammer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-certificate-spammer"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-clock/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-clock"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-core"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-crypto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "topos-crypto"
description = "Implementation of the Topos cryptography utility functions"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-metrics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-metrics"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-p2p/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-p2p"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-sequencer-subnet-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-sequencer-subnet-client"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-sequencer-subnet-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-sequencer-subnet-runtime"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-sequencer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "topos-sequencer"
description = "Implementation of the Topos protocol"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-tce-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-tce-api"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-tce-broadcast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-tce-broadcast"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-tce-gatekeeper/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-tce-gatekeeper"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-tce-proxy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-tce-proxy"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-tce-storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-tce-storage"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-tce-synchronizer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-tce-synchronizer"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/topos-tce-transport/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "topos-tce-transport"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true

[lints]
workspace = true
Expand Down
Loading

0 comments on commit e0fadef

Please sign in to comment.