summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-04-27 12:38:40 +1200
committerBen Bridle <ben@derelict.engineering>2025-04-27 12:38:40 +1200
commitc13c1f2748598343e01128c3f734df309aa4a26d (patch)
tree0fdef6bbdac5e32031ea90146ad030d4892e260a /src/lib.rs
parent55e64d35273a425b52b7d913b9368af2f0370bbb (diff)
downloadassembler-c13c1f2748598343e01128c3f734df309aa4a26d.zip
Replace ansi library with inked library
The inked library handles colours correctly on Windows. The log library has also been updated to the newer version which uses inked internally.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6c076d5..4754663 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -12,3 +12,6 @@ pub use types::*;
pub type ParseFn = fn(&str, Option<&Path>) -> Option<Vec<Symbol>>;
pub type PushFn = fn(&mut String, &SourceFile);
+
+use log::*;
+use inked::*;