# 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 = "gmt_dos-clients_m1-ctrl"
version = "6.0.0"
authors = ["Rod Conan <rconan@gmto.org>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GMT DOS M1 Control Client"
documentation = "https://docs.rs/gmt_dos-clients_m1-ctrl"
readme = "README.md"
keywords = [
    "telescope",
    "astronomy",
]
categories = [
    "science",
    "simulation",
]
license = "MIT"
repository = "https://github.com/rconan/dos-actors"
resolver = "2"

[package.metadata.docs.rs]
features = ["serde"]

[features]
explicit-loadcells = []
serde = [
    "bincode/serde",
    "nalgebra/serde-serialize",
]

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

[[example]]
name = "loadcells"
path = "examples/loadcells/main.rs"

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

[dependencies.bincode]
version = "2.0.1"
optional = true

[dependencies.center]
version = "1.0"
package = "gmt_m1-ctrl_center-actuators"

[dependencies.center-as-design]
version = "0.2.1"
package = "gmt_m1-ctrl_center-actuators"

[dependencies.gmt-fem]
version = "5.2"

[dependencies.gmt_dos-clients_fem]
version = "5.3"

[dependencies.gmt_dos-clients_io]
version = "4.3"

[dependencies.hardpoints-dynamics]
version = "1.1"
package = "gmt_m1-ctrl_hardpoints-dynamics"

[dependencies.hardpoints-dynamics-as-design]
version = "0.2.1"
package = "gmt_m1-ctrl_hardpoints-dynamics"

[dependencies.interface]
version = "1.5"
package = "gmt_dos-actors-clients_interface"

[dependencies.log]
version = "0.4.29"

[dependencies.nalgebra]
version = "0.34"
features = [
    "serde",
    "serde-serialize",
]

[dependencies.outer]
version = "1.0"
package = "gmt_m1-ctrl_outer-actuators"

[dependencies.outer-as-design]
version = "0.2.1"
package = "gmt_m1-ctrl_outer-actuators"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.env_logger]
version = "0.11.10"

[dev-dependencies.gmt-fem]
version = "5.2"

[dev-dependencies.gmt_dos-actors]
version = "12.1"
features = ["serde"]

[dev-dependencies.gmt_dos-clients]
version = "5.1"

[dev-dependencies.gmt_dos-clients_arrow]
version = "2.3"

[dev-dependencies.gmt_dos-clients_fem]
version = "5.3"

[dev-dependencies.gmt_dos-clients_io]
version = "4.3"

[dev-dependencies.gmt_dos-clients_mount]
version = "4.1"

[dev-dependencies.gmt_dos-clients_scope]
version = "3.1"
features = ["server"]

[dev-dependencies.gmt_dos-clients_scope-client]
version = "0.2.2"

[dev-dependencies.lom]
version = "2.6.2"
features = ["main"]
package = "gmt-lom"

[dev-dependencies.matio-rs]
version = "1.6"
features = ["nalgebra"]

[dev-dependencies.serde-pickle]
version = "1.2.0"

[dev-dependencies.skyangle]
version = "0.4.0"

[dev-dependencies.tokio]
version = "1.52.1"
features = ["full"]

[dev-dependencies.tokio-test]
version = "0.4"

[build-dependencies.gmt-fem-code-builder]
version = "2.3"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(fem)",
    "cfg(m1_hp_force_extension)",
]
