Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Contributor Getting Started guide, rename crates to core, remove wasm bindings #133

Closed
wants to merge 5 commits into from
Closed
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
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[workspace]
members = [
"crates/*",
"bindings/uniffi",
"bindings/wasm",
"core/*",
"bindings",
]
default-members = [
"crates/*",
"core/*",
]
resolver = "2"

Expand Down
12 changes: 0 additions & 12 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,9 @@ lint:
cargo fmt

bind:
just bind-ts
just bind-kotlin
just bind-swift

bind-ts:
cargo build --release --package web5-wasm
if ! command -v wasm-pack &> /dev/null; then cargo install wasm-pack; fi
wasm-pack build --target nodejs --out-dir ../../binded/ts/pkg bindings/wasm
rm binded/LICENSE
rm binded/ts/pkg/.gitignore

bind-kotlin:
cargo build --release --package web5-uniffi
cargo run --package web5-uniffi \
Expand Down Expand Up @@ -51,13 +43,9 @@ bind-swift:
-output binded/swift/libweb5-rs.xcframework

test-binded:
just test-ts
just test-kotlin
just test-swift

test-ts:
cd binded/ts && npm i && npm test

test-kotlin:
cd binded/kt && mvn clean test

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Work in progress

This repo is not ready for consumption, and is under heavy development
This repo is not ready for consumption, and is under heavy development

For getting started as a contributor, see [Contributor Getting Starter](./docs/contributor-getting-started.md).
Binary file modified binded/kt/src/main/resources/natives/libweb5.dylib
Binary file not shown.
Binary file modified binded/swift/libweb5-rs.xcframework/macos-arm64/libweb5.dylib
Binary file not shown.
55 changes: 0 additions & 55 deletions binded/ts/.eslintrc.cjs

This file was deleted.

4 changes: 0 additions & 4 deletions binded/ts/jest.config.js

This file was deleted.

Loading