Cargo Features
[dependencies]
fragnova_extensions = { version = "0.1.0", default-features = false, features = ["std"] }
- default = std
-
The
std
feature is set by default wheneverfragnova_extensions
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of sp-io ^6.0.0
We use this dependency to prevent the error "
#[global_allocator]
in ink_allocator conflicts with global allocator in: sp_io". This solution was found from https://substrate.stackexchange.com/questions/4733/error-when-compiling-a-contract-using-the-xcm-chain-extensionand std of ink_env ^3.3, ink_prelude ^3.3, protos, parity-scale-codec, scale-info, and sp-fragnova
parity-scale-codec:
this package is named "codec" when used in Fragnova (https://github.com/fragcolor-xyz/fragnova)
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.