File: remove-tokio.diff

package info (click to toggle)
rust-datasize 0.2.15-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184 kB
  • sloc: makefile: 4
file content (29 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (2)
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
Description: Remove tokio-types feature & tokio dependency
 because Debian ships tokio 1.24.2
 Moreover, 1.24.2 doesn't have rt-core feature
Last-Update: 2023-02-27
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -42,15 +42,6 @@
 version = "1.4.2"
 optional = true
 
-[dependencies.tokio]
-version = "0.2.22"
-features = [
-    "rt-core",
-    "sync",
-]
-optional = true
-default-features = false
-
 [features]
 const-generics = []
 default = [
@@ -69,4 +60,3 @@
     "std",
 ]
 std = []
-tokio-types = ["tokio"]