Cargo Features
[dependencies]
config-proc = { version = "0.1.0", default-features = false, features = ["log", "serde", "rkyv", "serde_toml", "serde_ron", "serde_ini", "serde_yaml", "serde_json", "xml", "serde_xml"] }
- default = log, serde_toml
-
These default features are set whenever
config-proc
is added without
somewhere in the dependency tree.default-features = false - log default
-
Enables log =0.4.17
Optional logging of what is happening internally in the functions
- serde serde_ini? serde_json? serde_ron? serde_toml serde_xml? serde_yaml?
-
Prefer the rkyv ones if you want something that is slightly faster than the serde ones,
but since it doesn't matter in most cases unless you are doing a lot of reloads you are free to use whatever.Enables serde =1.0.145
Serialization/Deserialization libraries
- rkyv
-
Enables rkyv =0.7.39
- serde_toml default = serde
-
Enables toml =0.5.9
- serde_ron = serde
-
Enables ron =0.8.0
- serde_ini = serde
-
Enables serde_ini
- serde_yaml = serde
-
Enables serde_yaml =0.9.13
- serde_json = serde
-
Enables serde_json =1.0.86
- xml = serde_xml
- serde_xml xml? = serde
-
Enables quick-xml =0.25.0