/core

The core functionality that's shared between all platforms & components

Primary LanguageRustGNU Affero General Public License v3.0AGPL-3.0

Onlivfe core

Onlivfe core is the a library that provides the models & some of the logic for onlivfe. It's usage is not supported outside of the onlivfe ecosystem, though we won't stop others from using it. Also note that the license is AGPL.

Development

Basic requirements:

Building

Start off by cloning the project with git.

git clone https://github.com/onlivfe/core

Then open the project folder in your terminal, & run cargo build. Then get to hacking, & optionally replace the dependency in other projects by overriding dependencies.

Storage

The core abstracts away storage backends, so that consumers can optionally provide their own. This is done so that for example in the future core could easily be used via WebAssembly, as long as there is a compatible storage backend.

In the short term, there's a in-memory caching backend, which should be enough to start developing other parts of the system. It's also hopefully good enough for the initial MVP of onlivfe. In the long term, a standard database backend is being developed, with proper support for historical data.