Skip to content

Commit

Permalink
Merge pull request #90 from worldcoin/thebutlah/use-workspace-inherit
Browse files Browse the repository at this point in the history
use cargo workspace inheritance
  • Loading branch information
TheButlah authored Sep 17, 2024
2 parents 03bb2f0 + 1287cab commit 4acae7b
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 4acae7b

Please sign in to comment.