Skip to content

Minimize Dependencies (i.e. disable default features or remove dependencies if possible) #12

@AS1100K

Description

@AS1100K

Currently Cargo.toml is pretty good, it has few dependencies, but try to minimize them further

Old Cargo.toml
[dependencies]
bevy_app = "0.15"
bevy_ecs = "0.15"
flume = "0.11"
serenity = { version = "0.12", features = [
    "gateway",
    "framework",
    "model",
], optional = true }
paste = "1"
tracing = "0.1"
tokio = { version = "1", features = ["rt-multi-thread", "rt"] }
discord-sdk = { version = "0.4", optional = true }
async-trait = { version = "0.1", optional = true }
EDIT: Current Cargo.toml
[dependencies]
bevy_app = { version = "0.15", default-features = false }
bevy_ecs = { version = "0.15", default-features = false }
flume = "0.11"
serenity = { version = "0.12", features = [
    "gateway",
    "framework",
    "model",
], optional = true }
paste = "1"
tracing = "0.1"
tokio = { version = "1", features = ["rt-multi-thread", "rt"] }
discord-sdk = { version = "0.4", optional = true }
async-trait = { version = "0.1", optional = true }

[dev-dependencies]
bevy = "0.15"
serde_json = "1"

Also, paste is unmaintained, issue #2215 on advisory-db

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency fileenhancementNew feature or requestgood first issueGood for newcomers

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions