Skip to content

Commit

Permalink
stop after note is mined
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Sep 14, 2024
1 parent a3c0c48 commit e235a2f
Show file tree
Hide file tree
Showing 2 changed files with 227 additions and 201 deletions.
10 changes: 6 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ repository = "https://github.com/sandwichfarm/notemine"
license = "GPL-3.0-only"

[lib]
name = "notemine"
path = "src/lib.rs"
#crate-type = ["cdylib"]
crate-type = ["cdylib"]
#name = "notemine"
#path = "src/lib.rs"

#crate-type = ["cdylib", "rlib"]

[dependencies]
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -23,6 +25,6 @@ serde-wasm-bindgen = "0.6" # Added serde-wasm-bindgen
console_error_panic_hook = "0.1.6" # Added for better error reporting

[profile.release]
opt-level = "z" # Optimize for size; alternatively, use "s" for size or "3" for speed
opt-level = "z"
lto = true
codegen-units = 1
Loading

0 comments on commit e235a2f

Please sign in to comment.