# 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 = "motor-rs"
version = "0.10.1"
authors = ["Sang Woo Kim <sngwkim915@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of EPICS motor record"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/epics-rs/epics-rs"

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

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

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

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

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

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

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

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

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

[[bench]]
name = "motor"
path = "benches/motor.rs"
harness = false

[dependencies.asyn-rs]
version = "0.10.1"

[dependencies.bitflags]
version = "2"

[dependencies.epics-base-rs]
version = "0.10.1"

[dependencies.epics-ca-rs]
version = "0.10.1"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]
