Skip to content

Commit

Permalink
use cargo workspace inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Sep 17, 2024
1 parent 03bb2f0 commit 1287cab
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
16 changes: 11 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
[package]
name = "semaphore"
version = "0.1.0"
edition = "2021"
authors = [
"Remco Bloemen <[email protected]>",
"Philipp Sippl <[email protected]>",
]
homepage = "https://github.com/worldcoin/semaphore-rs"
repository = "https://github.com/worldcoin/semaphore-rs"
description = "Rust support library for Semaphore"
keywords = ["worldcoin", "protocol", "signup"]
categories = ["cryptography"]
readme = "Readme.md"
license = "MIT"

edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true

[workspace]
members = ["crates/*"]

[workspace.package]
edition = "2021"
homepage = "https://github.com/worldcoin/semaphore-rs"
license = "MIT"
repository = "https://github.com/worldcoin/semaphore-rs"

[features]
depth_16 = [
"semaphore-depth-config/depth_16",
Expand Down
7 changes: 5 additions & 2 deletions crates/semaphore-depth-config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[package]
name = "semaphore-depth-config"
version = "0.1.0"
license = "MIT"
edition = "2021"
publish = false

edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true

[features]
depth_16 = []
depth_20 = []
Expand Down
7 changes: 5 additions & 2 deletions crates/semaphore-depth-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[package]
name = "semaphore-depth-macros"
version = "0.1.0"
license = "MIT"
edition = "2021"
publish = false

edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true

[features]
depth_16 = ["semaphore-depth-config/depth_16"]
depth_20 = ["semaphore-depth-config/depth_20"]
Expand Down

0 comments on commit 1287cab

Please sign in to comment.