Closed Rhaki closed 4 months ago
The Cargo.toml
file of the injective-std
package has been updated to modify the dependency on chrono
. Specifically, the default features of the chrono
library have been disabled by setting default-features = false
. This change aims to streamline the dependency usage by excluding optional features that are not needed.
File | Change Summary |
---|---|
packages/injective-std/... |
Updated chrono dependency to disable default features by adding default-features = false . |
🐇 In the realm of code so vast and wide, A change to
chrono
we now confide. With features trimmed, our code's more lean, A sleeker path, a future seen. Hopping forward, light and free, In the world of Rust, for you and me. 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
By adding
injective-std
as a dependency to a smart contract, the following error was generated when trying to store the code on-chain:This occurred because the chrono dependency was not imported with
default-feature = false
.Summary by CodeRabbit
chrono
dependency to disable default features, enhancing customization and potentially reducing the package size.