Skip to content

Commit

Permalink
rm debug from src
Browse files Browse the repository at this point in the history
  • Loading branch information
Manwe-777 committed Apr 26, 2024
1 parent 485fa39 commit 03036e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
4 changes: 3 additions & 1 deletion src/debug.rs → debug.rs
Original file line number Diff line number Diff line change
@@ -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![
Expand Down

0 comments on commit 03036e8

Please sign in to comment.