Create new library Raw-rs including a basic TIFF decoder (#1757)

* add a basic tiff decoder in raw-rs

* cargo fmt

* add readme and license files

* add warning about being in-progress

* add testing framework for raw-rs

* add new type IFD and rename tag

* remove test_each and merge into single test

* cargo fmt

* make sure images folder stays in git

* rename image_length with image_height

* change name of test file

* Readme changes

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Elbert Ronnie
2024-06-02 04:58:06 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent 6d74abb4de
commit 72ccba09af
17 changed files with 1354 additions and 0 deletions
Generated
+42
View File
@@ -1355,6 +1355,19 @@ version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2"
[[package]]
name = "downloader"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d05213e96f184578b5f70105d4d0a644a168e99e12d7bea0b200c15d67b5c182"
dependencies = [
"futures",
"rand 0.8.5",
"reqwest",
"thiserror",
"tokio",
]
[[package]]
name = "dtoa"
version = "1.0.9"
@@ -3194,6 +3207,25 @@ version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
[[package]]
name = "libraw-rs"
version = "0.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24ec60aab878560c299c6e70a0c6dc2278a2159ac6fe09650917266b8985387f"
dependencies = [
"libraw-rs-sys",
]
[[package]]
name = "libraw-rs-sys"
version = "0.0.4+libraw-0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba094a3b8b04cc42fdeafaff06f81d3b13a7d01cc7a8eae55b943dae1b65c3cc"
dependencies = [
"cc",
"libc",
]
[[package]]
name = "libredox"
version = "0.0.2"
@@ -4578,6 +4610,16 @@ version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8a99fddc9f0ba0a85884b8d14e3592853e787d581ca1816c91349b10e4eeab"
[[package]]
name = "raw-rs"
version = "0.0.1"
dependencies = [
"downloader",
"libraw-rs",
"num_enum 0.7.2",
"thiserror",
]
[[package]]
name = "raw-window-handle"
version = "0.5.2"