bahlo / sonyflake-rs

🃏 A distributed unique ID generator inspired by Twitter's Snowflake.
https://docs.rs/sonyflake/
Apache License 2.0
174 stars 10 forks source link

Leave only the necessary features in chrono #23

Closed negezor closed 6 days ago

negezor commented 6 months ago

Currently chrono pulls a lot of dependencies to just get the current system time. Currently this module does not support wasm, there is no need to know other timezone than UTC. In total this change removes 26 dependencies. If needed, I think flags can be added in the future, but so far no one has asked 🤷‍♂️