Cargo Features
[dependencies]
cairo-lang-utils = { version = "2.9.0", default-features = false, features = ["std", "serde", "schemars", "parity-scale-codec", "env_logger", "testing"] }
- default = std
-
The
std
feature is set by default whenevercairo-lang-utils
is added without
somewhere in the dependency tree.default-features = false - std default env_logger? schemars?
-
Enables std of indexmap, num-bigint, num-traits, and optional serde
serde:
Optional
Affects
cairo-lang-utils::graph_algos
,ordered_hash_map::OrderedHashMap
,ordered_hash_set::OrderedHashSet
,unordered_hash_map::UnorderedHashMap
,unordered_hash_set::UnorderedHashSet
… - serde schemars?
-
Enables serde, serde of indexmap and num-bigint
Affects
bigint::serialize_big_uint
,bigint::deserialize_big_uint
,bigint::serialize_big_int
,bigint::deserialize_big_int
… - schemars = serde, std
-
Enables schemars
- parity-scale-codec
-
Enables parity-scale-codec
- env_logger = std
-
Enables env_logger, log, and time
Affects
cairo-lang-utils::logging
… - testing