From 37d6fdef9d097e3386c55607bbde412c93a70c83 Mon Sep 17 00:00:00 2001 From: Elbert Ronnie Date: Sat, 2 Nov 2024 19:05:39 +0530 Subject: [PATCH] Rename within files --- libraries/path-bool/shell.nix | 2 +- libraries/raw-rs/Cargo.lock | 2 +- libraries/raw-rs/Cargo.toml | 10 +++++----- libraries/raw-rs/README.md | 6 +++--- libraries/raw-rs/build-camera-data/Cargo.toml | 2 +- libraries/raw-rs/tag-derive/Cargo.toml | 4 ++-- libraries/raw-rs/tests/tests.rs | 6 +++--- shell.nix | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/libraries/path-bool/shell.nix b/libraries/path-bool/shell.nix index 5feb1012db..cf7070fd37 100644 --- a/libraries/path-bool/shell.nix +++ b/libraries/path-bool/shell.nix @@ -66,7 +66,7 @@ in libsoup webkitgtk - # For Raw-rs tests + # For Rawkit tests libraw # Use Mold as a linker diff --git a/libraries/raw-rs/Cargo.lock b/libraries/raw-rs/Cargo.lock index d9ec4482c8..a17df0ccd6 100644 --- a/libraries/raw-rs/Cargo.lock +++ b/libraries/raw-rs/Cargo.lock @@ -1228,7 +1228,7 @@ dependencies = [ ] [[package]] -name = "raw-rs" +name = "rawkit" version = "0.0.1" dependencies = [ "bitstream-io", diff --git a/libraries/raw-rs/Cargo.toml b/libraries/raw-rs/Cargo.toml index 51cec7b6c5..1e009b3a33 100644 --- a/libraries/raw-rs/Cargo.toml +++ b/libraries/raw-rs/Cargo.toml @@ -7,7 +7,7 @@ quote = "1.0.37" syn = "2.0.79" [package] -name = "raw-rs" +name = "rawkit" version = "0.0.1" edition = "2021" authors = ["Graphite Authors "] @@ -16,12 +16,12 @@ license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["raw", "tiff", "camera", "image"] categories = ["multimedia::images", "multimedia::encoding"] -homepage = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/raw-rs" -repository = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/raw-rs" -documentation = "https://docs.rs/raw-rs" +homepage = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/rawkit" +repository = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/rawkit" +documentation = "https://docs.rs/rawkit" [features] -raw-rs-tests = ["dep:image", "dep:libraw-rs", "dep:reqwest", "dep:rayon"] +rawkit-tests = ["dep:image", "dep:libraw-rs", "dep:reqwest", "dep:rayon"] [dependencies] # Local dependencies diff --git a/libraries/raw-rs/README.md b/libraries/raw-rs/README.md index 80a347e95b..dc9ad5313d 100644 --- a/libraries/raw-rs/README.md +++ b/libraries/raw-rs/README.md @@ -1,6 +1,6 @@ -[crates.io](https://crates.io/crates/raw-rs) • [docs.rs](https://docs.rs/raw-rs) • [repo](https://github.com/GraphiteEditor/Graphite/tree/master/libraries/raw-rs) +[crates.io](https://crates.io/crates/rawkit) • [docs.rs](https://docs.rs/rawkit) • [repo](https://github.com/GraphiteEditor/Graphite/tree/master/libraries/rawkit) -# Raw-rs +# Rawkit A library to extract images from camera raw files. @@ -8,4 +8,4 @@ A library to extract images from camera raw files. This library is built to extract the images from the raw files of Sony's cameras. In the future the library will add support for all other major camera manufacturers. -Raw-rs is built for the needs of [Graphite](https://graphite.rs), an open source 2D graphics editor. We hope it may be useful to others, but presently Graphite is its primary user. Pull requests are welcomed for new features, code cleanup, ergonomic enhancements, performance improvements, and documentation clarifications. +Rawkit is built for the needs of [Graphite](https://graphite.rs), an open source 2D graphics editor. We hope it may be useful to others, but presently Graphite is its primary user. Pull requests are welcomed for new features, code cleanup, ergonomic enhancements, performance improvements, and documentation clarifications. diff --git a/libraries/raw-rs/build-camera-data/Cargo.toml b/libraries/raw-rs/build-camera-data/Cargo.toml index 4bbd9edac9..bbcba5f3f1 100644 --- a/libraries/raw-rs/build-camera-data/Cargo.toml +++ b/libraries/raw-rs/build-camera-data/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" authors = ["Graphite Authors "] description = "Procedural macro to build the camera data into rust code" license = "MIT OR Apache-2.0" -repository = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/raw-rs/build-camera-data" +repository = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/rawkit/build-camera-data" [lib] proc-macro = true diff --git a/libraries/raw-rs/tag-derive/Cargo.toml b/libraries/raw-rs/tag-derive/Cargo.toml index df3a0db3ed..d0422f5f5e 100644 --- a/libraries/raw-rs/tag-derive/Cargo.toml +++ b/libraries/raw-rs/tag-derive/Cargo.toml @@ -4,9 +4,9 @@ version = "0.0.1" publish = false edition = "2021" authors = ["Graphite Authors "] -description = "Derive macro for the Tag trait in raw-rs" +description = "Derive macro for the Tag trait in rawkit" license = "MIT OR Apache-2.0" -repository = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/raw-rs/tag-derive" +repository = "https://github.com/GraphiteEditor/Graphite/tree/master/libraries/rawkit/tag-derive" [lib] proc-macro = true diff --git a/libraries/raw-rs/tests/tests.rs b/libraries/raw-rs/tests/tests.rs index 84897e582c..4213f597cd 100644 --- a/libraries/raw-rs/tests/tests.rs +++ b/libraries/raw-rs/tests/tests.rs @@ -1,5 +1,5 @@ -// Only compile this file if the feature "raw-rs-tests" is enabled -#![cfg(feature = "raw-rs-tests")] +// Only compile this file if the feature "rawkit-tests" is enabled +#![cfg(feature = "rawkit-tests")] use raw_rs::RawImage; @@ -16,7 +16,7 @@ use std::sync::atomic::{AtomicUsize, Ordering}; use std::time::Duration; const TEST_FILES: [&str; 3] = ["ILCE-7M3-ARW2.3.5-blossoms.arw", "ILCE-7RM4-ARW2.3.5-kestrel.arw", "ILCE-6000-ARW2.3.1-windsock.arw"]; -const BASE_URL: &str = "https://static.graphite.rs/test-data/libraries/raw-rs/"; +const BASE_URL: &str = "https://static.graphite.rs/test-data/libraries/rawkit/"; const BASE_PATH: &str = "./tests/images/"; #[test] diff --git a/shell.nix b/shell.nix index 5feb1012db..cf7070fd37 100644 --- a/shell.nix +++ b/shell.nix @@ -66,7 +66,7 @@ in libsoup webkitgtk - # For Raw-rs tests + # For Rawkit tests libraw # Use Mold as a linker