-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
campaignNecessary for the long-term goal of the projectNecessary for the long-term goal of the project
Description
I want to use features to divide up crates everywhere. Features have a compile cost because they add some amount of time, but they have no binary cost since they don't add at all to the size of the binary.
If we use features everywhere, we can reduce the size of our code pretty much everywhere. For example, if the fetcher CF worker uses the prime domain crate but isn't going to interact with the database, we can simply disable the relevant features. This is probably necessary because the DB crates won't compile to WASM, but even if it wasn't it would let use reduce binary size. Binary size is important especially for CF workers because they're limited to 1MB bundles.
Metadata
Metadata
Assignees
Labels
campaignNecessary for the long-term goal of the projectNecessary for the long-term goal of the project