Skip to content

Commit

Permalink
Taplo
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Nov 13, 2024
1 parent 4bc89fe commit e62c945
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
9 changes: 6 additions & 3 deletions templates/basic-template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ strip = "debuginfo"
crate-type = ["cdylib", "rlib"]

[dependencies]
entropy-programs-core={ git="https://github.com/entropyxyz/programs.git", tag="v0.10.0" }
schemars = {version = "0.8.16", optional = true}
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] }
entropy-programs-core = { git = "https://github.com/entropyxyz/programs.git", tag = "v0.10.0" }
schemars = { version = "0.8.16", optional = true }
serde = { version = "1.0", default-features = false, features = [
"alloc",
"derive",
] }

# These are used by `cargo component`
[package.metadata.component]
Expand Down
17 changes: 11 additions & 6 deletions templates/basic-template/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@ version = "0.1.0"
edition = "2021"

[dependencies]
clap ={ version="4.5.20", features=["derive"] }
subxt ={version = "0.35.3", features = ["substrate-compat"]}
colored ="2.0.4"
tokio ={ version="1.16", features=["macros", "rt-multi-thread", "io-util", "process"] }
anyhow ="1.0.82"
clap = { version = "4.5.20", features = ["derive"] }
subxt = { version = "0.35.3", features = ["substrate-compat"] }
colored = "2.0.4"
tokio = { version = "1.16", features = [
"macros",
"rt-multi-thread",
"io-util",
"process",
] }
anyhow = "1.0.82"
dotenv = "0.15.0"
generate-types = { path = "../generate-types" }
project-root = "0.2.2"
entropy-test-cli = { git="https://github.com/entropyxyz/entropy-core.git", branch = "master" }
entropy-test-cli = { git = "https://github.com/entropyxyz/entropy-core.git", branch = "master" }
6 changes: 4 additions & 2 deletions templates/basic-template/generate-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
program = { package= "{{project-name}}", path = "..", default-features = false, features=['std'] }
program = { package = "{{project-name}}", path = "..", default-features = false, features = [
'std',
] }
schemars = "0.8.16"
serde_json = { version = "1.0" }
serde_json = { version = "1.0" }

0 comments on commit e62c945

Please sign in to comment.