Commit Graph

40 Commits

Author SHA1 Message Date
Gusto 1edc69fff0
Use feature flag in docs.rs env because of proc-macro-error crate failures 2023-12-05 17:12:21 +02:00
Gusto 4ceca08f4a
Check for DOCS_RS env var to skip building waku go bin 2023-12-05 17:07:55 +02:00
richΛrd dc32f22f4a
feat: add filterv2 functions (#75) 2023-11-07 15:50:35 -04:00
richΛrd dc641645b9
refactor: use callbacks to interact with go-waku bindings and remove JsonResponse (#74) 2023-11-02 13:59:41 -04:00
richΛrd ba17a46978
fix: race condition in peer connector / manager interaction (#81)
See https://github.com/waku-org/go-waku/pull/837
2023-10-30 08:18:38 -04:00
Richard Ramos e61732a8c7
feat: v0.3.1 2023-10-01 15:47:17 -04:00
richΛrd 32bd05c6fc
feat: update go-waku version (#70)
- removes encoding functions from relay and lightpush
- adds `encode_symmetric` and `encode_asymmetric` to `WakuMessage`
- don't panic when unserializing json
2023-09-27 19:19:59 -04:00
richΛrd a487f79179
feat: websockets support (#63) 2023-07-13 18:33:24 -04:00
RichΛrd a4bfddece7
feat: update discv5 bootnodes (#62) 2023-06-12 09:46:13 -04:00
You Guang (Alan Matthew) 8d825ad22e
Issue Suggestion - Exclude unnecessary files from the crate (#60) 2023-05-16 16:18:36 -04:00
Richard Ramos 6a2d449d7d
fix: changes required to publish latest version 2023-05-11 14:01:34 -04:00
RichΛrd ce9f71a592
Add new changes from go-waku (#58)
* feat: add ephemeral and meta fields
* feat: seenTTL
* feat: expose list of topics
2023-05-10 10:13:50 -04:00
danielsanchezq 370d311b39 Rc3 2023-03-17 11:05:53 +01:00
gusto 54a80f83cc
Pass gossipsub params to go-waku node (#50)
* Pass gossipsub params to go-waku node

* Make gossipsub conf test run by default

* Use merge commit to master for go-waku

* Add tests for info logs
2023-03-13 10:51:15 +02:00
gusto 31255ac4c0
Update vendor with logLevel fix (#49) 2023-02-27 13:15:59 +02:00
Daniel Sanchez b8d7bdc850
Rc 1 (#48)
* Update vendor with nil enr fix

* RC 1
2023-02-22 11:36:28 +01:00
Daniel Sanchez c4ea87d7e5
Beta 5 (#47)
* Missing decode calls

* Dangling double free on waku default pubsub topic

* Dangling double free on waku create pubsub topic

* Update deps
Fix update changes
Upgrade beta version

* Add extra info to dns discovery results

* Update vendor
2023-02-20 12:44:55 +01:00
Daniel Sanchez Quiros a8b9bf22f5 Prepare for beta4 2023-02-15 11:42:38 +01:00
Daniel Sanchez 3593ff18e6
Expose local archive query method (#44)
* Update vendor

* Expose local archive query
Update to beta4

* Update bindings package to beta4

* Update bindings package to beta4

* Make store response fields public

* Added store configuration

* Use decode response function
2023-02-15 10:57:39 +01:00
gusto 4c71e135ab
Run clippy --fix for updated lint requirements (#43) 2023-01-27 01:06:21 -08:00
Daniel Sanchez 67e5aef69a
Beta3 (#42)
* Update waku to the latest main

* Update beta version

* Update deps

* Add relay topics config entry

* Update test config
2023-01-26 12:58:45 +01:00
Daniel Sanchez c745839d93
Get versions ready to publish 0.1.0-beta2 (#39) 2023-01-06 10:29:10 +01:00
al8n f9b8c8eb43 remove discv5 apis 2023-01-05 22:53:30 +13:00
al8n 04cfe90d26 update submodule 2022-12-22 23:23:11 +13:00
al8n b7e4de39ec update submodule 2022-12-22 00:11:54 +13:00
gusto 18436dfc21
Set GOCACHE variable to off for crates.io (#25)
* Set GOCACHE variable to off for crates.io

* Modify GOCACHE only for crates.io builds
2022-11-30 09:45:22 +01:00
Daniel Sanchez 533619670f
Publish build (#22)
* Fix build errors when publishing

* Set VAC licences

* Set beta version to bindings
2022-11-28 17:57:20 +01:00
Daniel Sanchez b59bf33933
Information prior to publishing (#21) 2022-11-28 10:18:42 +01:00
Daniel Sanchez d006ef4ecd
Crates publish setup (#17)
* Added config.toml to waku crate

* Update gitignore

* Update readme

* Remove private items docs

* Fix docs links

* Refactor waku to waku-bindings crate
Added badges

* Fix links

* Add usage
2022-11-02 08:21:15 -07:00
Daniel Sanchez 0333d3256c
Dns discovery (#15)
* Updated vendor source

* Added dns discovery method

* Use latest Go in check workflow

* Use host for nameserver

* Use reference instead of move Host
2022-10-25 11:25:23 +02:00
Daniel Sanchez 9993d2d991
Chat example (#11)
* Added main skeleton for toy-chat example

* Implement chat example main block

* Polish chat and add necessary fixes

* Added author info to crates
2022-10-19 15:58:09 +02:00
Daniel Sanchez c82f4ebe4a
Main test and extended fixes (#10)
* Pipe protocol id

* Fix peer id connect

* Fix WakuPubSubTopic parsing

* Use optional timeout on publish messages

* More test cases

* Update vendor

* Use connect with peer_id

* Fix signal -> event -> message deserialization

* Actively wait for result to arrive the test node

* Clippy happy

* Clippy happy on tests

* Cleaning and adjusting types

* Updated vendor

* Fix keys dance

* Fix lightpush

* Add disconnect test

* Ignore node test for CI

* Add gcc on gh actions

* Reverse installing gcc

* Bring back gcc just for ubuntu and windows

* Removed rust-crypto unused dependency

* Clippy happy
2022-10-17 19:30:07 +02:00
Daniel Sanchez d320e55701
Node management (#5)
* Add modules

* Implemented waku config struct

* Implemented waku management functions

* Use optional config in waku_new

* Added config docs

* Fix tests

* Dbg error on gh actions

* Added fail result to dbg

* Removed gh actions dbg

* NodeConfig -> WakuNodeConfig

* Removed duplicated test

* Implemented safety layer on top of node

* Add exclusive running test

* Use static instead of const for global flag

* Do not allow for double initialization

* Update submodule to latest master commit with responses fixes

* Merge tests
2022-10-03 15:21:19 +02:00
Daniel Sanchez 84d251ff1b
Hide waku-sys binding warnings (#4) 2022-09-29 16:22:06 +02:00
Daniel Sanchez 7b7ba2975d
General types (#1)
* Added JsonResponse type

* Add dependencies

* Added wakumessage

* Adjust go build to link with missing simbols on osx

* Added general types

* Nitpick in docs
2022-09-28 16:03:47 +02:00
Daniel Sanchez 7ce8cadaa5
Ci and multiplatform build (#2)
* Make go discoverable in unix systems

* Refactor build script

* Fix which path

* Fix typo in error message

* Added gh actions ci

* Fix lib_dir path

* Use checkout v3

* Use recursive submodules

* Filter branches
Use submodule force update

* Use git directly instead of action

* Build go with relative paths

* Added missing cargo config file

* Use target os instead of family

* Add targets to matrix

* Try to use default for target

* Set toolchain

* Fix toolchain matrix
2022-09-28 15:45:26 +02:00
danielsanchezq 5c35417f49 Tiny docs 2022-09-23 08:47:28 +02:00
danielsanchezq 1dd73da1be Make c bindings from go lib build, compile and link 2022-09-22 15:13:16 +02:00
danielsanchezq 1b132c8a1f Moved go-waku submodule to v0.2.2 2022-09-21 16:09:32 +02:00
danielsanchezq 0de795496b Main project structure 2022-09-21 16:06:27 +02:00