go 0.1.1

A runtime-agnostic Go-style concurrency library for Rust
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"
name = "go"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A runtime-agnostic Go-style concurrency library for Rust"
homepage = "https://github.com/unsdk/go"
documentation = "https://docs.rs/go"
readme = false
keywords = [
    "async",
    "concurrency",
    "goroutine",
    "channel",
    "runtime-agnostic",
]
categories = [
    "asynchronous",
    "concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/unsdk/go"

[features]
default = ["rt-tokio"]
rt-async-std = ["dep:async-std"]
rt-smol = ["dep:smol"]
rt-tokio = ["dep:tokio"]

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

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

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

[dependencies.async-channel]
version = "2"

[dependencies.async-std]
version = "1"
optional = true

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

[dependencies.futures-lite]
version = "2"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.smol]
version = "2"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "time",
]
optional = true

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

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

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