Cargo Features
[dependencies]
wartcl = { version = "0.1.3", default-features = false, features = ["std", "proc", "arithmetic", "comparison", "incr", "i64"] }
- default = arithmetic, comparison, incr, proc, std
-
These default features are set whenever
wartcl
is added without
somewhere in the dependency tree.default-features = false - std default
-
Implement commands that require std library support
- proc default
-
Include support for user-defined procs
Affects
cmd::cmd_proc
… - arithmetic default
-
Include support for arithmetic, which is bigger than you might expect because of the need to parse numbers.
Affects
cmd::cmd_math
… - comparison default
-
Include support for numeric comparisons like < and ==
Affects
cmd::cmd_math
… - incr default
-
Include support for incr. This is separate from general arithmetic. If you just need counters, this is a bit smaller.
Affects
cmd::cmd_incr
… - i64
-
Use i64 as the internal integer type. If not set, the default is i32.
Affects
wartcl::Int
…