
The basic functions are all working properly. Now the model works by using diesel to connect the sql database and retrieve all the items and organize them. Then it'll ensure any additions and deletions are correct and happen first on the database before adding them to the model. There is still a C++ proxyModel inbetween QML and Rust, but this proxyModel interfaces with the Rust model instead of the C++ SqlTableModel.
36 lines
855 B
TOML
36 lines
855 B
TOML
[package]
|
|
name = "libre-presenter"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = [
|
|
"Chris Cochrun <chris@cochrun.xyz>"
|
|
]
|
|
license = "GPL-3.0"
|
|
|
|
# This will instruct Cargo to create a static
|
|
# library which CMake can link against
|
|
[lib]
|
|
crate-type = ["staticlib"]
|
|
path = "src/rust/lib.rs"
|
|
|
|
[dependencies]
|
|
configparser = "3.0.2"
|
|
serde = "1.0.152"
|
|
serde_derive = "1.0.152"
|
|
cxx = "1.0.83"
|
|
cxx-qt = "0.5.1"
|
|
cxx-qt-lib = "0.5.1"
|
|
# home = "0.5.4"
|
|
dirs = "5.0.0"
|
|
diesel = { version = "2.0.3", features = ["sqlite"] }
|
|
libsqlite3-sys = { version = ">=0.17.2, <0.26.0", features = ["bundled"] }
|
|
# ffmpeg-next = "6.0.0"
|
|
|
|
# cxx-qt-build generates C++ code from the `#[cxx_qt::bridge]` module
|
|
# and compiles it together with the Rust static library
|
|
[build-dependencies]
|
|
cxx-qt-build = "0.5.1"
|
|
|
|
# [dependencies.confy]
|
|
# features = ["yaml_conf"]
|
|
# default-features = false
|