turnloop 0.1.0-alpha.4

An embeddable event-loop driver, turned by its host
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 = "2024"
rust-version = "1.97.1"
name = "turnloop"
version = "0.1.0-alpha.4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An embeddable event-loop driver, turned by its host"
documentation = "https://docs.rs/turnloop"
readme = "README.md"
keywords = [
    "event-loop",
    "networking",
    "sans-io",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/PerryTS/turnloop"

[package.metadata.turnloop-ci]
role = "core"
wasi-lib-tests = true
loom-filters = ["models"]
miri-filters = [
    "timer::tests",
    "table::tests",
]

[features]
default = []
epoll-timerfd = []
executor = ["dep:futures-io"]
process-sigchld = []
wasi-p3-experimental = ["dep:wasip3"]
web-worker = []

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

[dependencies.futures-io]
version = "0.3.31"
optional = true

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.js-sys]
version = "0.3.85"

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.wasm-bindgen]
version = "0.2.108"

[target.'cfg(all(target_os = "wasi", target_env = "p2"))'.dependencies.wasip2]
version = "1.0.3"

[target.'cfg(all(target_os = "wasi", target_env = "p3"))'.dependencies.wasip3]
version = "0.8.0"
optional = true

[target."cfg(loom)".dependencies.loom]
version = "=0.7.2"

[target."cfg(unix)".dependencies.libc]
version = "0.2.175"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
    "Wdk_Storage_FileSystem",
    "Win32_Foundation",
    "Win32_Networking_WinSock",
    "Win32_Security",
    "Win32_Storage_FileSystem",
    "Win32_System_Console",
    "Win32_System_IO",
    "Win32_System_JobObjects",
    "Win32_System_LibraryLoader",
    "Win32_System_Pipes",
    "Win32_System_Threading",
    "Win32_UI_WindowsAndMessaging",
]

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(loom)",
    'cfg(turnloop_backend, values("kqueue", "epoll", "iocp", "wasi_p2", "wasi_p3", "web", "unsupported"))',
]