Skip to content

Commit

Permalink
Refactor: Create workspace (Sovereign-Labs#22)
Browse files Browse the repository at this point in the history
* Refactor: Create workspace
  • Loading branch information
preston-evans98 authored Feb 6, 2023
1 parent dcfb4c1 commit e4ab8eb
Show file tree
Hide file tree
Showing 35 changed files with 31 additions and 16 deletions.
26 changes: 10 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
[package]
name = "sovereign-sdk"
version = "0.1.0"
edition = "2021"
[workspace]
resolver = "2"
members = [
"sdk"
]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
[workspace.dependencies]
# External dependencies
anyhow = "1.0.68"
borsh = { version = "0.10.0", features = ["rc"]}
bytes = "1.2.1"
proptest = "1.0.0"
sha2 = "0.10.6"
borsh = { version = "0.10.0", features = ["rc"]}

anyhow = "1.0.68"
thiserror = "1.0.38"

# Proptest should be a dev-dependency, but those can't be optional
proptest = { version = "1.0.0", optional = true }

[features]
fuzzing = ["proptest"]
sync = []
21 changes: 21 additions & 0 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[package]
name = "sovereign-sdk"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bytes = { workspace = true }
sha2 = { workspace = true }
borsh = { workspace = true, features = ["rc"]}

anyhow = { workspace = true }
thiserror = { workspace = true }

# Proptest should be a dev-dependency, but those can't be optional
proptest = { workspace = true, optional = true }

[features]
fuzzing = ["proptest"]
sync = []
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e4ab8eb

Please sign in to comment.