Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ anyhow = "1.0"
async-trait = "0.1"
bcs = "0.1"
chrono = { version = "0.4", default-features = false }
clap = { version = "4.6.1", features = ["derive"] }
hyper = "1"
iota-grpc-client = { git = "https://github.com/iotaledger/iota-rust-sdk.git", package = "iota-sdk-grpc-client", rev = "36bffd625e1b1d38307eb9e49bd2cb7dd988bb11" }
iota-grpc-types = { git = "https://github.com/iotaledger/iota-rust-sdk.git", package = "iota-sdk-grpc-types", rev = "36bffd625e1b1d38307eb9e49bd2cb7dd988bb11" }
Expand All @@ -26,12 +27,14 @@ iota_interaction = { git = "https://github.com/iotaledger/product-core.git", tag
iota_interaction_rust = { git = "https://github.com/iotaledger/product-core.git", tag = "v0.8.22", default-features = false, package = "iota_interaction_rust" }
iota_interaction_ts = { git = "https://github.com/iotaledger/product-core.git", tag = "v0.8.22", default-features = false, package = "iota_interaction_ts" }
product_common = { git = "https://github.com/iotaledger/product-core.git", tag = "v0.8.22", default-features = false, package = "product_common" }
reqwest = { version = "0.12.28", default-features = false, features = ["rustls-tls"] }
secret-storage = { git = "https://github.com/iotaledger/secret-storage.git", tag = "v0.3.0", default-features = false }
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] }
serde-aux = { version = "4.7.0", default-features = false }
serde_json = { version = "1.0", default-features = false }
sha2 = { version = "0.10", default-features = false }
strum = { version = "0.27", default-features = false, features = ["std", "derive"] }
tempfile = "3.27.0"
thiserror = { version = "2.0", default-features = false }
tokio = { version = "1.52.2", default-features = false, features = ["macros", "sync", "rt", "process"] }

Expand Down
12 changes: 12 additions & 0 deletions poi-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@ repository.workspace = true
rust-version.workspace = true
description = "Proof of Inclusion support for the IOTA Notarization Toolkit."

[features]
cli = ["dep:anyhow", "dep:clap", "dep:iota-config", "dep:reqwest", "serde_json/std"]

[dependencies]
anyhow = { workspace = true, optional = true }
async-trait.workspace = true
clap = { workspace = true, optional = true }
iota-grpc-client.workspace = true
iota-grpc-types.workspace = true
iota-config = { git = "https://github.com/iotaledger/iota.git", tag = "v1.26.1", optional = true }
iota-sdk-types.workspace = true
iota-types.workspace = true
reqwest = { workspace = true, optional = true }
serde.workspace = true
serde_json = { workspace = true, features = ["alloc"] }
thiserror.workspace = true
Expand All @@ -24,3 +31,8 @@ tokio.workspace = true
[dev-dependencies]
iota-config = { git = "https://github.com/iotaledger/iota.git", tag = "v1.26.1" }
test-cluster = { git = "https://github.com/iotaledger/iota.git", tag = "v1.26.1", package = "test-cluster" }

[[bin]]
name = "poi"
path = "src/bin/poi.rs"
required-features = ["cli"]
Loading
Loading