diff --git a/Cargo.toml b/Cargo.toml index 443f3e2..58ca6ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,14 +4,10 @@ name = "mtga-reader" version = "0.0.0" [lib] -crate-type = ["cdylib", "lib"] +crate-type = ["cdylib"] name = "mtga_reader" path = "src/lib.rs" -[[bin]] -name = "debugger" -path = "src/debug.rs" - [dependencies] # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix napi = { version = "2.12.2", default-features = false, features = ["napi4", "serde-json"] } diff --git a/src/debug.rs b/debug.rs similarity index 63% rename from src/debug.rs rename to debug.rs index 779f8ab..2cf13ad 100644 --- a/src/debug.rs +++ b/debug.rs @@ -1,4 +1,6 @@ -use mtga_reader::read_data; +// Should enable [lib] crate-type = ["lib"] in Cargo.toml to use this .rs +// im pretty sure there is a way to make this work trough parameters but i dont know how +use mono_reader::MonoReader; pub fn main() { let path = vec![