# 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 = "2024"
name = "circles-pathfinder"
version = "0.5.1"
authors = ["franco <0xpantera@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pathfinding and flow matrix calculation for the Circles protocol"
homepage = "https://circles-rs-book.vercel.app/"
documentation = "https://docs.rs/circles-pathfinder"
readme = "README.md"
keywords = [
    "circles",
    "pathfinding",
    "gnosis",
    "defi",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/deluXtreme/circles-rs"
resolver = "2"

[features]
default = []
ws = ["circles-rpc/ws"]

[lib]
name = "circles_pathfinder"
path = "src/lib.rs"

[[example]]
name = "contract_integration"
path = "examples/contract_integration.rs"

[[example]]
name = "find_path"
path = "examples/find_path.rs"

[[example]]
name = "path_and_events"
path = "examples/path_and_events.rs"

[[test]]
name = "flow_matrix_tests"
path = "tests/flow_matrix_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "packing_tests"
path = "tests/packing_tests.rs"

[[test]]
name = "path_wrapper_tests"
path = "tests/path_wrapper_tests.rs"

[[test]]
name = "rpc_tests"
path = "tests/rpc_tests.rs"

[dependencies.alloy-contract]
version = "1.1.2"

[dependencies.alloy-primitives]
version = "1.4.1"
features = ["serde"]
default-features = false

[dependencies.alloy-provider]
version = "1.1.2"
features = ["reqwest"]

[dependencies.alloy-sol-types]
version = "1.4.1"
features = ["json"]

[dependencies.circles-rpc]
version = "0.1.1"

[dependencies.circles-types]
version = "0.3.1"

[dependencies.circles-utils]
version = "0.1.1"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.tokio]
version = "1.47.2"
features = [
    "macros",
    "rt-multi-thread",
    "macros",
    "rt-multi-thread",
    "time",
]
