Skip to content

Commit

Permalink
fix: crossbeam is now optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kawaemon authored and nanai10a committed Jun 19, 2024
1 parent 9b7c673 commit 2360f7c
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ memory_db = []

plot_matplotlib = ["inline-python"]
plot_plotters = ["plotters", "png"]
plot_charming = ["charming"]
plot_charming = ["charming", "crossbeam"]

plot_plotters_static = ["plot_plotters", "plotters/ab_glyph"]
plot_plotters_dynamic = ["plot_plotters", "plotters/ttf"]
Expand All @@ -29,7 +29,6 @@ async-trait = "0.1"
chrono = { version = "0.4", features = ["serde"] }
chrono-tz = "0.8"
clap = { version = "4", features = ["derive"] }
crossbeam = "0.8"
derivative = "2"
dotenv = "0.15"
hex = "0.4"
Expand Down Expand Up @@ -61,6 +60,16 @@ inline-python = { version = "0.12", optional = true }
# plot_plotters
png = { version = "0.17", optional = true }

# plot_charming
crossbeam = { version = "0.8", optional = true }

[dependencies.charming]
version = "0.3"
optional = true
default-features = false
features = ["ssr"]


[dependencies.serenity]
version = "0.12"
optional = true
Expand Down Expand Up @@ -113,11 +122,5 @@ features = [
"rustls",
]

[dependencies.charming]
version = "0.3"
optional = true
default-features = false
features = ["ssr"]

[dev-dependencies]
pretty_assertions = "1"

0 comments on commit 2360f7c

Please sign in to comment.