Skip to content
Merged
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
7 changes: 7 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ jobs:
sudo apt install -y clang libclang-dev protobuf-compiler
- name: Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
# `--workspace` unions every member's features, so `lance-context` is
# always built with `remote` enabled by lance-context-server/-client.
# The release job checks the crate on its own (`default = []`), a
# combination the line above never exercises. Check it explicitly so
# cfg-gated breakage is caught here instead of at release time.
- name: Clippy (lance-context, default features)
run: cargo clippy --manifest-path crates/lance-context/Cargo.toml --all-targets -- -D warnings

typos:
name: Spell Check
Expand Down
5 changes: 3 additions & 2 deletions crates/lance-context/src/unified_generic.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
use std::collections::HashMap;

use lance_context_api::{
AddRowsResponse, ContextError, ContextResult, CreateGenericStoreRequest, GenericStoreApi,
SchemaSpec,
AddRowsResponse, ContextError, ContextResult, GenericStoreApi, SchemaSpec,
};
use lance_context_core::{GenericStore as LocalStore, GenericStoreOptions};
use serde_json::{Map, Value};

#[cfg(feature = "remote")]
use lance_context_api::CreateGenericStoreRequest;
#[cfg(feature = "remote")]
use lance_context_client::RemoteGenericStore;

Expand Down
Loading