cleanup crate, add static shared configs

This commit is contained in:
Brandon Thomas committed 2026-03-17 21:35:27 -04:00
1 parent cac0fff1e2
commit f718eea9cb
7 files changed
+14 -16

No files matched your search

@@ -16,13 +16,15 @@ path = "src/lib.rs"
normal = ["workspace-build-acceleration"]
[dependencies]
# Workspace hack (faster compile times)
workspace-build-acceleration = { workspace = true }
# cargo-hakari workspace hack (faster compile times)
workspace-build-acceleration.workspace = true
# Internal
# Internal
# (try not to add new deps as this is used by many crates)
crockford.workspace = true
# External
# (try not to add new deps as this is used by many crates)
# (None yet)
[dev-dependencies]
@@ -24,6 +24,5 @@
#![allow(non_snake_case)]
pub mod legacy;
pub mod pathing;
pub mod traits;
pub mod path_conventions;
pub mod util;
@@ -0,0 +1 @@
pub mod video_thumbnail_suffixes;
@@ -0,0 +1,7 @@
//! Shared config for thumbnails.
/// Video media files have conventional gif thumbnails with this suffix.
pub const VIDEO_ANIMATED_GIF_THUMBNAIL_SUFFIX: &str = "-thumb.gif";
/// Video media files have conventional static jpg thumbnails with this suffix.
pub const VIDEO_STATIC_JPG_THUMBNAIL_SUFFIX: &str = "-thumb.jpg";
Whitespace-only changes.
@@ -1,10 +0,0 @@
use std::path::PathBuf;
/// Represents a bucket path.
pub trait BucketPath {
/// Return the rooted path of the object as a string
fn to_rooted_string(&self) -> String;
/// Return the rooted path of the object as a path
fn to_rooted_path(&self) -> PathBuf;
}
@@ -1 +0,0 @@
mod bucket_path;