Closed
Description
Background:
I am developing a rust sdk with strong binary size requirement, after introduce url crate, the binary size increased by around 400kb.
I did a quick hack, delete all code reference to idna (4 to 5 places), and compare the final binary size, confirmed idna is the cause.
# before
-rwxr-xr-x 1 xxxxxx staff 1143856 Nov 16 12:12 ../target/release/deps/parse_url-124867e06fe8f448
# after delete idna code
-rwxr-xr-x 1 xxxxxx staff 591008 Nov 16 12:16 ../target/release/deps/parse_url-8091d2463bfcb288
Metadata
Metadata
Assignees
Labels
No labels