Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@ deno.lock
**/*.rs.bk
.rusk
.vscode

# Ignore IDE specific files
.idea

# Ignore macOS specific files
.DS_Store

# Ignore C headers
*.h
1 change: 1 addition & 0 deletions wallet-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ tiny-bip39 = { workspace = true }

[features]
debug = []
ffi = []
4 changes: 3 additions & 1 deletion wallet-core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ help: ## Display this help screen
test:
cargo test --release


wasm: ## Build the WASM files
@cargo wasm

Expand All @@ -18,4 +17,7 @@ clippy: ## Run clippy
doc: ## Run doc gen
@cargo doc --release

headers: ## Generate C headers
@cbindgen --crate dusk-wallet-core --output wallet-core.h --config cbindgen.toml

.PHONY: all help test
5 changes: 5 additions & 0 deletions wallet-core/cbindgen.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language = "C"
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"

[defines]
"feature = ffi" = "ffi"
Loading
Loading