summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-07-06 15:15:26 +0200
committerHampusM <hampus@hampusmat.com>2026-07-06 15:15:26 +0200
commitdff4aaca0980a9dbd4cb005c6460d5075556a943 (patch)
treed0977f30b7044b15f81eeba60618ac3200e9b739
parentf3ddd36d2ce9d02da65bbebfd5c14c55a9939e63 (diff)
refactor(engine): remove enabling ansi support on Windows
-rw-r--r--Cargo.lock41
-rw-r--r--engine/Cargo.toml1
-rw-r--r--engine/src/lib.rs3
3 files changed, 1 insertions, 44 deletions
diff --git a/Cargo.lock b/Cargo.lock
index c806536..55e56fd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -605,7 +605,6 @@ dependencies = [
"engine-reflection",
"glutin",
"image",
- "nu-ansi-term 0.46.0",
"opengl-bindings",
"paste",
"portable-atomic",
@@ -1287,16 +1286,6 @@ dependencies = [
[[package]]
name = "nu-ansi-term"
-version = "0.46.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
-dependencies = [
- "overload",
- "winapi",
-]
-
-[[package]]
-name = "nu-ansi-term"
version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
@@ -1625,12 +1614,6 @@ dependencies = [
]
[[package]]
-name = "overload"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
-
-[[package]]
name = "parking_lot"
version = "0.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2425,7 +2408,7 @@ checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319"
dependencies = [
"chrono",
"matchers",
- "nu-ansi-term 0.50.3",
+ "nu-ansi-term",
"once_cell",
"regex-automata",
"sharded-slab",
@@ -2754,22 +2737,6 @@ dependencies = [
]
[[package]]
-name = "winapi"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
-dependencies = [
- "winapi-i686-pc-windows-gnu",
- "winapi-x86_64-pc-windows-gnu",
-]
-
-[[package]]
-name = "winapi-i686-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
-
-[[package]]
name = "winapi-util"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2779,12 +2746,6 @@ dependencies = [
]
[[package]]
-name = "winapi-x86_64-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
-
-[[package]]
name = "windows-core"
version = "0.62.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/engine/Cargo.toml b/engine/Cargo.toml
index 1dc6431..6e13c03 100644
--- a/engine/Cargo.toml
+++ b/engine/Cargo.toml
@@ -12,7 +12,6 @@ tracing = "0.1.39"
seq-macro = "0.3.5"
paste = "1.0.14"
safer-ffi = "0.1.13"
-nu-ansi-term = "0.46.0"
crossbeam-queue = "0.3.12"
engine-macros = { workspace = true }
engine-ecs = { workspace = true }
diff --git a/engine/src/lib.rs b/engine/src/lib.rs
index 01c0701..a5fa755 100644
--- a/engine/src/lib.rs
+++ b/engine/src/lib.rs
@@ -56,9 +56,6 @@ impl Engine
#[must_use]
pub fn new() -> Self
{
- #[cfg(windows)]
- nu_ansi_term::enable_ansi_support().unwrap();
-
let mut world = World::new();
world.add_sole(DeltaTime::default()).ok();