Skip to content

Commit 35acdb3

Browse files
committed
fix: crossbeam is now optional
1 parent 24a0330 commit 35acdb3

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Cargo.toml

+11-8
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ memory_db = []
1313

1414
plot_matplotlib = ["inline-python"]
1515
plot_plotters = ["plotters", "png"]
16-
plot_charming = ["charming"]
16+
plot_charming = ["charming", "crossbeam"]
1717

1818
plot_plotters_static = ["plot_plotters", "plotters/ab_glyph"]
1919
plot_plotters_dynamic = ["plot_plotters", "plotters/ttf"]
@@ -29,7 +29,6 @@ async-trait = "0.1"
2929
chrono = { version = "0.4", features = ["serde"] }
3030
chrono-tz = "0.8"
3131
clap = { version = "4", features = ["derive"] }
32-
crossbeam = "0.8"
3332
derivative = "2"
3433
dotenv = "0.15"
3534
hex = "0.4"
@@ -61,6 +60,16 @@ inline-python = { version = "0.12", optional = true }
6160
# plot_plotters
6261
png = { version = "0.17", optional = true }
6362

63+
# plot_charming
64+
crossbeam = { version = "0.8", optional = true }
65+
66+
[dependencies.charming]
67+
version = "0.3"
68+
optional = true
69+
default-features = false
70+
features = ["ssr"]
71+
72+
6473
[dependencies.serenity]
6574
version = "0.12"
6675
optional = true
@@ -113,11 +122,5 @@ features = [
113122
"rustls",
114123
]
115124

116-
[dependencies.charming]
117-
version = "0.3"
118-
optional = true
119-
default-features = false
120-
features = ["ssr"]
121-
122125
[dev-dependencies]
123126
pretty_assertions = "1"

0 commit comments

Comments
 (0)