Binary size
#3158
-
Is there anyway to strip down this library to make the binary size more reasonable? Ideally the binary should be less than 5mb. I am willing to sacrifice some functionality or whatever else to bring down the size. |
Beta Was this translation helpful? Give feedback.
Answered by
Darin755
Jan 25, 2025
Replies: 1 comment 2 replies
-
Use in RUST #3088 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What if I don't want to use Rust?
Anyway it isn't a big deal since libp2p was kind of a extra bonus anyway. I'm just going to use QUIC by itself with my own custom gossip protocol. What I've discovered is that libp2p adds a ton of overhead both in complexity and resource usage. There is way less overhead for me to just use IP addresses. The downside is that there is no easy NAT traversal but honestly that isn't a big deal since I can always use wireguard for remote devices in the cluster.