1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.60.0"
15name = "oneshot-uniffi"
16version = "0.1.6"
17authors = ["Linus Färnstrand <[email protected]>"]
18description = """
19Patched version of oneshot specifically for the UniFFI project.
20
21This removes the `loom` target and dependency which helps with UniFFI's downstream consumers.
22"""
23readme = "README.md"
24keywords = [
25    "oneshot",
26    "spsc",
27    "async",
28    "sync",
29    "channel",
30]
31categories = [
32    "asynchronous",
33    "concurrency",
34]
35license = "MIT OR Apache-2.0"
36repository = "https://github.com/faern/oneshot"
37
38[[bench]]
39name = "benches"
40harness = false
41
42[dev-dependencies.async-std]
43version = "1"
44features = ["attributes"]
45
46[dev-dependencies.criterion]
47version = "0.3"
48
49[dev-dependencies.tokio]
50version = "1"
51features = [
52    "rt",
53    "rt-multi-thread",
54    "macros",
55    "time",
56]
57
58[features]
59async = []
60default = [
61    "std",
62    "async",
63]
64std = []
65