Cargo Features
[dependencies]
textos = { version = "0.0.3", default-features = false, features = ["std", "alloc", "no_std", "safe", "safest", "unsafe", "unsafest", "nightly", "nightly_docs"] }
- default = std
-
The
std
feature is set by default whenevertextos
is added without
somewhere in the dependency tree.default-features = false - std default nightly_docs? = alloc
-
environment features
(not enabling "std" declares the library as "no_std")Enables std of devela ^0.8.0, unicode-bidi, unicode-script, unicode-truncate ^0.2.0, and unicode-width ^0.1.10
unicode-script:
http://www.unicode.org/reports/tr24/
- alloc std
-
features that depend on the standard library
Enables alloc of devela ^0.8.0
Affects
indent::indent
,counter::counter_string
… - no_std
-
Enables no_std of devela ^0.8.0 and unicode-width ^0.1.10
unicode-width:
Legacy, now a no-op
- safe safest?
-
safety features
- safest = safe
-
Enables safest of devela ^0.8.0
- unsafe nightly_docs? unsafest?
-
Enables unsafe_num of devela ^0.8.0
- unsafest = unsafe
-
Enables unsafest of devela ^0.8.0
- nightly nightly_docs?
-
used only for enhanced documentation
- nightly_docs = nightly, std, unsafe
-
features for docs.rs