mirror of
https://github.com/storytold/filmcraft.git
synced 2026-12-02 20:19:02 -05:00
Updates: take craft-update from craft-libs main at 6e03f65bf
This commit is contained in:
3 files changed
+17
-16
No files matched your search
Generated
+7
-6
@@ -1061,17 +1061,17 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-docpath"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=1b34eba41e62138fc2438d2734523b302840b45d#1b34eba41e62138fc2438d2734523b302840b45d"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=6e03f65bf45181db77ba6229716e6624db9eb25b#6e03f65bf45181db77ba6229716e6624db9eb25b"
|
||||
|
||||
[[package]]
|
||||
name = "craft-fonts-build"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=1b34eba41e62138fc2438d2734523b302840b45d#1b34eba41e62138fc2438d2734523b302840b45d"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=6e03f65bf45181db77ba6229716e6624db9eb25b#6e03f65bf45181db77ba6229716e6624db9eb25b"
|
||||
|
||||
[[package]]
|
||||
name = "craft-i18n"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=1b34eba41e62138fc2438d2734523b302840b45d#1b34eba41e62138fc2438d2734523b302840b45d"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=6e03f65bf45181db77ba6229716e6624db9eb25b#6e03f65bf45181db77ba6229716e6624db9eb25b"
|
||||
dependencies = [
|
||||
"fixed_decimal",
|
||||
"icu_decimal",
|
||||
@@ -1094,7 +1094,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-media"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=1b34eba41e62138fc2438d2734523b302840b45d#1b34eba41e62138fc2438d2734523b302840b45d"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=6e03f65bf45181db77ba6229716e6624db9eb25b#6e03f65bf45181db77ba6229716e6624db9eb25b"
|
||||
dependencies = [
|
||||
"thiserror 2.0.21",
|
||||
]
|
||||
@@ -1102,7 +1102,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-ui"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=1b34eba41e62138fc2438d2734523b302840b45d#1b34eba41e62138fc2438d2734523b302840b45d"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=6e03f65bf45181db77ba6229716e6624db9eb25b#6e03f65bf45181db77ba6229716e6624db9eb25b"
|
||||
dependencies = [
|
||||
"craft-fonts-build",
|
||||
"craft-i18n",
|
||||
@@ -1123,7 +1123,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "craft-update"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=1b34eba41e62138fc2438d2734523b302840b45d#1b34eba41e62138fc2438d2734523b302840b45d"
|
||||
source = "git+https://github.com/storytold/craft-libs?rev=6e03f65bf45181db77ba6229716e6624db9eb25b#6e03f65bf45181db77ba6229716e6624db9eb25b"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"dunce",
|
||||
@@ -1133,6 +1133,7 @@ dependencies = [
|
||||
"image",
|
||||
"log",
|
||||
"plist",
|
||||
"rustix 1.1.5",
|
||||
"semver",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
||||
+4
-4
@@ -74,12 +74,12 @@ chrono = { version = "0.4.45", default-features = false, features = ["std"] }
|
||||
rayon = "1"
|
||||
proptest = "1"
|
||||
roxmltree = "0.21"
|
||||
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "1b34eba41e62138fc2438d2734523b302840b45d" }
|
||||
craft-media = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "1b34eba41e62138fc2438d2734523b302840b45d", default-features = false }
|
||||
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "6e03f65bf45181db77ba6229716e6624db9eb25b" }
|
||||
craft-media = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "6e03f65bf45181db77ba6229716e6624db9eb25b", default-features = false }
|
||||
|
||||
# ui
|
||||
# Shared frontend components; keep this dependency above the engine boundary.
|
||||
craft-ui = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "1b34eba41e62138fc2438d2734523b302840b45d", features = ["serde", "native-windows"] }
|
||||
craft-ui = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "6e03f65bf45181db77ba6229716e6624db9eb25b", features = ["serde", "native-windows"] }
|
||||
# egui 0.37: bundled fonts are opt-in, and the monochrome symbol/emoji faces moved to their own
|
||||
# feature. FilmCraft paints ✔ ✓ ✖ ⚡ ⚠ ⚙ ♪ ☑ in panel chrome, so both features are part of the
|
||||
# production font policy (system_fonts stays off).
|
||||
@@ -89,7 +89,7 @@ egui_extras = { version = "0.37", default-features = false }
|
||||
eframe = { version = "0.37", default-features = false }
|
||||
egui_kittest = "0.37"
|
||||
# craft-update: app-specific pretend versions apply to startup and manual checks.
|
||||
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "1b34eba41e62138fc2438d2734523b302840b45d", features = ["egui"] }
|
||||
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "6e03f65bf45181db77ba6229716e6624db9eb25b", features = ["egui"] }
|
||||
rfd = "0.17"
|
||||
|
||||
[workspace.lints.rust]
|
||||
|
||||
@@ -160,12 +160,12 @@ fn h264_aac() {
|
||||
assert!(!f.cues.is_empty());
|
||||
assert!(!f.seek_head.is_empty());
|
||||
check_seeks(&bytes, OpenOptions::default(), v, &packets);
|
||||
check_seeks(&bytes, OpenOptions { index: false, verify_crc: false }, v, &packets);
|
||||
check_seeks(&bytes, OpenOptions { index: false, verify_crc: false, ..OpenOptions::default() }, v, &packets);
|
||||
check_seeks(&bytes, OpenOptions::default(), a, &packets);
|
||||
// Read + Seek entry point and CRC verification (ffmpeg writes CRC-32 in level-1 elements)
|
||||
let d = Demuxer::from_reader(std::io::Cursor::new(bytes.clone())).unwrap();
|
||||
assert_eq!(d.file().tracks.len(), 2);
|
||||
let crc = open_with(&bytes[..], &OpenOptions { index: true, verify_crc: true }).unwrap();
|
||||
let crc = open_with(&bytes[..], &OpenOptions { index: true, verify_crc: true, ..OpenOptions::default() }).unwrap();
|
||||
assert!(crc.crc_checked > 0);
|
||||
assert!(crc.crc_errors.is_empty());
|
||||
let kf = Demuxer::from_slice(&bytes).unwrap().keyframe_index(v).unwrap();
|
||||
@@ -184,7 +184,7 @@ fn vp9_opus_webm() {
|
||||
let v = f.track_of_kind(TrackKind::Video).unwrap();
|
||||
assert!(matches!(f.tracks[v].codec, Codec::Vp9 { .. }));
|
||||
check_seeks(&bytes, OpenOptions::default(), v, &packets);
|
||||
check_seeks(&bytes, OpenOptions { index: false, verify_crc: false }, v, &packets);
|
||||
check_seeks(&bytes, OpenOptions { index: false, verify_crc: false, ..OpenOptions::default() }, v, &packets);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -233,7 +233,7 @@ fn cues_at_front() {
|
||||
assert!(!f.cues.is_empty());
|
||||
assert!(f.clusters.len() >= 5);
|
||||
let v = f.track_of_kind(TrackKind::Video).unwrap();
|
||||
check_seeks(&bytes, OpenOptions { index: false, verify_crc: false }, v, &packets);
|
||||
check_seeks(&bytes, OpenOptions { index: false, verify_crc: false, ..OpenOptions::default() }, v, &packets);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -244,8 +244,8 @@ fn live_stream_without_cues() {
|
||||
assert!(f.duration_ns().unwrap() > 1_900_000_000);
|
||||
let v = f.track_of_kind(TrackKind::Video).unwrap();
|
||||
// no cues: seeking builds the index by scanning clusters
|
||||
check_seeks(&bytes, OpenOptions { index: false, verify_crc: false }, v, &packets);
|
||||
let mut d = Demuxer::with_options(&bytes[..], OpenOptions { index: false, verify_crc: false }).unwrap();
|
||||
check_seeks(&bytes, OpenOptions { index: false, verify_crc: false, ..OpenOptions::default() }, v, &packets);
|
||||
let mut d = Demuxer::with_options(&bytes[..], OpenOptions { index: false, verify_crc: false, ..OpenOptions::default() }).unwrap();
|
||||
assert!(!d.file().indexed);
|
||||
assert!(!d.keyframe_index(v).unwrap().is_empty());
|
||||
assert!(d.file().indexed);
|
||||
|
||||
Reference in new issue
Block a user