Skip to content

Conversation

@dianchia
Copy link

@dianchia dianchia commented Feb 3, 2026

This PR builds on the build scaffolding introduced in #1186 and focuses on data modelling only.
It introduces Rust data structures corresponding to the core nuScenes tables (e.g. Scene, Sample, Log, etc.), mirroring the existing JSON schema used by the Python SDK.

Key points:

  • Defines Rust structs for nuScenes tables in rust-src/, with fields aligned to the official nuScenes JSON format.
  • Uses serde::Deserialize exclusively to support loading data directly from the dataset files.
  • No Python bindings, PyO3 glue, or SDK integration is introduced in this PR.
  • No changes to the existing Python runtime behaviour.

This PR establishes a strongly typed, schema-aligned foundation in Rust that later PRs can build on for data loading and Python–Rust interoperability.

Configure Cargo.toml and pyproject.toml for PyO3 extension.
Include a CI workflow for building wheels with maturin for different OS and Python versions.
- Implement nuScenes core data structures such as Scene, Sample, SampleAnnotation, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant