Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feats/cli refactor cleanup #35

Merged
merged 8 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rust-analyzer.linkedProjects": [
"./simulation/Cargo.toml",
]
}
189 changes: 132 additions & 57 deletions Cargo.lock

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

20 changes: 18 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,29 @@ version = "0.1.0"
edition = "2021"

[[bin]]
name = "portfolio-in-a-box"
name = "piab"
path = "src/main.rs"

[workspace]
members = ["box-simulation"]
members = ["simulation"]

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

[workspace.dependencies]
# Local
bindings = { path = "./box-contracts/out/bindings", version = "0.1.0" }
simulation = { path = "./simulation", version = "0.1.0" }

# External
tokio = { version = "1.11.0", features = ["full"] }
tracing = "0.1.37"
anyhow = "1.0.75"


[dependencies]
simulation.workspace = true
tokio.workspace = true
tracing.workspace = true
anyhow.workspace = true
clap = { version = "4.4.6", features = ["derive"] }
tracing-subscriber = "0.3.17"
61 changes: 0 additions & 61 deletions box-simulation/Config.toml

This file was deleted.

Loading