# 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.69"
name = "signalfut"
version = "0.1.0"
authors = ["SteveLauC <stevelauc@outlook.com>"]
description = "A future similar to tokio::signal::unix::Signal, but can be used with all the runtimes"
readme = "README.md"
keywords = ["signal"]
categories = ["asynchronous"]
license = "Apache-2.0"
repository = "https://github.com/SteveLauC/signalfut"

[package.metadata.docs.rs]
targets = [
    "x86_64-unknown-linux-gnu",
    "aarch64-apple-darwin",
]

[dependencies.event-listener]
version = "5.3.1"

[dependencies.nix]
version = "0.29.0"
features = [
    "signal",
    "fs",
]

[dependencies.once_cell]
version = "1.19.0"

[dependencies.pin-project]
version = "1.1.5"

[dev-dependencies.async-std]
version = "1.12.0"
features = ["attributes"]

[dev-dependencies.compio]
version = "0.10.0"
features = [
    "macros",
    "runtime",
    "time",
]

[dev-dependencies.futures]
version = "0.3.30"

[dev-dependencies.monoio]
version = "0.2.3"
features = ["sync"]

[dev-dependencies.smol]
version = "2.0.0"

[dev-dependencies.tokio]
version = "1.38.0"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]

[target."cfg(target_os=\"linux\")".dev-dependencies.glommio]
version = "0.9.0"