Crates.io | lrcat-extractor |
lib.rs | lrcat-extractor |
version | 0.4.1 |
source | src |
created_at | 2021-11-13 04:06:21.585689 |
updated_at | 2023-09-02 13:35:34.699996 |
description | Extract data from Adobe Lightroom™ catalogs. |
homepage | |
repository | https://github.com/hfiguiere/lrcat-extractor |
max_upload_size | |
id | 481280 |
size | 103,968 |
Extract the data from Adobe Lightroom catalogs (currently version 2, 4 and 6) in order to facilitate importing it into another application.
This is written in Rust.
Requires:
The is a crate (library) meant to be used by other applications. Its goal is to abstract the format away into an API that can be used to import into an application.
This is meant to be used by another application, so you need to add
to your Cargo.toml
the crate:
lrcat-extractor = 0.2.0
To build the crate, simply:
$ cargo build
The crate comes with a dumper utility, that's used mostly for debugging. It is hidden behind a "feature".
$ cargo run --features=binaries
let mut catalog = Catalog::new(&path_to_catalog);
if catalog.open() {
// check the catalog is the right version
if !catalog.catalog_version.is_supported() {
println!("Unsupported catalog version");
return;
}
}
See the documentation hosted at https://docs.rs/lrcat-extractor/
You can also use cargo doc
to generate it locally.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
See the LICENSE file in this repository.
Maintainer: Hubert Figuière hub@figuiere.net