summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2024-01-06 11:20:33 -0500
committerHubert Figuière <hub@figuiere.net>2024-01-06 11:41:44 -0500
commit8b2e12d993a0aec74367982371d3c51113e809c7 (patch)
tree2b0e2eb34452ebea7c2e31e101160a1867041055
parentf135b2cb45c12d2e512aea4db9eb8d320f0244f2 (diff)
cargo: Added better metadata, allow publishing mp4parse-craw
Added README for mp4parse-craw Signed-off-by: Hubert Figuière <hub@figuiere.net>
-rw-r--r--Cargo.toml1
-rw-r--r--lib/Makefile.am1
-rw-r--r--lib/mp4/mp4parse/Cargo.toml16
-rw-r--r--lib/mp4/mp4parse/README.md12
4 files changed, 19 insertions, 11 deletions
diff --git a/Cargo.toml b/Cargo.toml
index da252ec..4098d2d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,6 +11,7 @@ license = "LGPL-3.0-or-later"
keywords = [ "image", "photography", "file_format", "graphics" ]
documentation = "https://docs.rs/crate/libopenraw/"
readme = "README"
+categories = ["multimedia::images"]
rust-version = "1.64"
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f63500b..c87bf9d 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -19,6 +19,7 @@ RUST_FILES = mp4/Cargo.lock \
EXTRA_DIST = \
exif/exif-tags.pl \
+ mp4/mp4parse/README.md \
$(RUST_FILES)
diff --git a/lib/mp4/mp4parse/Cargo.toml b/lib/mp4/mp4parse/Cargo.toml
index 8d70f90..a30ea38 100644
--- a/lib/mp4/mp4parse/Cargo.toml
+++ b/lib/mp4/mp4parse/Cargo.toml
@@ -7,14 +7,15 @@ authors = [
"Alfredo Yang <ayang@mozilla.com>",
"Jon Bauman <jbauman@mozilla.com>",
"Bryce Seager van Dyk <bvandyk@mozilla.com>",
+ "Hubert Figuière <hub@figuiere.net>",
]
-description = "Parser for ISO base media file format (mp4) with CRAW support"
-documentation = "https://docs.rs/mp4parse/"
+description = "Parser for ISO base media file format (mp4) with CRAW support, a fork of mp4parse"
+documentation = "https://docs.rs/mp4parse-craw/"
license = "MPL-2.0"
-categories = ["multimedia::video"]
+categories = ["multimedia::video", "multimedia::images"]
-repository = "https://github.com/mozilla/mp4parse-rust"
+repository = "https://gitlab.freedesktop.org/libopenraw/libopenraw"
# Avoid complaints about trying to package test files.
exclude = [
@@ -22,9 +23,6 @@ exclude = [
"av1-avif/*"
]
-[badges]
-travis-ci = { repository = "https://github.com/mozilla/mp4parse-rust" }
-
[dependencies]
byteorder = "1.2.1"
bitreader = { version = "0.3.2" }
@@ -48,10 +46,6 @@ meta-xml = []
unstable-api = []
mp4v = []
-[[bench]]
-name = "avif_benchmark"
-harness = false
-
# See https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
[lib]
bench = false
diff --git a/lib/mp4/mp4parse/README.md b/lib/mp4/mp4parse/README.md
new file mode 100644
index 0000000..ff74a87
--- /dev/null
+++ b/lib/mp4/mp4parse/README.md
@@ -0,0 +1,12 @@
+This is a fork of Mozilla mp4parse that adds support for craw brand
+(Canon CR3 raw files). It is used by libopenraw, and is only published
+on crates.io to allow publishing the crate.
+
+File issues at:
+
+https://gitlab.freedesktop.org/libopenraw/libopenraw/-/issues
+
+The original project:
+
+https://github.com/mozilla/mp4parse-rust/
+