rust-embedded / rust-sysfs-gpio

A Rust Interface to the Linux sysfs GPIO interface (https://www.kernel.org/doc/Documentation/gpio/sysfs.txt)
Apache License 2.0
383 stars 45 forks source link

Remove regexp dependency with custom path match function #40

Closed rumatoest closed 6 years ago

rumatoest commented 6 years ago

Hello there. You know adding more dependencies is not a good idea especially for low level libraries. I think that in your project regexp dependency (with its transition dependencies) is a little bit redundant, because it required only once in a code.

Now in --build release you have only 4.8M dependencies in target/release/deps/ With regexp it was about 13M

rumatoest commented 6 years ago

I forgot to remove my debug printlns