Configure hex for no_std environments
mainTo use hex in a no_std environment, disable the default features in your Cargo.toml. Note that if you need support for allocation types like String in a no_std environment, you should ensure the alloc feature is enabled (it is enabled by default unless you explicitly disable all features).
[dependencies]
hex = { version = "0.4", default-features = false }