[package]
edition = "2021"
rust-version = "1.70"
name = "instrument-core"
version = "0.1.1"
build = false
exclude = ["/fixtures"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "VISA-agnostic transport, SCPI session, discovery, and mock fixtures for instrument control"
homepage = "https://josh-hemphill.github.io/instrument-components/"
documentation = "https://docs.rs/instrument-core"
readme = "README.md"
keywords = [
"visa",
"scpi",
"instrument",
"ni-visa",
"gpib",
]
categories = [
"science",
"hardware-support",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/josh-hemphill/instrument-components"
[features]
async = ["dep:tokio"]
default = []
record = []
[lib]
name = "instrument_core"
path = "src/lib.rs"
[[test]]
name = "async_diagnostics"
path = "tests/async_diagnostics.rs"
required-features = ["async"]
[[test]]
name = "async_reliability"
path = "tests/async_reliability.rs"
required-features = ["async"]
[[test]]
name = "diagnostics"
path = "tests/diagnostics.rs"
[[test]]
name = "probe_queue_regressions"
path = "tests/probe_queue_regressions.rs"
[[test]]
name = "reliability"
path = "tests/reliability.rs"
[[test]]
name = "review_regressions"
path = "tests/review_regressions.rs"
[[test]]
name = "shared_contracts"
path = "tests/shared_contracts.rs"
[[test]]
name = "transcript"
path = "tests/transcript.rs"
[dependencies.indexmap]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"time",
"sync",
"rt",
]
optional = true
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"io-util",
"time",
"sync",
"rt",
"rt-multi-thread",
"macros",
]