Commit Graph

7 Commits

Author SHA1 Message Date
Werner
619ca5ce69 Update rust_g to 0.5.0+a2 (#12865)
Co-authored-by: Werner <Arrow768@users.noreply.github.com>
2021-12-19 23:22:29 +01:00
Werner
1762f16344 Migrate basic build to drone (#10651)
* Adds drone tasks to Execute UTs on Aurora and Exodus
* Adds a drone task to Migrate SQL and Perform the SQL UT on Runtime
* Changes the SQL UT to respect the config.sql_enabled setting and
  use that sql connection
* Changes the default config.sql_enabled state to 0, so uncommenting
  SQL_ENABLED has a actual effect
* Moves a number of UT tests into a helper script (code_check.sh)
* Updates the way the RUST_G dll/so is located
* Adds a check to load_databases to verify that sql is enabled
* Adds a check to establish_db_connection to verify that sql is enabled
* Adds spearate config files used during the UTs (which hold the UT db
  connection info and enable/disable the db epending on the UT)
2020-11-26 17:13:56 +01:00
Erki
45f4652a3a Implement a dll call wrapper (#8944)
Implements a wrapper to the call()() function, meant to be used for calling dylibs.

This is useful for two reasons:

    It allows us to debug the dylib calls (such as timing for the time being).
2020-07-05 18:31:43 +03:00
Erki
63bf0030f6 Fixes async HTTP for getting pins (#8073)
A few issues:

    Async response enums were bad.
    Async requests didn't handle an unforeseen error properly.
    Get pins were sending an input which would cause a crash of the DLL. (DLL is now fixed to not crash due to this.)
2020-01-23 21:19:01 +02:00
Erki
92c51c47c9 Asynchronous (& synchronous) HTTP (#7989)
Implements Rust-g based HTTP requests. Removes old curl-based C library.

Features:

    Adjustable method, body, headers.
    Support for both HTTP and HTTPS.
    Supports blocking (synchronous) operations, and non-blocking (asynchronous) operations.
2020-01-20 22:25:44 +02:00
Erki
18e03e0a02 rustg for UDP shipping (#7897)
The C++ UDP logging library has been swapped out with a rustg implementation. The rustg library uses non-blocking IO mode, and hopefully has less trouble than the C++ one. Though we'll have to see. It should error when the call is supposed to block.

The old library has been removed.
2020-01-11 21:17:41 +02:00
Mykhailo Bykhovtsev
4c213f25ef Updating rust-g (#5992) 2019-01-29 23:02:39 +01:00