Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 11 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,43 +323,33 @@ jobs:
cargo hack --no-dev-deps --ignore-private clippy --no-default-features -- -D warnings


rust-semver:
name: "Rust (semver checks)"
public-api:
name: "Public API lock files"
timeout-minutes: 120
if: github.ref != 'refs/heads/develop'
runs-on:
- runs-on=${{ github.run_id }}
- family=m7i+m7i-flex+m7a
- cpu=16
- image=ubuntu24-full-x64
- extras=s3-cache
- tag=rust-semver
- tag=public-api
steps:
- uses: runs-on/action@v2
with:
sccache: s3
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- uses: ./.github/actions/setup-rust
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# We have to set the correct Cargo.toml versions so semver checks uses the previous release.
- name: Latest Tag
id: latest-tag
run: |
LATEST_TAG=$(git describe --tags --abbrev=0)
echo "tag=$LATEST_TAG" >> $GITHUB_OUTPUT
- name: Cargo Set Version
toolchain: nightly
- name: Install cargo-public-api
run: cargo install cargo-public-api --locked
- name: Regenerate public API lock files
run: bash scripts/public-api.sh
- name: Verify lock files are up to date
run: |
cargo install cargo-edit
cargo set-version --workspace ${{ steps.latest-tag.outputs.tag }}

- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
exclude: vortex-cuda
git diff --name-only
git diff --exit-code '**/public-api.lock'

rust-coverage:
name: "Rust tests (coverage) (${{ matrix.suite }})"
Expand Down
245 changes: 245 additions & 0 deletions encodings/alp/public-api.lock

Large diffs are not rendered by default.

65 changes: 65 additions & 0 deletions encodings/bytebool/public-api.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
pub mod vortex_bytebool
pub struct vortex_bytebool::ByteBoolArray
impl vortex_bytebool::ByteBoolArray
pub fn vortex_bytebool::ByteBoolArray::as_slice(&self) -> &[bool]
pub fn vortex_bytebool::ByteBoolArray::buffer(&self) -> &vortex_array::buffer::BufferHandle
pub fn vortex_bytebool::ByteBoolArray::from_vec<V: core::convert::Into<vortex_array::validity::Validity>>(data: alloc::vec::Vec<bool>, validity: V) -> Self
pub fn vortex_bytebool::ByteBoolArray::new(buffer: vortex_array::buffer::BufferHandle, validity: vortex_array::validity::Validity) -> Self
impl core::clone::Clone for vortex_bytebool::ByteBoolArray
pub fn vortex_bytebool::ByteBoolArray::clone(&self) -> vortex_bytebool::ByteBoolArray
impl core::convert::AsRef<dyn vortex_array::array::Array> for vortex_bytebool::ByteBoolArray
pub fn vortex_bytebool::ByteBoolArray::as_ref(&self) -> &dyn vortex_array::array::Array
impl core::convert::From<alloc::vec::Vec<bool>> for vortex_bytebool::ByteBoolArray
pub fn vortex_bytebool::ByteBoolArray::from(value: alloc::vec::Vec<bool>) -> Self
impl core::convert::From<alloc::vec::Vec<core::option::Option<bool>>> for vortex_bytebool::ByteBoolArray
pub fn vortex_bytebool::ByteBoolArray::from(value: alloc::vec::Vec<core::option::Option<bool>>) -> Self
impl core::convert::From<vortex_bytebool::ByteBoolArray> for vortex_array::array::ArrayRef
pub fn vortex_array::array::ArrayRef::from(value: vortex_bytebool::ByteBoolArray) -> vortex_array::array::ArrayRef
impl core::fmt::Debug for vortex_bytebool::ByteBoolArray
pub fn vortex_bytebool::ByteBoolArray::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::ops::deref::Deref for vortex_bytebool::ByteBoolArray
pub type vortex_bytebool::ByteBoolArray::Target = dyn vortex_array::array::Array
pub fn vortex_bytebool::ByteBoolArray::deref(&self) -> &Self::Target
impl vortex_array::array::IntoArray for vortex_bytebool::ByteBoolArray
pub fn vortex_bytebool::ByteBoolArray::into_array(self) -> vortex_array::array::ArrayRef
impl vortex_array::vtable::validity::ValidityHelper for vortex_bytebool::ByteBoolArray
pub fn vortex_bytebool::ByteBoolArray::validity(&self) -> &vortex_array::validity::Validity
pub struct vortex_bytebool::ByteBoolVTable
impl vortex_bytebool::ByteBoolVTable
pub const vortex_bytebool::ByteBoolVTable::ID: vortex_array::vtable::dyn_::ArrayId
impl core::fmt::Debug for vortex_bytebool::ByteBoolVTable
pub fn vortex_bytebool::ByteBoolVTable::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl vortex_array::arrays::slice::SliceReduce for vortex_bytebool::ByteBoolVTable
pub fn vortex_bytebool::ByteBoolVTable::slice(array: &vortex_bytebool::ByteBoolArray, range: core::ops::range::Range<usize>) -> vortex_error::VortexResult<core::option::Option<vortex_array::array::ArrayRef>>
impl vortex_array::compute::cast::CastKernel for vortex_bytebool::ByteBoolVTable
pub fn vortex_bytebool::ByteBoolVTable::cast(&self, array: &vortex_bytebool::ByteBoolArray, dtype: &vortex_dtype::dtype::DType) -> vortex_error::VortexResult<core::option::Option<vortex_array::array::ArrayRef>>
impl vortex_array::compute::mask::MaskKernel for vortex_bytebool::ByteBoolVTable
pub fn vortex_bytebool::ByteBoolVTable::mask(&self, array: &vortex_bytebool::ByteBoolArray, mask: &vortex_mask::Mask) -> vortex_error::VortexResult<vortex_array::array::ArrayRef>
impl vortex_array::compute::take::TakeKernel for vortex_bytebool::ByteBoolVTable
pub fn vortex_bytebool::ByteBoolVTable::take(&self, array: &vortex_bytebool::ByteBoolArray, indices: &dyn vortex_array::array::Array) -> vortex_error::VortexResult<vortex_array::array::ArrayRef>
impl vortex_array::vtable::VTable for vortex_bytebool::ByteBoolVTable
pub type vortex_bytebool::ByteBoolVTable::Array = vortex_bytebool::ByteBoolArray
pub type vortex_bytebool::ByteBoolVTable::ArrayVTable = vortex_bytebool::ByteBoolVTable
pub type vortex_bytebool::ByteBoolVTable::Metadata = vortex_array::metadata::EmptyMetadata
pub type vortex_bytebool::ByteBoolVTable::OperationsVTable = vortex_bytebool::ByteBoolVTable
pub type vortex_bytebool::ByteBoolVTable::ValidityVTable = vortex_array::vtable::validity::ValidityVTableFromValidityHelper
pub type vortex_bytebool::ByteBoolVTable::VisitorVTable = vortex_bytebool::ByteBoolVTable
pub fn vortex_bytebool::ByteBoolVTable::build(dtype: &vortex_dtype::dtype::DType, len: usize, _metadata: &Self::Metadata, buffers: &[vortex_array::buffer::BufferHandle], children: &dyn vortex_array::serde::ArrayChildren) -> vortex_error::VortexResult<vortex_bytebool::ByteBoolArray>
pub fn vortex_bytebool::ByteBoolVTable::deserialize(_bytes: &[u8], _dtype: &vortex_dtype::dtype::DType, _len: usize, _session: &vortex_session::VortexSession) -> vortex_error::VortexResult<Self::Metadata>
pub fn vortex_bytebool::ByteBoolVTable::execute(array: &Self::Array, _ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult<vortex_array::array::ArrayRef>
pub fn vortex_bytebool::ByteBoolVTable::id(_array: &Self::Array) -> vortex_array::vtable::dyn_::ArrayId
pub fn vortex_bytebool::ByteBoolVTable::metadata(_array: &vortex_bytebool::ByteBoolArray) -> vortex_error::VortexResult<Self::Metadata>
pub fn vortex_bytebool::ByteBoolVTable::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult<core::option::Option<vortex_array::array::ArrayRef>>
pub fn vortex_bytebool::ByteBoolVTable::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult<core::option::Option<alloc::vec::Vec<u8>>>
pub fn vortex_bytebool::ByteBoolVTable::with_children(array: &mut Self::Array, children: alloc::vec::Vec<vortex_array::array::ArrayRef>) -> vortex_error::VortexResult<()>
impl vortex_array::vtable::array::BaseArrayVTable<vortex_bytebool::ByteBoolVTable> for vortex_bytebool::ByteBoolVTable
pub fn vortex_bytebool::ByteBoolVTable::array_eq(array: &vortex_bytebool::ByteBoolArray, other: &vortex_bytebool::ByteBoolArray, precision: vortex_array::hash::Precision) -> bool
pub fn vortex_bytebool::ByteBoolVTable::array_hash<H: core::hash::Hasher>(array: &vortex_bytebool::ByteBoolArray, state: &mut H, precision: vortex_array::hash::Precision)
pub fn vortex_bytebool::ByteBoolVTable::dtype(array: &vortex_bytebool::ByteBoolArray) -> &vortex_dtype::dtype::DType
pub fn vortex_bytebool::ByteBoolVTable::len(array: &vortex_bytebool::ByteBoolArray) -> usize
pub fn vortex_bytebool::ByteBoolVTable::stats(array: &vortex_bytebool::ByteBoolArray) -> vortex_array::stats::array::StatsSetRef<'_>
impl vortex_array::vtable::operations::OperationsVTable<vortex_bytebool::ByteBoolVTable> for vortex_bytebool::ByteBoolVTable
pub fn vortex_bytebool::ByteBoolVTable::scalar_at(array: &vortex_bytebool::ByteBoolArray, index: usize) -> vortex_error::VortexResult<vortex_scalar::scalar::Scalar>
impl vortex_array::vtable::visitor::VisitorVTable<vortex_bytebool::ByteBoolVTable> for vortex_bytebool::ByteBoolVTable
pub fn vortex_bytebool::ByteBoolVTable::visit_buffers(array: &vortex_bytebool::ByteBoolArray, visitor: &mut dyn vortex_array::array::visitor::ArrayBufferVisitor)
pub fn vortex_bytebool::ByteBoolVTable::visit_children(array: &vortex_bytebool::ByteBoolArray, visitor: &mut dyn vortex_array::array::visitor::ArrayChildVisitor)
Loading
Loading