XxChang
2e426e5133
add safety
1 year ago
XxChang
8ee80cac6b
fix fmt
1 year ago
XxChang
e590b2e029
add a comment on read_dora_input_id
1 year ago
XxChang
ab2ea3e169
fix fmt
1 year ago
XxChang
ac65b0fc09
minor
1 year ago
XxChang
1f23470d8b
minor
1 year ago
XxChang
7904a3ee55
add a timestamp method to c-node-api
1 year ago
XxChang
fb362b7f27
add a timestamp method to c-node-api
1 year ago
XxChang
3f1185fd34
add a timestamp method to c-node-api
1 year ago
haixuanTao
0568656ef0
Remove unused dependencies for faster compile time
2 years ago
haixuanTao
06a7d0bf0c
Fix read error in C++ node input
Thwy were an error of typecasting within the C++ node input.
This fixes #403
I have not adressed all input type as I think a solution based on arrow FFI would be better.
2 years ago
Philipp Oppermann
8cc5837cfa
Update `arrow` and `pyo3` dependencies to latest versions
2 years ago
Philipp Oppermann
6154415cbc
Update Rust APIs and rust-dataflow-example to use arrow types
2 years ago
Philipp Oppermann
7d96e03eed
Start to make Rust node API typed using arrow
2 years ago
haixuanTao
c112b6bd59
make header file const instead of static
2 years ago
haixuanTao
8e58396213
remove header file from template
2 years ago
haixuanTao
7a7a20a298
Add missing licenses and centralise license definition
test new crates version release
2 years ago
haixuanTao
101ddd2092
add documentation and description to all crates
test rc 2 version
fix version typo
Test crates.io new dora tag release
2 years ago
haixuanTao
70e6d4ce8f
Remove code duplicate for tracing subscriber and use env variable to manage log level.
The intent of this commit is to remove the quantity of log that is being pushed to user.
This commit removes the redeclaration of a set up tracing methods to centralise
the tokio-tracing subscriber within the extension crate. It also add the
feature to filter information based on Environment variable.
This makes it possible to define the log level for tokio tracing like
this:
```
RUST_LOG=debug dora-daemon --run-dataflow dataflow.yml
```
I have also unified the feature flag to make it easier to manage tracing features among the workspace.
I did not change the default behaviour of tracing in our crates and therefore by
using the command above you should get the same tracing log as before.
fix merge conflict generated
2 years ago
Philipp Oppermann
df17e2b2cf
Enable tracing subscriber for C and C++ node APIs by default
2 years ago
Philipp Oppermann
d334c6f243
Make `daemon` module of Rust node API private and reexport symbols
2 years ago
Philipp Oppermann
20ffe50389
Use prefixed names for dora event enum variants in C API to avoid name conflicts
3 years ago
Philipp Oppermann
453c40d20b
Update C node API for new daemon API
3 years ago
Philipp Oppermann
df5dcfb342
Merge branch 'main' into unify-nodes-and-operators
3 years ago
Philipp Oppermann
433b7b4ed7
Merge branch 'main' into unify-nodes-and-operators
3 years ago
Philipp Oppermann
d8260d5d2c
Inherit package version from workspace root
This way, we don't need to update the version manually in all sub-crates on every release.
3 years ago
haixuanTao
9a0b303e98
Replace all versions to `v0.1.1`
3 years ago
Philipp Oppermann
201fd228f5
Remove communication layer from dora-node-api
3 years ago
Philipp Oppermann
1c1891446a
Add `uhlc` timestamp to message metadata
3 years ago
Philipp Oppermann
e8c17a864e
Adjust C and python node apis for new input/output API
3 years ago
Philipp Oppermann
7e9c3050f9
Use `tracing` for logging state of nodes, coordinator, and runtimes
3 years ago
Philipp Oppermann
0df06fce86
Send metadata in messages encoded with capnproto
Changes the message format from raw data bytes to a higher-level `Message` struct serialized with capnproto. In addition to the raw data, which is sent as a byte array as before, the `Message` struct features `metadata` field. This metadata field can be used to pass open telemetry contexts, deadlines, etc.
3 years ago
Philipp Oppermann
9c8cbda89d
Fix: Enable `zenoh` feature for C node API
3 years ago
Philipp Oppermann
848e136a75
Move communication layer implementation into separate library
To make it usable for other projects.
3 years ago
Philipp Oppermann
eee7f42b45
Remove debug output again
3 years ago
Philipp Oppermann
02270af151
Use `c_void` for dora C node API
3 years ago
Philipp Oppermann
0f22879776
Add debug output to C node API
3 years ago
Philipp Oppermann
63cb32ed46
Make icoryx and zenoh communication layers optional
3 years ago
Philipp Oppermann
03348c5be8
Redesign communication layer to be synchronous and add support for iceoryx
3 years ago
Philipp Oppermann
5d334a4c4d
Add docs and safety annotations to the functions of the dora node C API
3 years ago
Philipp Oppermann
4e6b786fa1
Add a node_api.h header file
3 years ago
Philipp Oppermann
5004aa9d6e
Specify a license for the node-api-c crate
3 years ago
Philipp Oppermann
3287761393
Mark the C node API functions as no_mangle
3 years ago
Philipp Oppermann
d1a256a47a
Mark most functions as unsafe since they deref the given pointers
3 years ago
Philipp Oppermann
b2577acf14
Implement API functions for reading inputs and sending outputs
3 years ago
Philipp Oppermann
370cadee6b
Start creating a staticlib with a node API for C
3 years ago