Skip to content

Commit

Permalink
Sort dependencies and features
Browse files Browse the repository at this point in the history
  • Loading branch information
vE5li committed May 8, 2024
1 parent d15731e commit 4c1288a
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 14 deletions.
7 changes: 3 additions & 4 deletions korangar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ chrono = { workspace = true }
collision = { git = "https://github.com/rustgd/collision-rs.git" }
derive-new = { workspace = true }
image = "0.24.2"
korangar_debug = { workspace = true, optional = true }
korangar_interface = { workspace = true, features = ["serde", "cgmath"] }
korangar_networking = { workspace = true, features = ["debug"] }
lunify = "1.1.0"
mlua = { version = "0.8", features = ["lua51", "vendored"] }
num = { workspace = true }
# TODO: Remove or move to workspace
option-ext = "0.2.0"
pathfinding = "2.2.2"
korangar_debug = { workspace = true, optional = true }
ragnarok_bytes = { workspace = true, features = ["derive", "cgmath"] }
ragnarok_formats = { workspace = true, features = ["interface"] }
ragnarok_packets = { workspace = true, features = ["derive", "interface", "packet-to-prototype-element"] }
Expand All @@ -39,7 +38,7 @@ xml-rs = "0.8.0"
yazi = "0.1.4"

[features]
patched_as_folder = []
debug = ["korangar_debug", "ragnarok_packets/debug", "random_color"]
unicode = ["korangar_debug/unicode"]
patched_as_folder = []
plain = ["debug"]
unicode = ["korangar_debug/unicode"]
2 changes: 1 addition & 1 deletion korangar_debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ edition = "2021"

[dependencies]
chrono = { workspace = true }
lazy_static = { version = "1.4.0" }
debug_procedural = { path = "procedural" }
lazy_static = { version = "1.4.0" }

[features]
unicode = []
2 changes: 1 addition & 1 deletion korangar_debug/procedural/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ proc-macro = true

[dependencies]
proc-macro2 = "*"
syn = { version = "2.0", features = ["full"] }
quote = "1.0"
syn = { version = "2.0", features = ["full"] }
4 changes: 2 additions & 2 deletions korangar_interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ edition = "2021"
[dependencies]
bitflags = { workspace = true }
cgmath = { workspace = true, optional = true }
interface_procedural = { path = "procedural" }
korangar_debug = { workspace = true, optional = true }
num = { workspace = true }
option-ext = "0.2.0"
korangar_debug = { workspace = true, optional = true }
interface_procedural = { path = "procedural" }
serde = { workspace = true, optional = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion korangar_interface/procedural/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ proc-macro = true

[dependencies]
proc-macro2 = "*"
syn = { version = "2.0", features = ["full"] }
quote = "1.0"
syn = { version = "2.0", features = ["full"] }
2 changes: 1 addition & 1 deletion korangar_networking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ ragnarok_packets = { workspace = true }
tokio = { version = "1.37", features = ["full"] }

[dev-dependencies]
korangar_debug = { workspace = true }
reqwest = { version = "0.12", features = ["json"] }
serde = { version = "1.0", features = ["derive"] }
korangar_debug = { workspace = true }

[features]
debug = []
4 changes: 2 additions & 2 deletions ragnarok_formats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ version = "0.1.0"
edition = "2021"

[dependencies]
bitflags = { workspace = true }
cgmath = { workspace = true }
ragnarok_bytes = { workspace = true, features = ["derive", "cgmath"] }
korangar_interface = { workspace = true, optional = true }
bitflags = { workspace = true }
ragnarok_bytes = { workspace = true, features = ["derive", "cgmath"] }

[features]
interface = ["korangar_interface"]
2 changes: 1 addition & 1 deletion ragnarok_packets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ edition = "2021"

[dependencies]
derive-new = { workspace = true }
korangar_interface = { workspace = true, optional = true }
ragnarok_bytes = { workspace = true, features = ["derive"] }
ragnarok_procedural = { workspace = true }
korangar_interface = { workspace = true, optional = true }

[features]
debug = []
Expand Down
2 changes: 1 addition & 1 deletion ragnarok_procedural/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ proc-macro = true

[dependencies]
proc-macro2 = "*"
syn = { version = "2.0", features = ["full"] }
quote = "1.0"
syn = { version = "2.0", features = ["full"] }

0 comments on commit 4c1288a

Please sign in to comment.