hf-xet 1.5.1

Client library and tooling for the Hugging Face Xet data storage system.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Legacy helpers re-exported for backward compatibility.
//!
//! This module exposes lower-level types and functions used by the Python
//! bindings (`hf_xet`) and `git_xet`.  New code should use the
//! [`xet_session`](crate::xet_session) API instead — it provides a safer,
//! higher-level interface with built-in progress tracking, token refresh,
//! and automatic runtime management.

pub mod data_client;
pub mod progress_tracking;

// Re-exports from xet_data so external consumers (hf_xet, git_xet) don't need
// a direct xet_data dependency.
pub use xet_data::processing::configurations::{SessionContext, TranslatorConfig};
pub use xet_data::processing::data_client::{clean_bytes, clean_file, default_config, hash_files_async};
pub use xet_data::processing::{FileDownloadSession, FileUploadSession, Sha256Policy, XetFileInfo};