-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (46 loc) · 1.57 KB
/
Copy pathCargo.toml
File metadata and controls
51 lines (46 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "abner"
version = "0.1.0"
edition = "2024"
description = "A/B video comparison player — play N videos in sync, flip between them."
[dependencies]
anyhow = "1"
log = "0.4"
env_logger = "0.11"
winit = "0.30"
wgpu = "30"
pollster = "1"
bytemuck = { version = "1", features = ["derive"] }
ab_glyph = "0.2"
serde_json = "1"
# In-process libav (same setup as switchblade): links the system ffmpeg 8.x
# dev libraries via pkg-config (`brew install ffmpeg` provides them).
rsmpeg = { version = "0.18", default-features = false, features = ["link_system_ffmpeg", "ffmpeg8"] }
# AppKit, for two things (both in main.rs): the fake-fullscreen contour fix
# on macOS Tahoe (the ~1px window border is drawn with the shadow, so we
# need setHasShadow(false)), and the embedded Dock icon.
[target.'cfg(target_os = "macos")'.dependencies]
objc2-app-kit = { version = "0.2", features = [
"NSResponder",
"NSView",
"NSWindow",
"NSApplication",
"NSImage",
] }
objc2-foundation = { version = "0.2", features = ["NSData"] }
# 0.5 to match objc2-app-kit 0.2's objc2 (only needed for the ClassType trait).
objc2 = "0.5"
[profile.dev]
# wgpu + shader-heavy code is unusably slow at opt-level 0
opt-level = 1
[profile.dev.package."*"]
opt-level = 2
[package.metadata.bundle]
name = "abner"
identifier = "com.abner.app"
icon = ["assets/icons/abner-flat-white.png"]
version = "0.1.0"
copyright = "Copyright © 2026"
category = "Video"
short_description = "A/B video comparison player"
long_description = "Play N videos in sync, flip between them. Frame-locked sync, real-time diff/flip modes."