Skip to content

Commit

Permalink
Remove website code (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph authored Jan 30, 2025
1 parent 1b29610 commit df2fea9
Show file tree
Hide file tree
Showing 47 changed files with 2 additions and 8,887 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ jobs:
run: rustup target add i686-unknown-linux-gnu
- name: "Run test on i686"
run: cargo test --target i686-unknown-linux-gnu

WASM:
name: WASM - stable toolchain
runs-on: ubuntu-latest
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/static.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
**/target
www/bip322*
**/node_modules
**/dist
.vite
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,6 @@ The goal is to provide a full signing and verifying library similar to
- from [bip322-js](https://github.com/ACken2/bip322-js/blob/main/test/Verifier.test.ts)
- from [BIP-322](https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki#test-vectors)

## Compile for WASM (on MacOs)

```
brew install llvm
cargo install wasm-pack
rustup target add wasm32-unknown-unknown
AR=/opt/homebrew/opt/llvm/bin/llvm-ar \
CC=/opt/homebrew/opt/llvm/bin/clang \
wasm-pack build \
--target web \
--out-name bip322 \
www
```

The WASM binary and Javascript glue code can then be found in `www/pkg`. The
[bip322.rs](https://bip322.rs) site also runs a small WASM binary if you'd like
to check it out.

## MSRV

At the moment the Minimum Supported Rust Version (MSRV) is 1.63. You can check
Expand Down
3 changes: 2 additions & 1 deletion contrib/wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ set -euox pipefail
clang --version
CARGO_TARGET_DIR=wasm cargo install --force wasm-pack
printf '\n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml
CC=clang wasm-pack build www/verify
printf '\n[dependencies]\nwasm-bindgen = "0.2"\n' >> Cargo.toml
CC=clang wasm-pack build .
# CC=clang wasm-pack test --node
1 change: 0 additions & 1 deletion www/CNAME

This file was deleted.

21 changes: 0 additions & 21 deletions www/components.json

This file was deleted.

28 changes: 0 additions & 28 deletions www/eslint.config.js

This file was deleted.

23 changes: 0 additions & 23 deletions www/justfile

This file was deleted.

Loading

0 comments on commit df2fea9

Please sign in to comment.