-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
54 lines (46 loc) · 1.41 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# SPDX-FileCopyrightText: The discro authors
# SPDX-License-Identifier: MPL-2.0
[package]
name = "discro"
description = "DISCRete Observables for asynchronous Functional Reactive Programming (FRP)."
version = "0.34.0"
license = "MPL-2.0"
readme = "README.md"
repository = "https://github.com/uklotzde/discro"
keywords = ["async", "await", "reactive", "observable", "synchronization"]
categories = ["asynchronous", "concurrency"]
rust-version = "1.85"
edition = "2024"
include = ["README.md", "LICENSES/", "src/"]
[dependencies]
async-stream = { version = "0.3.5", optional = true }
futures-core = { version = "0.3.30", optional = true, default-features = false }
thiserror = "2.0.10"
[dependencies.tokio]
version = "1.39.1"
optional = true
default-features = false
features = ["sync"]
[dev-dependencies.tokio]
version = "1.39.1"
features = ["macros", "rt", "time"]
[features]
default = ["async-stream"]
async-stream = ["dep:async-stream", "dep:futures-core"]
tokio = ["dep:tokio"]
[lints.rust]
future_incompatible = "warn"
let_underscore = "warn"
missing_debug_implementations = "warn"
rust_2018_idioms = "warn"
rust_2021_compatibility = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
unused = "warn"
[lints.clippy]
pedantic = "warn"
clone_on_ref_ptr = "warn"
missing_const_for_fn = "warn"
self_named_module_files = "warn"
# Workaround for <https://github.com/rust-lang/rust-clippy/issues/12270>
lint_groups_priority = "allow"