Creates strict options for production use. Strict options enable all validation and fail on any conflict. This is the safest configuration. # Configuration - All validation enabled - Fail on conflict: `true` - Allow duplicate IDs: `false` # Example ```rust use atomic_core::crdt::apply::options::ApplyOptions; let options = ApplyOptions::strict(); assert!(options.fail_on_conflict()); assert!(!
()
| 200 | /// assert!(!options.allow_duplicate_ids()); |
| 201 | /// ``` |
| 202 | pub fn strict() -> Self { |
| 203 | Self { |
| 204 | validate_ordering: true, |
| 205 | validate_references: true, |
| 206 | track_conflicts: true, |
| 207 | fail_on_conflict: true, |
| 208 | allow_duplicate_ids: false, |
| 209 | update_reverse_indexes: true, |
| 210 | max_operations: None, |
| 211 | validate_content_ranges: true, |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | /// Creates lenient options for recovery scenarios. |
| 216 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected