Commit graph

10 commits

Author SHA1 Message Date
Rushmore Mushambi
3e80aa9914
Implement to_value for sql::Value (#1659)
`sql::Value` is an integral part of `surrealdb`. It's the internal type used by our storage layer. Because of this, we do a lot of converting between this type and native Rust types. Currently this conversion is done through `JSON` using the `serde_json` crate because we do not have our own custom data format implementation. This works because `SQL` is a superset of `JSON`.  This, however, means that this conversion is lossy and can cause surprises in some cases. For example expecting record IDs to be deserialized into a `String` instead of its corresponding Rust native type.

This change implements a custom data format around `sql::Value` and introduces a `to_value` function that facilitates that conversion.
2023-03-30 11:41:44 +01:00
Salvador Girones Gil
565717659a
Add functionality for open telemetry tracing (#1727) 2023-03-29 19:16:18 +01:00
Rushmore Mushambi
312e89a5a9
Fix release builds (#1616) 2023-01-29 12:35:47 +00:00
Rushmore Mushambi
538a4a8100
Disable caching cargo assets (#1582) 2023-01-07 08:03:25 +00:00
Tobie Morgan Hitchcock
5d4cb3bbbf Fix continuous integration tests and build 2023-01-02 09:10:04 +00:00
Tobie Morgan Hitchcock
4ffeefb537 Simplify continuous integration workflows 2023-01-01 12:24:00 +00:00
Rushmore Mushambi
90bfbfd654
Fix more CI warnings (#1554)
* Switch `aws-actions/configure-aws-credentials` to `v1-node16`

* Pin `macOS` to v11

`macos-latest` will soon point to `macos-12` and that will bring
GCC 11 which would break the nightly and release builds again.
2022-12-27 12:55:00 +00:00
Rushmore Mushambi
b64b6b1c8c
Upgrade Github Actions versions (#1551) 2022-12-26 14:14:05 +00:00
Rushmore Mushambi
34bfb67ab4
Pin Ubuntu to 20.04 to fix nightly builds (#1539) 2022-12-21 11:42:43 +00:00
Tobie Morgan Hitchcock
252e7d2b29 Add general and nightly release builds 2022-09-22 14:56:36 +01:00