Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
8623402
Introduce mxl-sys crate
pac-work Jun 20, 2025
f24a375
Add first skeleton for "middle layer" binding
pac-work Jun 20, 2025
e268104
vscode: set root for rust analyzer
pedro-alves-ferreira Jun 22, 2025
f3e7a6b
modules: create a separate module for errors
pedro-alves-ferreira Jun 22, 2025
5c3f794
modules: create a separate module for the ffi api
pedro-alves-ferreira Jun 22, 2025
5ba1155
modules: create a separate module for the instance
pedro-alves-ferreira Jun 22, 2025
629e44c
modules: create a separate module for flow information
pedro-alves-ferreira Jun 22, 2025
aef2664
modules: create a separate module for the flow reader
pedro-alves-ferreira Jun 22, 2025
bbf7810
instance: don't use unwrap.
pedro-alves-ferreira Jun 22, 2025
d6df81a
instance: don't expose a destroy method as that breaks the invariants
pedro-alves-ferreira Jun 22, 2025
8a2971d
build: add a build.rs file to expose the mxl build path
pedro-alves-ferreira Jun 22, 2025
c490d1e
build: use mxl headers directly
pedro-alves-ferreira Jun 22, 2025
f0924d8
examples: add basic example
pedro-alves-ferreira Jun 22, 2025
09de5e7
reader: decouple lifetime from instance
pedro-alves-ferreira Jun 24, 2025
9a580f0
instance: add a destroy function for testing
pedro-alves-ferreira Jun 24, 2025
3bf2b4d
reader: consume self on destroy so that the invariants are not broken
pedro-alves-ferreira Jun 24, 2025
39b776b
grain data: don't allocate and copy payload & user data
pedro-alves-ferreira Jun 22, 2025
91f09ec
error: preserve the error code for unknown errors
pedro-alves-ferreira Jun 23, 2025
700bf16
layout: rename rust-bindings to rust
pedro-alves-ferreira Jun 24, 2025
b7fae02
grain data: add OwnedGrainData and conversion from GrainData
pedro-alves-ferreira Jun 24, 2025
5d85907
Reflect function name changes in MXL
pac-work Jul 11, 2025
667f1ad
Add basic discrete flow writer Rust wrapper
pac-work Jul 9, 2025
d243515
Fix double free on explicit instance destruction in test
pac-work Jul 9, 2025
36a5c84
Rename GrainWriter to GrainWriteAccess
pac-work Jul 10, 2025
e04700a
Change MxlFlowWriter into a factory class for more specific writers
pac-work Jul 10, 2025
ce1a982
Add basic continuous flow writer Rust wrapper
pac-work Jul 11, 2025
a6f1540
Change MxlFlowReader into a factory class for more specific readers
pac-work Jul 17, 2025
a4964c2
Add basic continuous flow reader Rust wrapper
pac-work Jul 18, 2025
a38699f
Convert instance destroy into safe function
pac-work Jul 18, 2025
306a32b
Allow referencing rust crates without the need to build MXL
pac-work Jul 22, 2025
b5f2490
Allow instance cloning
pac-work Jul 31, 2025
d0ba9c4
Implement Send for readers and writers
pac-work Jul 31, 2025
0a3ef2e
refactor: re-organise module structure
cwtchan Jul 23, 2025
d69f2ad
Fix warnings reported by the current Rust compiler
pac-work Aug 18, 2025
dc46977
Fix warnings reported by the current Clippy
pac-work Aug 18, 2025
0984cfb
Add an example app which delays a flow
pac-work Aug 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// SPDX-FileCopyrightText: 2025 Contributors to the Media eXchange Layer project https://github.com/dmf-mxl/mxl/contributors.md
// SPDX-License-Identifier: Apache-2.0
{
"rust-analyzer.linkedProjects": [
"rust/Cargo.toml"
],
"files.associations": {
"array": "cpp",
"atomic": "cpp",
Expand Down Expand Up @@ -71,4 +74,4 @@
"typeinfo": "cpp",
"variant": "cpp"
}
}
}
1 change: 1 addition & 0 deletions rust/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Cargo.lock -diff
4 changes: 4 additions & 0 deletions rust/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
.idea
.vscode
target
Loading