Cargo Features
[dependencies]
strong = { version = "0.3.4", default-features = false, features = ["some_validators", "shorthand", "impl_partial_eq_transparent", "impl_eq_transparent", "impl_partial_ord_transparent", "impl_ord_transparent", "impl_debug_transparent", "impl_display_transparent", "diesel", "serde"] }
- default = impl_debug_transparent, impl_display_transparent, impl_hash_transparent, impl_ord_transparent
-
These default features are set whenever
strong
is added without
somewhere in the dependency tree.default-features = false - some_validators = thiserror, validator
-
Affects
strong::validators
… - shorthand
- impl_partial_eq_transparent impl_eq_transparent? impl_partial_ord_transparent?
- impl_eq_transparent impl_ord_transparent = impl_partial_eq_transparent
- impl_partial_ord_transparent impl_ord_transparent = impl_partial_eq_transparent
- impl_ord_transparent default = impl_eq_transparent, impl_partial_ord_transparent
- impl_hash_transparent impl_debug_transparent default
- impl_display_transparent default
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.
- validator some_validators?
-
Enables validator ^0.12.0
- thiserror some_validators?
- diesel implicit feature
-
Enables diesel ^1
diesel:
A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL
Affects
strong::impl_diesel
… - serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework