liboxen 0.48.1

Oxen is a fast, unstructured data version control, to help version large machine learning datasets written in Rust.
Documentation
//! 🐂 liboxen
//!
//! Fast unstructured data version control.
//!
//! # Examples
//!
//! Instantiating a new repo:
//!
//! ```ignore
//! use liboxen::repositories;
//!
//! // Instantiate a new repo
//! let repo = repositories::init("test_repo")?;
//! // Add a file to the repo
//! repositories::add(&repo, "file.txt").await?;
//! // Commit the file
//! repositories::commit(&repo, "Added file.txt")?;
//! ```
//!
//! Push data from local repo to remote repo:
//!
//! ```ignore
//! use liboxen::command;
//! use liboxen::model::LocalRepository;
//! use liboxen::repositories;
//! use liboxen::api;
//!
//! // Create LocalRepository from existing repo
//! let repo = LocalRepository::from_dir("test_repo")?;
//! // Add a file to the repo
//! repositories::add(&repo, "file.txt").await?;
//! // Commit the file
//! repositories::commit(&repo, "Added file.txt")?;
//! // Set remote
//! let remote_url = "http://0.0.0.0:3000/ox/test_repo";
//! let remote_name = "origin";
//! command::config::set_remote(&mut repo, remote_name, &remote_url)?;
//! // Push to remote
//! repositories::push(&repo).await?;
//! ```
//!
//! Clone data from remote url
//! ```ignore
//! use liboxen::opts::CloneOpts;
//! use liboxen::repositories;
//!
//! let url = "http://0.0.0.0:3000/ox/test_repo";
//! let repo_dir = "test_repo";
//! let opts = CloneOpts::new(url, &repo_dir);
//! let repo = repositories::clone(&opts).await?;
//! ```

extern crate approx;
extern crate bytecount;
extern crate bytesize;
// extern crate ffmpeg_next as ffmpeg;
extern crate fs_extra;
extern crate lazy_static;

pub mod api;
pub mod command;
pub mod config;
pub mod constants;
pub mod core;
pub mod error;
pub mod io;
pub mod migrations;
pub mod model;
pub mod namespaces;
pub mod opts;
pub mod repositories;
pub mod request_context;
pub mod resource;
pub mod storage;
#[cfg(any(test, feature = "test-utils"))]
pub mod test;
pub mod util;
pub mod view;