mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 09:48:44 +00:00
cleanup crate, add static shared configs
This commit is contained in:
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;
|
||||
Reference in new issue
Block a user