# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.78.0"
name = "ic-utils"
version = "0.39.3"
authors = ["DFINITY Stiftung <sdk@dfinity.org>"]
include = [
    "src",
    "Cargo.toml",
    "../LICENSE",
    "README.md",
]
description = "Collection of utilities for Rust, on top of ic-agent, to communicate with the Internet Computer, following the Public Specification."
homepage = "https://docs.rs/ic-utils"
documentation = "https://docs.rs/ic-utils"
readme = "README.md"
keywords = [
    "internet-computer",
    "agent",
    "utility",
    "icp",
    "dfinity",
]
categories = [
    "api-bindings",
    "data-structures",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/dfinity/agent-rs"

[package.metadata.docs.rs]
features = ["raw"]
rustdoc-args = ["--cfg=docsrs"]
targets = [
    "x86_64-unknown-linux-gnu",
    "wasm32-unknown-unknown",
]

[dependencies.async-trait]
version = "0.1.68"

[dependencies.candid]
version = "0.10.10"
features = ["value"]

[dependencies.futures-util]
version = "0.3.31"

[dependencies.ic-agent]
version = "0.39.1"
default-features = false

[dependencies.once_cell]
version = "1.10.0"

[dependencies.semver]
version = "1.0.7"

[dependencies.serde]
version = "1.0.215"

[dependencies.serde_bytes]
version = "0.11.15"

[dependencies.sha2]
version = "0.10.8"

[dependencies.strum]
version = "0.26"

[dependencies.strum_macros]
version = "0.26"

[dependencies.thiserror]
version = "2.0.3"

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1.41.1"
default-features = false

[dev-dependencies.ed25519-consensus]
version = "2.1.0"

[dev-dependencies.ic-agent]
version = "0.39.1"
default-features = true

[dev-dependencies.pocket-ic]
version = "6.0.0"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.tokio]
version = "1.41.1"
features = ["full"]
default-features = false

[features]
raw = []