Skip to main content

Crate wayclip_core

Crate wayclip_core 

Source
Expand description

§wayclip-core

This crate provides methods, models and operations needed for the Wayclip ecosystem to work

Modules§

app
app module provides most of the methods which range from managing clips using FFmpeg and I/O calls, to keyring management This module is primarily used inside the App ecosystem (wayclip-cli & wayclip-gui)
client
client module provides standardised HTTP calling methods, allowing to interact with the API sepcified under api.url in settings. This module is more usually used internally, however wayclip-cli or other entities are allowed to call the HTTP clients directly src/client will be responsbile for making any API/Network calls, such as Authentication calls, Clips handling, Quering data. This is done to generalise the code base, so that same client is used, which will handle any network requests same way
models
models module is simply responsible for providing structs and enums to be used, as well as the implementations for From<> and other This module is globally used in wayclip-daemon, wayclip-cli & wayclip-api
settings
settings module is responsible for managing the global Wayclip settings stored on your system. This module is able to load, set, get and migrate between versions. This module is globally used in wayclip-daemon and wayclip-cli