diff --git a/Cargo.toml b/Cargo.toml index 6470185b75..fc4c582678 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ members = [ "crates/lib/caching/redis_caching", "crates/lib/concurrency", "crates/lib/cookies", - "crates/lib/crockford", + "crates/lib/crockford_deprecated", "crates/lib/datetimes", "crates/lib/deprecated/config", # TODO(bt, 2023-02-13): Deprecate or repurpose "crates/lib/deprecated/container_common", # TODO(bt, 2023-02-13): Pull apart and rehome pieces diff --git a/crates/_types/buckets/Cargo.toml b/crates/_types/buckets/Cargo.toml index 7e78465536..cadb4c77be 100644 --- a/crates/_types/buckets/Cargo.toml +++ b/crates/_types/buckets/Cargo.toml @@ -15,7 +15,7 @@ path = "src/lib.rs" [dependencies] # Internal -crockford = { path = "../../lib/crockford" } +crockford_deprecated = { path = "../../lib/crockford" } errors = { path = "../../lib/errors" } # External diff --git a/crates/_types/buckets/src/public/media_files/directory.rs b/crates/_types/buckets/src/public/media_files/directory.rs index e0083da128..50d7c6bcac 100644 --- a/crates/_types/buckets/src/public/media_files/directory.rs +++ b/crates/_types/buckets/src/public/media_files/directory.rs @@ -1,4 +1,4 @@ -use crockford::crockford_entropy_lower; +use crockford_deprecated::crockford_entropy_lower; use crate::public::public_path::PublicPath; use crate::util::hashed_directory_path_long_string::hashed_directory_path_long_string; diff --git a/crates/_types/buckets/src/public/media_files/original_file.rs b/crates/_types/buckets/src/public/media_files/original_file.rs index efd0fd9458..8a67104bf1 100644 --- a/crates/_types/buckets/src/public/media_files/original_file.rs +++ b/crates/_types/buckets/src/public/media_files/original_file.rs @@ -1,6 +1,6 @@ use std::path::PathBuf; -use crockford::crockford_entropy_lower; +use crockford_deprecated::crockford_entropy_lower; use crate::public::media_files::directory::MediaFileBucketDirectory; use crate::public::public_path::PublicPath; diff --git a/crates/_types/buckets/src/public/media_uploads/directory.rs b/crates/_types/buckets/src/public/media_uploads/directory.rs index aa4ffc0470..c5938e8c41 100644 --- a/crates/_types/buckets/src/public/media_uploads/directory.rs +++ b/crates/_types/buckets/src/public/media_uploads/directory.rs @@ -1,4 +1,4 @@ -use crockford::crockford_entropy_lower; +use crockford_deprecated::crockford_entropy_lower; use crate::public::public_path::PublicPath; use crate::util::hashed_directory_path_long_string::hashed_directory_path_long_string; diff --git a/crates/_types/buckets/src/public/media_uploads/original_file.rs b/crates/_types/buckets/src/public/media_uploads/original_file.rs index 7f0a40a6b7..b7a3595361 100644 --- a/crates/_types/buckets/src/public/media_uploads/original_file.rs +++ b/crates/_types/buckets/src/public/media_uploads/original_file.rs @@ -1,6 +1,6 @@ use std::path::PathBuf; -use crockford::crockford_entropy_lower; +use crockford_deprecated::crockford_entropy_lower; use crate::public::media_uploads::directory::MediaUploadDirectory; use crate::public::public_path::PublicPath; diff --git a/crates/_types/buckets/src/public/voice_conversion_results/original_file.rs b/crates/_types/buckets/src/public/voice_conversion_results/original_file.rs index 9e256e89d2..43493f1a01 100644 --- a/crates/_types/buckets/src/public/voice_conversion_results/original_file.rs +++ b/crates/_types/buckets/src/public/voice_conversion_results/original_file.rs @@ -1,6 +1,6 @@ use std::path::PathBuf; -use crockford::crockford_entropy_lower; +use crockford_deprecated::crockford_entropy_lower; use crate::public::public_path::PublicPath; use crate::public::voice_conversion_results::directory::VoiceConversionResultDirectory; diff --git a/crates/service/job/download_job/Cargo.toml b/crates/service/job/download_job/Cargo.toml index 6cf50484c0..890733d568 100644 --- a/crates/service/job/download_job/Cargo.toml +++ b/crates/service/job/download_job/Cargo.toml @@ -20,7 +20,7 @@ cloud_storage = { path = "../../../lib/api_clients/cloud_storage" } concurrency = { path = "../../../lib/concurrency" } config = { path = "../../../lib/deprecated/config" } container_common = { path = "../../../lib/deprecated/container_common" } -crockford = { path = "../../../lib/crockford" } +crockford_deprecated = { path = "../../../lib/crockford" } easyenv = { path = "../../../lib/easyenv" } enums = { path = "../../../_types/enums" } errors = { path = "../../../lib/errors" } diff --git a/crates/service/job/download_job/src/job_types/voice_conversion/rvc_v2/process_rvc_v2_model.rs b/crates/service/job/download_job/src/job_types/voice_conversion/rvc_v2/process_rvc_v2_model.rs index d09be8287b..d33d0468c5 100644 --- a/crates/service/job/download_job/src/job_types/voice_conversion/rvc_v2/process_rvc_v2_model.rs +++ b/crates/service/job/download_job/src/job_types/voice_conversion/rvc_v2/process_rvc_v2_model.rs @@ -8,7 +8,7 @@ use container_common::filesystem::check_file_exists::check_file_exists; use container_common::filesystem::safe_delete_possible_temp_file::safe_delete_possible_temp_file; use container_common::filesystem::safe_delete_temp_directory::safe_delete_temp_directory; use container_common::filesystem::safe_delete_temp_file::safe_delete_temp_file; -use crockford::crockford_entropy_lower; +use crockford_deprecated::crockford_entropy_lower; use enums::by_table::voice_conversion_models::voice_conversion_model_type::VoiceConversionModelType; use enums::common::visibility::Visibility; use errors::AnyhowResult; @@ -183,7 +183,7 @@ pub async fn process_rvc_v2_model<'a, 'b>( //#[cfg(test)] //mod tests { -// use crockford::crockford_entropy_lower; +// use crockford_deprecated::crockford_entropy_lower; // // #[test] // fn temp() {