# 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 = "spvirit-client"
version = "0.1.11"
authors = ["Mateusz Leputa for ISIS Neutron and Muon Source Copyright 2026"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PVAccess client library — search, connect, get, put, monitor."
readme = "README.md"
keywords = [
    "epics",
    "pvaccess",
]
categories = ["science"]
license = "BSD-3-Clause"
repository = "https://github.com/ISISNeutronMuon/spvirit"
resolver = "2"

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

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

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

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

[dependencies.chrono]
version = "0.4"

[dependencies.dns-lookup]
version = "3.0.0"

[dependencies.get_if_addrs]
version = "0.5.3"

[dependencies.serde_json]
version = "1.0.145"

[dependencies.socket2]
version = "0.5"
features = ["all"]

[dependencies.spvirit-codec]
version = "0.1.11"

[dependencies.spvirit-types]
version = "0.1.11"

[dependencies.tokio]
version = "1.47.1"
features = [
    "net",
    "io-util",
    "time",
    "rt",
    "sync",
    "macros",
]

[dependencies.tracing]
version = "0.1.41"

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