benfred / py-spy

Sampling profiler for Python programs
MIT License
12.89k stars 431 forks source link

Consider moving CLI functionality behind a feature flag #647

Open CosmicHorrorDev opened 11 months ago

CosmicHorrorDev commented 11 months ago

Using this crate as a library currently pulls in a lot of dependencies that only really make sense for the binary portion of the app. It would be nice to avoid all of these by exposing the binary stuff behind a default feature instead

zanieb commented 1 month ago

It'd probably make more sense to move the CLI into a separate crate from the core functionality.