instrument-components 0.1.1

High-level instrument discovery and typed IVI-inspired classes over VISA
Documentation
# 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 = "2021"
rust-version = "1.70"
name = "instrument-components"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level instrument discovery and typed IVI-inspired classes over VISA"
homepage = "https://josh-hemphill.github.io/instrument-components/"
documentation = "https://docs.rs/instrument-components"
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]
cross-compile = ["instrument-visa?/cross-compile"]
default = ["visa"]
record = ["instrument-core/record"]
tokio = [
    "instrument-core/async",
    "dep:tokio",
    "instrument-visa?/tokio",
]
visa = ["dep:instrument-visa"]

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

[[example]]
name = "assign_instruments"
path = "examples/assign_instruments.rs"
required-features = ["visa"]

[[example]]
name = "discover"
path = "examples/discover.rs"
required-features = ["visa"]

[[example]]
name = "discover_async"
path = "examples/discover_async.rs"
required-features = [
    "visa",
    "tokio",
]

[[example]]
name = "dmm_measure"
path = "examples/dmm_measure.rs"
required-features = ["visa"]

[[example]]
name = "manual_tcpip"
path = "examples/manual_tcpip.rs"
required-features = ["visa"]

[[example]]
name = "mock_fixture_ci"
path = "examples/mock_fixture_ci.rs"
required-features = []

[[example]]
name = "mock_fixture_ci_async"
path = "examples/mock_fixture_ci_async.rs"
required-features = ["tokio"]

[[test]]
name = "async_discovery_static"
path = "tests/async_discovery_static.rs"
required-features = ["tokio"]

[[test]]
name = "async_mock_catalog"
path = "tests/async_mock_catalog.rs"
required-features = ["tokio"]

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

[[test]]
name = "hardware"
path = "tests/hardware.rs"
required-features = ["visa"]

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

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

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

[dependencies.instrument-core]
version = "0.1.1"

[dependencies.instrument-visa]
version = "0.1.1"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "time",
    "sync",
    "rt",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dev-dependencies.instrument-core]
version = "0.1.1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "io-util",
    "time",
    "sync",
    "rt",
    "rt-multi-thread",
    "macros",
]