diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daca95b..8d06284 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ env: jobs: check: - name: Check against copper-rs master + name: Check against the matching Copper stack runs-on: ubuntu-latest steps: - name: Check out Zed @@ -24,11 +24,11 @@ jobs: path: zed submodules: recursive - - name: Check out copper-rs master + - name: Check out the matching Copper stack uses: actions/checkout@v6 with: repository: copper-project/copper-rs - ref: master + ref: gbin/self-describing-logs-payloads path: copper-rs - name: Install Rust diff --git a/components/sources/cu_zed/Cargo.toml b/components/sources/cu_zed/Cargo.toml index 88e0a07..9810830 100644 --- a/components/sources/cu_zed/Cargo.toml +++ b/components/sources/cu_zed/Cargo.toml @@ -18,6 +18,10 @@ environments = ["host"] host_os = ["linux"] [features] +self-describing-logs = [ + "cu29/self-describing-logs", + "cu-sensor-payloads/self-describing-logs", +] zed-rerun-demo = [] [dependencies] diff --git a/components/sources/cu_zed/src/payloads.rs b/components/sources/cu_zed/src/payloads.rs index f7d32ae..a3f0555 100644 --- a/components/sources/cu_zed/src/payloads.rs +++ b/components/sources/cu_zed/src/payloads.rs @@ -32,7 +32,7 @@ macro_rules! impl_f32_raster_payload { { pub seq: u64, pub format: ZedRasterFormat, - #[reflect(ignore)] + #[cfg_attr(not(feature = "self-describing-logs"), reflect(ignore))] pub buffer_handle: CuHandle, }