waku-org / waku-rust-bindings

Rust wrapper over go-waku ffi
14 stars 6 forks source link

Crate is to big to be uploaded to crates.io #55

Closed danielSanchezQ closed 9 months ago

danielSanchezQ commented 1 year ago

We need to filter out unnecessary go source code from the vendor folder. @fryorcraken took a look and the coverage forlder is the one to strip out as a lower hanging fruit, but other stuff may be taken away as well.

▶ du -sh * |sort -h
4.0K    CHANGELOG.md
4.0K    Dockerfile
4.0K    LICENSE-MIT
4.0K    pkg
4.0K    VERSION
8.0K    go.mod
8.0K    hooks
8.0K    Makefile
8.0K    README.md
12K    LICENSE-APACHEv2
16K    build
24K    logging
28K    ci
28K    scripts
28K    tests
40K    cmd
64K    mobile
68K    library
192K    docs
244K    go.sum
1.3M    examples
1.5M    waku
13M    coverage
danielSanchezQ commented 1 year ago

It should be possible to do it with the exclude attribute in the [package] section on the Cargo.toml file:

[package]
exclude = ["..."]
richard-ramos commented 9 months ago

This should be fixed already