1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Immich API library for duplicate management.
//!
//! This library provides a typed client for interacting with the Immich REST API,
//! with a focus on duplicate detection and metadata-aware duplicate selection.
//!
//! # Example
//!
//! ```no_run
//! use immich_lib::ImmichClient;
//!
//! # async fn example() -> immich_lib::Result<()> {
//! let client = ImmichClient::new("https://immich.example.com", "your-api-key")?;
//! let duplicates = client.get_duplicates().await?;
//!
//! for group in duplicates {
//! println!("Duplicate group {} has {} assets", group.duplicate_id, group.assets.len());
//! }
//! # Ok(())
//! # }
//! ```
//!
//! # Command-Line Tool
//!
//! A companion binary `immich-dupes` is available for managing duplicates from the command line.
//! Pre-built binaries and installation instructions are available in the
//! [GitHub repository](https://github.com/richardjlyon/immich-lib).
pub use ;
pub use ;
pub use Executor;
pub use ;
pub use ;