Cargo Features
PetitSet has no features set by default.
[dependencies]
petitset = { version = "0.2.1", features = ["std", "thiserror_compat", "serde_compat", "set_algebra"] }
- std serde_compat? thiserror_compat?
-
Not intrinsically useful: enabling this will break no-std
- thiserror_compat = std, thiserror
-
Implements the thiserror::Error and std::Error traits
- serde_compat = serde, std
-
Implements Serialize and Deserialize
- set_algebra
-
Implements set algebra operations (union, intersection, difference and symmetric difference) Works perfectly, but relies on the incomplete nightly feature
generic_const_exprs
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.
- thiserror thiserror_compat?
-
Enables thiserror ^1.0
- serde serde_compat?