# 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 = "keystone-core"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable identity, signed social graph, and P2P transport primitives for the Keystone protocol"
readme = "README.md"
keywords = [
    "p2p",
    "identity",
    "ed25519",
    "libp2p",
    "decentralized",
]
categories = [
    "network-programming",
    "cryptography",
    "authentication",
]
license = "MIT"
repository = "https://github.com/tyrion777-stack/keystone-core"

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

[[bin]]
name = "bootstrap"
path = "src/bin/bootstrap.rs"

[[bin]]
name = "demo"
path = "src/bin/demo.rs"

[[bin]]
name = "node"
path = "src/bin/node.rs"

[[bin]]
name = "peer"
path = "src/bin/peer.rs"

[dependencies.aes-gcm]
version = "0.10"

[dependencies.argon2]
version = "0.5"

[dependencies.blake3]
version = "1.5"

[dependencies.ed25519-dalek]
version = "2.1"
features = ["rand_core"]

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.libp2p]
version = "0.53"
features = [
    "tcp",
    "noise",
    "yamux",
    "identify",
    "ping",
    "kad",
    "mdns",
    "request-response",
    "json",
    "tokio",
    "macros",
]

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]
