Mikhail Kilin
56bddabbe1
feat: add optional feature flags for clipboard and url-open (P5.15)
Implemented feature flags to make dependencies optional:
- clipboard feature: controls arboard dependency
- url-open feature: controls open dependency
- Both enabled by default for backward compatibility
Changes:
- Cargo.toml: Added [features] section with optional deps
- src/input/main_input.rs: Conditional compilation for open::that() and copy_to_clipboard()
- tests/copy.rs: Clipboard tests only compile with feature enabled
- Graceful degradation: user-friendly error messages when features disabled
Benefits:
- Smaller binary size when features disabled
- Modular functionality
- Better platform compatibility
Progress: Priority 5: 1/3 tasks, Total: 17/20 (85%)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-01 02:23:17 +03:00
..
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00
2026-02-01 00:24:52 +03:00
2026-02-01 02:23:17 +03:00
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00
2026-02-01 01:47:12 +03:00
2026-01-30 15:07:13 +03:00
2026-01-30 17:26:21 +03:00
2026-01-31 03:48:50 +03:00
2026-01-30 23:55:01 +03:00
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00
2026-01-30 23:55:01 +03:00
2026-01-31 23:02:53 +03:00
2026-01-31 23:02:53 +03:00