miniz_oxide is appearing in my final build, acording to cargo-bloat, no I don't depend on it, even transiently.
cargo tree:
untitled v0.1.0 (/home/duplexsystem/CLionProjects/untitled)
├── ahash v0.7.6
│ ├── getrandom v0.2.7
│ │ ├── cfg-if v1.0.0
│ │ └── libc v0.2.126
│ └── once_cell v1.13.0
│ └── parking_lot_core v0.9.3
│ ├── cfg-if v1.0.0
│ ├── libc v0.2.126
│ └── smallvec v1.9.0
│ [build-dependencies]
│ └── version_check v0.9.4
├── bitvec_simd v0.20.5 (https://github.com/duplexsystem/bitvec_simd.git#cedccf3e)
│ ├── smallvec v1.9.0
│ └── wide v0.7.4
│ ├── bytemuck v1.11.0
│ └── safe_arch v0.6.0
│ └── bytemuck v1.11.0
├── crossbeam-queue v0.3.6
│ ├── cfg-if v1.0.0
│ └── crossbeam-utils v0.8.11
│ ├── cfg-if v1.0.0
│ └── once_cell v1.13.0 (*)
├── dashmap v5.3.4
│ ├── cfg-if v1.0.0
│ ├── hashbrown v0.12.3
│ ├── lock_api v0.4.7
│ │ └── scopeguard v1.1.0
│ │ [build-dependencies]
│ │ └── autocfg v1.1.0
│ └── parking_lot_core v0.9.3 (*)
├── flate2 v1.0.24 (https://github.com/duplexsystem/flate2-rs.git#8026346a)
│ ├── crc32fast v1.3.2
│ │ └── cfg-if v1.0.0
│ └── libz-ng-sys v1.1.8
│ └── libc v0.2.126
│ [build-dependencies]
│ └── cmake v0.1.48
│ └── cc v1.0.73
├── io-uring v0.5.3
│ ├── bitflags v1.3.2
│ └── libc v0.2.126
├── ioprio v0.2.0 (https://github.com/duplexsystem/ioprio-rs#0a4046ad)
│ ├── libc v0.2.126
│ └── nix v0.24.2
│ ├── bitflags v1.3.2
│ ├── cfg-if v1.0.0
│ └── libc v0.2.126
├── libc v0.2.126
├── mimalloc v0.1.29
│ └── libmimalloc-sys v0.1.25
│ [build-dependencies]
│ └── cc v1.0.73
├── nix v0.24.2 (*)
├── once_cell v1.13.0 (*)
└── parking_lot v0.12.1
├── lock_api v0.4.7 (*)
└── parking_lot_core v0.9.3 (*)
cargo bloat --release:
File .text Size Crate Name
3.2% 4.6% 19.8KiB std std::backtrace_rs::symbolize::gimli::resolve::{{closure}}
3.1% 4.5% 19.4KiB addr2line addr2line::ResDwarf<R>::parse
1.8% 2.6% 11.1KiB addr2line addr2line::ResUnit<R>::parse_lines
1.5% 2.2% 9.4KiB libz_ng_sys zng_inflate
1.4% 2.0% 8.6KiB miniz_oxide miniz_oxide::inflate::core::decompress
1.1% 1.6% 6.8KiB [Unknown] open_region
1.0% 1.4% 6.0KiB dashmap dashmap::default_shard_amount
0.9% 1.2% 5.3KiB [Unknown] read_chunk
0.8% 1.2% 5.0KiB gimli gimli::read::abbrev::Abbreviations::insert
0.7% 1.1% 4.6KiB parking_lot parking_lot::raw_rwlock::RawRwLock::lock_exclusive_slow
0.7% 1.1% 4.5KiB addr2line addr2line::function::Function<R>::parse_children
0.7% 1.0% 4.4KiB gimli gimli::read::unit::parse_attribute
0.6% 0.9% 4.1KiB libz_ng_sys zng_inflate_fast
0.6% 0.9% 3.8KiB gimli gimli::read::rnglists::RngListIter<R>::next
0.6% 0.9% 3.8KiB [Unknown] write_chunk
0.6% 0.9% 3.7KiB untitled untitled::handle_events
0.6% 0.9% 3.7KiB std std::backtrace_rs::symbolize::gimli::elf::<impl std::backtrace_rs::symbolize::gimli::Mapping>::new_debug
0.6% 0.8% 3.6KiB flate2? <flate2::gz::read::GzDecoder<R> as std::io::Read>::read
0.6% 0.8% 3.5KiB core core::slice::sort::recurse
0.5% 0.8% 3.4KiB std std::backtrace_rs::symbolize::gimli::Context::new
45.9% 67.3% 287.5KiB And 684 smaller methods. Use -n N to show more.
68.3% 100.0% 427.5KiB .text section size, the file size is 626.2KiB