# 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-server"
version = "0.1.9"
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 server library for EPICS"
readme = "README.md"
keywords = [
    "epics",
    "pvaccess",
    "server",
]
categories = ["science"]
license = "BSD-3-Clause"
repository = "https://github.com/ISISNeutronMuon/spvirit"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.get_if_addrs]
version = "0.5.3"

[dependencies.regex]
version = "1.11.2"

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

[dependencies.serde_json]
version = "1"

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

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

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

[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",
]
