# 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 = "fpgad"
version = "0.1.1"
authors = [
    "Talha Can Havadar <talha.can.havadar@canonical.com>",
    "Artie Poole <stuart.poole@canonical.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An FPGA manager daemon that handles the dirty work for you."
homepage = "https://github.com/canonical/fpgad"
readme = "README.md"
keywords = [
    "fpga",
    "daemon",
    "embedded",
    "hardware",
    "xilinx",
]
categories = [
    "hardware-support",
    "embedded",
]
license = "GPL-3.0"
repository = "https://github.com/canonical/fpgad"

[features]
default = ["softeners-all"]
softeners = []
softeners-all = [
    "softeners",
    "xilinx-dfx-mgr",
]
xilinx-dfx-mgr = ["softeners"]

[[bin]]
name = "fpgad"
path = "src/main.rs"

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

[dependencies.env_logger]
version = "0.11.8"

[dependencies.fpgad_macros]
version = "0.1.1"

[dependencies.log]
version = "0.4.27"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.47.0"
features = ["full"]

[dependencies.zbus]
version = "5.9.0"
features = ["tokio"]
default-features = false

[dev-dependencies.googletest]
version = "0.14.2"

[dev-dependencies.rstest]
version = "0.26.1"
