repo stringlengths 6 65 | file_url stringlengths 81 311 | file_path stringlengths 6 227 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:31:58 2026-01-04 20:25:31 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/io.rs | rust/lancedb/src/io.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
pub mod object_store;
| rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/arrow.rs | rust/lancedb/src/arrow.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{pin::Pin, sync::Arc};
pub use arrow_schema;
use datafusion_common::DataFusionError;
use datafusion_physical_plan::stream::RecordBatchStreamAdapter;
use futures::{Stream, StreamExt, TryStreamExt};
use lance_datage... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/remote.rs | rust/lancedb/src/remote.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! This module contains a remote client for a LanceDB server. This is used
//! to communicate with LanceDB cloud. It can also serve as an example for
//! building client/server applications with LanceDB or as a client fo... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/table.rs | rust/lancedb/src/table.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! LanceDB Table APIs
use arrow::array::{AsArray, FixedSizeListBuilder, Float32Builder};
use arrow::datatypes::{Float32Type, UInt8Type};
use arrow_array::{RecordBatchIterator, RecordBatchReader};
use arrow_schema::{DataTy... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | true |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/test_utils.rs | rust/lancedb/src/test_utils.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
pub mod connection;
pub mod datagen;
| rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/connection.rs | rust/lancedb/src/connection.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! Functions to establish a connection to a LanceDB database
use std::collections::HashMap;
use std::sync::Arc;
use arrow_array::RecordBatchReader;
use arrow_schema::{Field, SchemaRef};
use lance::dataset::ReadParams;
us... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | true |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/rerankers.rs | rust/lancedb/src/rerankers.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{collections::BTreeSet, str::FromStr};
use arrow::{
array::downcast_array,
compute::{concat_batches, filter_record_batch},
};
use arrow_array::{BooleanArray, RecordBatch, UInt64Array};
use async_trait::asy... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/database.rs | rust/lancedb/src/database.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! The database module defines the `Database` trait and related types.
//!
//! A "database" is a generic concept for something that manages tables and their metadata.
//!
//! We provide a basic implementation of a database... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/error.rs | rust/lancedb/src/error.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::sync::PoisonError;
use arrow_schema::ArrowError;
use snafu::Snafu;
type BoxError = Box<dyn std::error::Error + Send + Sync>;
#[derive(Debug, Snafu)]
#[snafu(visibility(pub(crate)))]
pub enum Error {
#[snafu(... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/utils.rs | rust/lancedb/src/utils.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::sync::Arc;
use arrow_array::RecordBatch;
use arrow_schema::{DataType, Schema, SchemaRef};
use datafusion_common::{DataFusionError, Result as DataFusionResult};
use datafusion_execution::RecordBatchStream;
use futu... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/dataloader.rs | rust/lancedb/src/dataloader.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
pub mod permutation;
| rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/query.rs | rust/lancedb/src/query.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::sync::Arc;
use std::{future::Future, time::Duration};
use arrow::compute::concat_batches;
use arrow_array::{make_array, Array, Float16Array, Float32Array, Float64Array};
use arrow_schema::{DataType, SchemaRef};
us... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | true |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/polars_arrow_convertors.rs | rust/lancedb/src/polars_arrow_convertors.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
/// Polars and LanceDB both use Arrow for their in memory-representation, but use
/// different Rust Arrow implementations. LanceDB uses the arrow-rs crate and
/// Polars uses the polars-arrow crate.
///
/// This crate defi... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/data.rs | rust/lancedb/src/data.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! Data types, schema coercion, and data cleaning and etc.
pub mod inspect;
pub mod sanitize;
| rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/ipc.rs | rust/lancedb/src/ipc.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! IPC support
use std::{io::Cursor, sync::Arc};
use arrow_array::{RecordBatch, RecordBatchReader};
use arrow_ipc::{reader::FileReader, writer::FileWriter};
use arrow_schema::Schema;
use crate::{Error, Result};
/// Con... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/query/hybrid.rs | rust/lancedb/src/query/hybrid.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use arrow::compute::{
kernels::numeric::{div, sub},
max, min,
};
use arrow_array::{cast::downcast_array, Float32Array, RecordBatch};
use arrow_schema::{DataType, Field, Schema, SortOptions};
use lance::dataset::ROW_... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/index/vector.rs | rust/lancedb/src/index/vector.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! Vector indices are approximate indices that are used to find rows similar to
//! a query vector. Vector indices speed up vector searches.
//!
//! Vector indices are only supported on fixed-size-list (tensor) columns of... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/index/scalar.rs | rust/lancedb/src/index/scalar.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! Scalar indices are exact indices that are used to quickly satisfy a variety of filters
//! against a column of scalar values.
//!
//! Scalar indices are currently supported on numeric, string, boolean, and temporal colu... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/index/waiter.rs | rust/lancedb/src/index/waiter.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use crate::error::Result;
use crate::table::BaseTable;
use crate::Error;
use log::debug;
use std::time::{Duration, Instant};
use tokio::time::sleep;
const DEFAULT_SLEEP_MS: u64 = 1000;
const MAX_WAIT: Duration = Duration::... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/remote/db.rs | rust/lancedb/src/remote/db.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::collections::HashMap;
use std::sync::Arc;
use arrow_array::RecordBatchIterator;
use async_trait::async_trait;
use http::StatusCode;
use lance_io::object_store::StorageOptions;
use moka::future::Cache;
use reqwest:... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | true |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/remote/table.rs | rust/lancedb/src/remote/table.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use crate::index::Index;
use crate::index::IndexStatistics;
use crate::query::{QueryFilter, QueryRequest, Select, VectorQueryRequest};
use crate::table::AddColumnsResult;
use crate::table::AddResult;
use crate::table::Alter... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | true |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/remote/client.rs | rust/lancedb/src/remote/client.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use http::HeaderName;
use log::debug;
use reqwest::{
header::{HeaderMap, HeaderValue},
Body, Request, RequestBuilder, Response,
};
use std::{collections::HashMap, future::Future, str::FromStr, sync::Arc, time::Durat... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | true |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/remote/util.rs | rust/lancedb/src/remote/util.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::io::Cursor;
use arrow_array::RecordBatchReader;
use reqwest::Response;
use crate::Result;
use super::db::ServerVersion;
pub fn batches_to_ipc_bytes(batches: impl RecordBatchReader) -> Result<Vec<u8>> {
cons... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/remote/retry.rs | rust/lancedb/src/remote/retry.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use crate::remote::RetryConfig;
use crate::Error;
use log::debug;
use std::time::Duration;
pub struct RetryCounter<'a> {
pub request_failures: u8,
pub connect_failures: u8,
pub read_failures: u8,
pub config... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/database/listing.rs | rust/lancedb/src/database/listing.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! Provides the `ListingDatabase`, a simple database where tables are folders in a directory
use std::fs::create_dir_all;
use std::path::Path;
use std::{collections::HashMap, sync::Arc};
use lance::dataset::refs::Ref;
us... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | true |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/database/namespace.rs | rust/lancedb/src/database/namespace.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! Namespace-based database implementation that delegates table management to lance-namespace
use std::collections::HashMap;
use std::sync::Arc;
use async_trait::async_trait;
use lance_namespace::{
models::{
... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/data/sanitize.rs | rust/lancedb/src/data/sanitize.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{iter::repeat_with, sync::Arc};
use arrow_array::{
cast::AsArray,
types::{Float16Type, Float32Type, Float64Type, Int32Type, Int64Type},
Array, ArrowNumericType, FixedSizeListArray, PrimitiveArray, Reco... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/data/inspect.rs | rust/lancedb/src/data/inspect.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::collections::HashMap;
use arrow::compute::kernels::{aggregate::bool_and, length::length};
use arrow_array::{
cast::AsArray,
types::{ArrowPrimitiveType, Int32Type, Int64Type},
Array, GenericListArray, O... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/io/object_store.rs | rust/lancedb/src/io/object_store.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! A mirroring object store that mirror writes to a secondary object store
use std::{fmt::Formatter, sync::Arc};
use futures::{stream::BoxStream, TryFutureExt};
use lance::io::WrappingObjectStore;
use object_store::{
... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/io/object_store/io_tracking.rs | rust/lancedb/src/io/object_store/io_tracking.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{
fmt::{Display, Formatter},
sync::{Arc, Mutex},
};
use bytes::Bytes;
use futures::stream::BoxStream;
use lance::io::WrappingObjectStore;
use object_store::{
path::Path, GetOptions, GetResult, ListResu... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/embeddings/openai.rs | rust/lancedb/src/embeddings/openai.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{borrow::Cow, fmt::Formatter, str::FromStr, sync::Arc};
use arrow::array::{AsArray, Float32Builder};
use arrow_array::{Array, ArrayRef, FixedSizeListArray, Float32Array};
use arrow_data::ArrayData;
use arrow_schem... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/embeddings/bedrock.rs | rust/lancedb/src/embeddings/bedrock.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use aws_sdk_bedrockruntime::Client as BedrockClient;
use std::{borrow::Cow, fmt::Formatter, str::FromStr, sync::Arc};
use arrow::array::{AsArray, Float32Builder};
use arrow_array::{Array, ArrayRef, FixedSizeListArray, Floa... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/embeddings/sentence_transformers.rs | rust/lancedb/src/embeddings/sentence_transformers.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{borrow::Cow, sync::Arc};
use super::EmbeddingFunction;
use arrow::{
array::{AsArray, PrimitiveBuilder},
datatypes::{
ArrowPrimitiveType, Float16Type, Float32Type, Float64Type, Int64Type, UInt32Typ... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/dataloader/permutation.rs | rust/lancedb/src/dataloader/permutation.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! Contains the [PermutationBuilder] to create a permutation "view" of an existing table.
//!
//! A permutation view can apply a filter, divide the data into splits, and shuffle the data.
//! The permutation table only sto... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/dataloader/permutation/reader.rs | rust/lancedb/src/dataloader/permutation/reader.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! Row ID-based views for LanceDB tables
//!
//! This module provides functionality for creating views that are based on specific row IDs.
//! The `IdView` allows you to create a virtual table that contains only
//! the ro... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/dataloader/permutation/builder.rs | rust/lancedb/src/dataloader/permutation/builder.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{collections::HashMap, sync::Arc};
use datafusion::prelude::{SessionConfig, SessionContext};
use datafusion_execution::{disk_manager::DiskManagerBuilder, runtime_env::RuntimeEnvBuilder};
use datafusion_expr::col;
... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/dataloader/permutation/util.rs | rust/lancedb/src/dataloader/permutation/util.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{path::PathBuf, sync::Arc};
use arrow_array::RecordBatch;
use arrow_schema::{Fields, Schema};
use datafusion_execution::disk_manager::DiskManagerMode;
use futures::TryStreamExt;
use rand::{rngs::SmallRng, RngCore,... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/dataloader/permutation/shuffle.rs | rust/lancedb/src/dataloader/permutation/shuffle.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::sync::{Arc, Mutex};
use arrow::compute::concat_batches;
use arrow_array::{RecordBatch, UInt64Array};
use futures::{StreamExt, TryStreamExt};
use lance::io::ObjectStore;
use lance_core::{cache::LanceCache, utils::f... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/dataloader/permutation/split.rs | rust/lancedb/src/dataloader/permutation/split.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{
iter,
sync::{
atomic::{AtomicBool, AtomicU64, AtomicUsize, Ordering},
Arc,
},
};
use arrow_array::{Array, BooleanArray, RecordBatch, UInt64Array};
use arrow_schema::{DataType, Field, ... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/table/merge.rs | rust/lancedb/src/table/merge.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{sync::Arc, time::Duration};
use arrow_array::RecordBatchReader;
use crate::Result;
use super::{BaseTable, MergeResult};
/// A builder used to create and run a merge insert operation
///
/// See [`super::Table:... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/table/datafusion.rs | rust/lancedb/src/table/datafusion.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! This module contains adapters to allow LanceDB tables to be used as DataFusion table providers.
pub mod udtf;
use std::{collections::HashMap, sync::Arc};
use arrow_array::RecordBatch;
use arrow_schema::Schema as Arro... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/table/dataset.rs | rust/lancedb/src/table/dataset.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{
ops::{Deref, DerefMut},
sync::Arc,
time::{self, Duration, Instant},
};
use lance::{dataset::refs, Dataset};
use tokio::sync::{RwLock, RwLockReadGuard, RwLockWriteGuard};
use crate::error::Result;
/... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/table/datafusion/udtf.rs | rust/lancedb/src/table/datafusion/udtf.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! User-Defined Table Functions (UDTFs) for DataFusion integration
pub mod fts;
| rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/table/datafusion/udtf/fts.rs | rust/lancedb/src/table/datafusion/udtf/fts.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! User-Defined Table Functions (UDTFs) for LanceDB
//!
//! This module provides table-level UDTFs that integrate with DataFusion's SQL engine.
use std::sync::Arc;
use datafusion::catalog::TableFunctionImpl;
use datafusi... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | true |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/test_utils/connection.rs | rust/lancedb/src/test_utils/connection.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! Functions for testing connections.
use regex::Regex;
use std::env;
use std::process::Stdio;
use tokio::io::{AsyncBufReadExt, BufReader};
use tokio::process::{Child, ChildStdout, Command};
use tokio::sync::mpsc;
use cr... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/test_utils/datagen.rs | rust/lancedb/src/test_utils/datagen.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use arrow_array::RecordBatch;
use futures::TryStreamExt;
use lance_datagen::{BatchCount, BatchGeneratorBuilder, RowCount};
use crate::{
arrow::{SendableRecordBatchStream, SimpleRecordBatchStream},
connect, Error, T... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/src/rerankers/rrf.rs | rust/lancedb/src/rerankers/rrf.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::collections::BTreeMap;
use std::sync::Arc;
use arrow::{
array::downcast_array,
compute::{sort_to_indices, take},
};
use arrow_array::{Float32Array, RecordBatch, UInt64Array};
use arrow_schema::{DataType, F... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/tests/object_store_test.rs | rust/lancedb/tests/object_store_test.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
#![cfg(feature = "s3-test")]
use std::sync::Arc;
use arrow_array::{Int32Array, RecordBatch, RecordBatchIterator, StringArray};
use arrow_schema::{DataType, Field, Schema};
use aws_config::{BehaviorVersion, ConfigLoader, R... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/tests/embedding_registry_test.rs | rust/lancedb/tests/embedding_registry_test.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{
borrow::Cow,
collections::{HashMap, HashSet},
iter::repeat,
sync::Arc,
};
use arrow::buffer::NullBuffer;
use arrow_array::{
Array, FixedSizeListArray, Float32Array, Int32Array, RecordBatch, R... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/examples/hybrid_search.rs | rust/lancedb/examples/hybrid_search.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use arrow_array::{RecordBatch, RecordBatchIterator, StringArray};
use arrow_schema::{DataType, Field, Schema};
use futures::TryStreamExt;
use lance_index::scalar::FullTextSearchQuery;
use lancedb::index::scalar::FtsIndexBui... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/examples/openai.rs | rust/lancedb/examples/openai.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
// --8<-- [start:imports]
use std::{iter::once, sync::Arc};
use arrow_array::{Float64Array, Int32Array, RecordBatch, RecordBatchIterator, StringArray};
use arrow_schema::{DataType, Field, Schema};
use futures::StreamExt;
... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/examples/ivf_pq.rs | rust/lancedb/examples/ivf_pq.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! This example demonstrates setting advanced parameters when building an IVF PQ index
//!
//! Snippets from this example are used in the documentation on ANN indices.
use std::sync::Arc;
use arrow_array::types::Float32T... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/examples/bedrock.rs | rust/lancedb/examples/bedrock.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{iter::once, sync::Arc};
use arrow_array::{Float64Array, Int32Array, RecordBatch, RecordBatchIterator, StringArray};
use arrow_schema::{DataType, Field, Schema};
use aws_config::Region;
use aws_sdk_bedrockruntime:... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/examples/simple.rs | rust/lancedb/examples/simple.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
//! This example demonstrates basic usage of LanceDb.
//!
//! Snippets from this example are used in the quickstart documentation.
use std::sync::Arc;
use arrow_array::types::Float32Type;
use arrow_array::{FixedSizeListAr... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/examples/sentence_transformers.rs | rust/lancedb/examples/sentence_transformers.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::{iter::once, sync::Arc};
use arrow_array::{RecordBatch, RecordBatchIterator, StringArray};
use arrow_schema::{DataType, Field, Schema};
use futures::StreamExt;
use lancedb::{
arrow::IntoArrow,
connect,
... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
lancedb/lancedb | https://github.com/lancedb/lancedb/blob/d67a8743ba962dc1ae4456fa68ceebc16e202ee5/rust/lancedb/examples/full_text_search.rs | rust/lancedb/examples/full_text_search.rs | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright The LanceDB Authors
use std::sync::Arc;
use arrow_array::{Int32Array, RecordBatch, RecordBatchIterator, RecordBatchReader, StringArray};
use arrow_schema::{DataType, Field, Schema};
use futures::TryStreamExt;
use lance_index::scalar::FullTex... | rust | Apache-2.0 | d67a8743ba962dc1ae4456fa68ceebc16e202ee5 | 2026-01-04T15:47:39.566845Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-net-driver-channel/src/lib.rs | embassy-net-driver-channel/src/lib.rs | #![no_std]
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
// must go first!
mod fmt;
use core::cell::RefCell;
use core::mem::MaybeUninit;
use core::task::{Context, Poll};
pub use embassy_net_driver as driver;
use embassy_net_driver::{Capabilities, LinkState};
use embassy_sync::blocking_mutex::Mutex;
u... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-net-driver-channel/src/fmt.rs | embassy-net-driver-channel/src/fmt.rs | #![macro_use]
#![allow(unused)]
use core::fmt::{Debug, Display, LowerHex};
#[cfg(all(feature = "defmt", feature = "log"))]
compile_error!("You may not enable both `defmt` and `log` features.");
#[collapse_debuginfo(yes)]
macro_rules! assert {
($($x:tt)*) => {
{
#[cfg(not(feature = "defmt"))]
... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-net-wiznet/src/lib.rs | embassy-net-wiznet/src/lib.rs | #![no_std]
#![allow(async_fn_in_trait)]
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
pub mod chip;
mod device;
use embassy_futures::select::{Either3, select3};
use embassy_net_driver_channel as ch;
use embassy_net_driver_channel::driver::LinkState;
use embassy_time::{Duration, Ticker, Timer};
use emb... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-net-wiznet/src/device.rs | embassy-net-wiznet/src/device.rs | use core::marker::PhantomData;
use embedded_hal_async::spi::SpiDevice;
use crate::chip::Chip;
#[repr(u8)]
enum Command {
Open = 0x01,
Send = 0x20,
Receive = 0x40,
}
#[repr(u8)]
enum Interrupt {
Receive = 0b00100_u8,
}
/// Wiznet chip in MACRAW mode
#[derive(Debug)]
#[cfg_attr(feature = "defmt", der... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-net-wiznet/src/chip/w5100s.rs | embassy-net-wiznet/src/chip/w5100s.rs | use embedded_hal_async::spi::{Operation, SpiDevice};
const SOCKET_BASE: u16 = 0x400;
const TX_BASE: u16 = 0x4000;
const RX_BASE: u16 = 0x6000;
/// Wizard W5100S chip.
pub enum W5100S {}
impl super::Chip for W5100S {}
impl super::SealedChip for W5100S {
type Address = u16;
const CHIP_VERSION: u8 = 0x51;
... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-net-wiznet/src/chip/w5500.rs | embassy-net-wiznet/src/chip/w5500.rs | use embedded_hal_async::spi::{Operation, SpiDevice};
#[repr(u8)]
pub enum RegisterBlock {
Common = 0x00,
Socket0 = 0x01,
TxBuf = 0x02,
RxBuf = 0x03,
}
/// Wiznet W5500 chip.
pub enum W5500 {}
impl super::Chip for W5500 {}
impl super::SealedChip for W5500 {
type Address = (RegisterBlock, u16);
... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-net-wiznet/src/chip/w6100.rs | embassy-net-wiznet/src/chip/w6100.rs | use embedded_hal_async::spi::{Operation, SpiDevice};
#[repr(u8)]
pub enum RegisterBlock {
Common = 0x00,
Socket0 = 0x01,
TxBuf = 0x02,
RxBuf = 0x03,
}
/// Wiznet W6100 chip.
pub enum W6100 {}
impl super::Chip for W6100 {}
impl super::SealedChip for W6100 {
type Address = (RegisterBlock, u16);
... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-net-wiznet/src/chip/mod.rs | embassy-net-wiznet/src/chip/mod.rs | //! Wiznet W5100s and W5500 family driver.
mod w5500;
pub use w5500::W5500;
mod w5100s;
use embedded_hal_async::spi::SpiDevice;
pub use w5100s::W5100S;
mod w6100;
pub use w6100::W6100;
pub(crate) trait SealedChip {
type Address;
/// The version of the chip as reported by the VERSIONR register.
/// This is... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/lib.rs | embassy-embedded-hal/src/lib.rs | #![no_std]
#![allow(async_fn_in_trait)]
#![warn(missing_docs)]
#![doc = include_str!("../README.md")]
pub mod adapter;
pub mod flash;
pub mod shared_bus;
/// Set the configuration of a peripheral driver.
///
/// This trait is intended to be implemented by peripheral drivers such as SPI
/// and I2C. It allows changing... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/shared_bus/mod.rs | embassy-embedded-hal/src/shared_bus/mod.rs | //! Shared bus implementations
use core::fmt::Debug;
use embedded_hal_1::{i2c, spi};
pub mod asynch;
pub mod blocking;
/// Error returned by I2C device implementations in this crate.
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum I2cDeviceError<BUS> {
... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/shared_bus/blocking/i2c.rs | embassy-embedded-hal/src/shared_bus/blocking/i2c.rs | //! Blocking shared I2C bus
//!
//! # Example (nrf52)
//!
//! ```rust,ignore
//! use embassy_embedded_hal::shared_bus::blocking::i2c::I2cDevice;
//! use embassy_sync::blocking_mutex::{NoopMutex, raw::NoopRawMutex};
//!
//! static I2C_BUS: StaticCell<NoopMutex<RefCell<Twim<TWISPI0>>>> = StaticCell::new();
//! let i2c = ... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/shared_bus/blocking/spi.rs | embassy-embedded-hal/src/shared_bus/blocking/spi.rs | //! Blocking shared SPI bus
//!
//! # Example (nrf52)
//!
//! ```rust,ignore
//! use embassy_embedded_hal::shared_bus::blocking::spi::SpiDevice;
//! use embassy_sync::blocking_mutex::{NoopMutex, raw::NoopRawMutex};
//!
//! static SPI_BUS: StaticCell<NoopMutex<RefCell<Spim<SPI3>>>> = StaticCell::new();
//! let spi = Spi... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/shared_bus/blocking/mod.rs | embassy-embedded-hal/src/shared_bus/blocking/mod.rs | //! Blocking shared bus implementations for embedded-hal
pub mod i2c;
pub mod spi;
| rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/shared_bus/asynch/i2c.rs | embassy-embedded-hal/src/shared_bus/asynch/i2c.rs | //! Asynchronous shared I2C bus
//!
//! # Example (nrf52)
//!
//! ```rust,ignore
//! use embassy_embedded_hal::shared_bus::asynch::i2c::I2cDevice;
//! use embassy_sync::mutex::Mutex;
//! use embassy_sync::blocking_mutex::raw::NoopRawMutex;
//!
//! static I2C_BUS: StaticCell<Mutex<NoopRawMutex, Twim<TWISPI0>>> = StaticC... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/shared_bus/asynch/spi.rs | embassy-embedded-hal/src/shared_bus/asynch/spi.rs | //! Asynchronous shared SPI bus
//!
//! # Example (nrf52)
//!
//! ```rust,ignore
//! use embassy_embedded_hal::shared_bus::spi::SpiDevice;
//! use embassy_sync::mutex::Mutex;
//! use embassy_sync::blocking_mutex::raw::NoopRawMutex;
//!
//! static SPI_BUS: StaticCell<Mutex<NoopRawMutex, spim::Spim<SPI3>>> = StaticCell::... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/shared_bus/asynch/mod.rs | embassy-embedded-hal/src/shared_bus/asynch/mod.rs | //! Asynchronous shared bus implementations for embedded-hal-async
pub mod i2c;
pub mod spi;
| rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/flash/concat_flash.rs | embassy-embedded-hal/src/flash/concat_flash.rs | use embedded_storage::nor_flash::{ErrorType, MultiwriteNorFlash, NorFlash, NorFlashError, ReadNorFlash};
use embedded_storage_async::nor_flash::{
MultiwriteNorFlash as AsyncMultiwriteNorFlash, NorFlash as AsyncNorFlash, ReadNorFlash as AsyncReadNorFlash,
};
/// Convenience helper for concatenating two consecutive ... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/flash/mod.rs | embassy-embedded-hal/src/flash/mod.rs | //! Utilities related to flash.
mod concat_flash;
#[cfg(test)]
pub(crate) mod mem_flash;
pub mod partition;
pub use concat_flash::ConcatFlash;
| rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/flash/mem_flash.rs | embassy-embedded-hal/src/flash/mem_flash.rs | use alloc::vec::Vec;
use embedded_storage::nor_flash::{ErrorType, NorFlash, ReadNorFlash};
use embedded_storage_async::nor_flash::{NorFlash as AsyncNorFlash, ReadNorFlash as AsyncReadNorFlash};
extern crate alloc;
pub(crate) struct MemFlash<const SIZE: usize, const ERASE_SIZE: usize, const WRITE_SIZE: usize> {
p... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/flash/partition/blocking.rs | embassy-embedded-hal/src/flash/partition/blocking.rs | use core::cell::RefCell;
use embassy_sync::blocking_mutex::Mutex;
use embassy_sync::blocking_mutex::raw::RawMutex;
use embedded_storage::nor_flash::{ErrorType, MultiwriteNorFlash, NorFlash, ReadNorFlash};
use super::Error;
/// A logical partition of an underlying shared flash
///
/// A partition holds an offset and ... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/flash/partition/asynch.rs | embassy-embedded-hal/src/flash/partition/asynch.rs | use embassy_sync::blocking_mutex::raw::RawMutex;
use embassy_sync::mutex::Mutex;
use embedded_storage::nor_flash::ErrorType;
use embedded_storage_async::nor_flash::{MultiwriteNorFlash, NorFlash, ReadNorFlash};
use super::Error;
/// A logical partition of an underlying shared flash
///
/// A partition holds an offset ... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/flash/partition/mod.rs | embassy-embedded-hal/src/flash/partition/mod.rs | //! Flash Partition utilities
use embedded_storage::nor_flash::{NorFlashError, NorFlashErrorKind};
mod asynch;
mod blocking;
pub use asynch::Partition;
pub use blocking::BlockingPartition;
/// Partition error
#[derive(Debug, PartialEq, Eq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Error<T> {
... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/adapter/blocking_async.rs | embassy-embedded-hal/src/adapter/blocking_async.rs | /// Wrapper that implements async traits using blocking implementations.
///
/// This allows driver writers to depend on the async traits while still supporting embedded-hal peripheral implementations.
///
/// BlockingAsync will implement any async trait that maps to embedded-hal traits implemented for the wrapped driv... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/adapter/mod.rs | embassy-embedded-hal/src/adapter/mod.rs | //! Adapters between embedded-hal traits.
mod blocking_async;
mod yielding_async;
pub use blocking_async::BlockingAsync;
pub use yielding_async::YieldingAsync;
| rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-embedded-hal/src/adapter/yielding_async.rs | embassy-embedded-hal/src/adapter/yielding_async.rs | use embassy_futures::yield_now;
/// Wrapper that yields for each operation to the wrapped instance
///
/// This can be used in combination with [super::BlockingAsync] to enforce yields
/// between long running blocking operations.
pub struct YieldingAsync<T> {
wrapped: T,
}
impl<T> YieldingAsync<T> {
/// Crea... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-usb-synopsys-otg/src/lib.rs | embassy-usb-synopsys-otg/src/lib.rs | #![cfg_attr(not(test), no_std)]
#![allow(async_fn_in_trait)]
#![allow(unsafe_op_in_unsafe_fn)]
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
// This must go FIRST so that all the other modules see its macros.
mod fmt;
use core::cell::UnsafeCell;
use core::future::poll_fn;
use core::marker::PhantomData... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | true |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-usb-synopsys-otg/src/otg_v1.rs | embassy-usb-synopsys-otg/src/otg_v1.rs | //! Register definitions for Synopsys DesignWare USB OTG core
#![allow(missing_docs)]
use core::marker::PhantomData;
#[derive(Copy, Clone, PartialEq, Eq)]
pub struct RW;
#[derive(Copy, Clone, PartialEq, Eq)]
pub struct R;
#[derive(Copy, Clone, PartialEq, Eq)]
pub struct W;
mod sealed {
use super::*;
pub tra... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | true |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-usb-synopsys-otg/src/fmt.rs | embassy-usb-synopsys-otg/src/fmt.rs | #![macro_use]
#![allow(unused)]
use core::fmt::{Debug, Display, LowerHex};
#[cfg(all(feature = "defmt", feature = "log"))]
compile_error!("You may not enable both `defmt` and `log` features.");
#[collapse_debuginfo(yes)]
macro_rules! assert {
($($x:tt)*) => {
{
#[cfg(not(feature = "defmt"))]
... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-boot-stm32/build.rs | embassy-boot-stm32/build.rs | use std::env;
fn main() {
let target = env::var("TARGET").unwrap();
if target.starts_with("thumbv6m-") {
println!("cargo:rustc-cfg=armv6m");
}
println!("cargo:rustc-check-cfg=cfg(armv6m)");
}
| rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-boot-stm32/src/lib.rs | embassy-boot-stm32/src/lib.rs | #![no_std]
#![allow(unsafe_op_in_unsafe_fn)]
#![warn(missing_docs)]
#![doc = include_str!("../README.md")]
mod fmt;
pub use embassy_boot::{
AlignedBuffer, BlockingFirmwareState, BlockingFirmwareUpdater, BootError, BootLoaderConfig, FirmwareState,
FirmwareUpdater, FirmwareUpdaterConfig, State,
};
use embedded_s... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-boot-stm32/src/fmt.rs | embassy-boot-stm32/src/fmt.rs | #![macro_use]
#![allow(unused)]
use core::fmt::{Debug, Display, LowerHex};
#[cfg(all(feature = "defmt", feature = "log"))]
compile_error!("You may not enable both `defmt` and `log` features.");
#[collapse_debuginfo(yes)]
macro_rules! assert {
($($x:tt)*) => {
{
#[cfg(not(feature = "defmt"))]
... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-usb-logger/src/lib.rs | embassy-usb-logger/src/lib.rs | #![no_std]
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
use core::fmt::Write as _;
use core::future::Future;
use embassy_futures::join::join;
use embassy_sync::pipe::Pipe;
use embassy_usb::class::cdc_acm::{CdcAcmClass, Receiver, Sender, State};
use embassy_usb::driver::{Driver, EndpointError};
use em... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/build.rs | embassy-stm32-wpan/build.rs | use std::path::PathBuf;
use std::{env, fs};
fn main() {
match env::vars()
.map(|(a, _)| a)
.filter(|x| x.starts_with("CARGO_FEATURE_STM32"))
.get_one()
{
Ok(_) => {}
Err(GetOneError::None) => panic!("No stm32xx Cargo feature enabled"),
Err(GetOneError::Multiple) ... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/lib.rs | embassy-stm32-wpan/src/lib.rs | //! The embassy-stm32-wpan crate aims to provide safe use of the commands necessary to interface
//! with the Cortex C0 CPU2 coprocessor of STM32WB microcontrollers. It implements safe wrappers
//! around the Transport Layer, and in particular the system, memory, BLE and Mac channels.
//!
//! # Design
//!
//! This crat... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/bindings.rs | embassy-stm32-wpan/src/wba/bindings.rs | pub use stm32_bindings::bindings::{mac, wba_ble_stack as ble, wba_link_layer as link_layer};
| rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/ll_sys_if.rs | embassy-stm32-wpan/src/wba/ll_sys_if.rs | #![cfg(feature = "wba")]
// /* USER CODE BEGIN Header */
// /**
// ******************************************************************************
// * @file ll_sys_if.c
// * @author MCD Application Team
// * @brief Source file for initiating system
// ****************************************************... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/mod.rs | embassy-stm32-wpan/src/wba/mod.rs | pub mod bindings;
pub mod linklayer_plat;
pub mod ll_sys;
pub mod ll_sys_if;
pub mod mac_sys_if;
pub mod util_seq;
| rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/mac_sys_if.rs | embassy-stm32-wpan/src/wba/mac_sys_if.rs | #![cfg(feature = "wba")]
#![allow(non_snake_case)]
//
// /* USER CODE BEGIN Header */
// /**
// ******************************************************************************
// * @file mac_sys_if.c
// * @author MCD Application Team
// * @brief Source file for using MAC Layer with a RTOS
// ***********... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/linklayer_plat.rs | embassy-stm32-wpan/src/wba/linklayer_plat.rs | // /* USER CODE BEGIN Header */
// /**
// ******************************************************************************
// * @file linklayer_plat.c
// * @author MCD Application Team
// * @brief Source file for the linklayer plateform adaptation layer
// *************************************************... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/util_seq.rs | embassy-stm32-wpan/src/wba/util_seq.rs | #![cfg(feature = "wba")]
use core::cell::UnsafeCell;
use core::sync::atomic::{AtomicBool, AtomicU32, Ordering};
use critical_section::with as critical;
type TaskFn = unsafe extern "C" fn();
const MAX_TASKS: usize = 32;
const DEFAULT_PRIORITY: u8 = u8::MAX;
struct TaskTable {
funcs: UnsafeCell<[Option<TaskFn>; ... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/ll_sys/ll_sys_dp_slp.rs | embassy-stm32-wpan/src/wba/ll_sys/ll_sys_dp_slp.rs | use crate::bindings::link_layer::{
_NULL as NULL, DPSLP_STATE_DEEP_SLEEP_DISABLE, DPSLP_STATE_DEEP_SLEEP_ENABLE, LINKLAYER_PLAT_DisableRadioIT,
LINKLAYER_PLAT_EnableRadioIT, LL_SYS_DP_SLP_STATE_T_LL_SYS_DP_SLP_DISABLED,
LL_SYS_DP_SLP_STATE_T_LL_SYS_DP_SLP_ENABLED, LL_SYS_STATUS_T_LL_SYS_ERROR, LL_SYS_STATUS... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/ll_sys/ll_sys_intf.rs | embassy-stm32-wpan/src/wba/ll_sys/ll_sys_intf.rs | use crate::bindings::link_layer::{
Evnt_timing_t, HostStack_Process, LINKLAYER_PLAT_AclkCtrl, LINKLAYER_PLAT_Assert, LINKLAYER_PLAT_ClockInit,
LINKLAYER_PLAT_DelayUs, LINKLAYER_PLAT_GetRNG, LINKLAYER_PLAT_RCOStartClbr, LINKLAYER_PLAT_RCOStopClbr,
LINKLAYER_PLAT_RequestTemperature, LINKLAYER_PLAT_SCHLDR_TIMI... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/ll_sys/ll_version.rs | embassy-stm32-wpan/src/wba/ll_sys/ll_version.rs | use crate::bindings::link_layer::{
LL_SYS_BRIEF_VERSION_MAJOR, LL_SYS_BRIEF_VERSION_MAJOR_MASK, LL_SYS_BRIEF_VERSION_MAJOR_POS,
LL_SYS_BRIEF_VERSION_MINOR, LL_SYS_BRIEF_VERSION_MINOR_MASK, LL_SYS_BRIEF_VERSION_MINOR_POS,
LL_SYS_BRIEF_VERSION_PATCH, LL_SYS_BRIEF_VERSION_PATCH_MASK, LL_SYS_BRIEF_VERSION_PATCH... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
embassy-rs/embassy | https://github.com/embassy-rs/embassy/blob/f242d794e3325bc9b3559e50d2ea7fc293e1d574/embassy-stm32-wpan/src/wba/ll_sys/ll_sys_cs.rs | embassy-stm32-wpan/src/wba/ll_sys/ll_sys_cs.rs | use crate::bindings::link_layer::{
LINKLAYER_PLAT_DisableIRQ, LINKLAYER_PLAT_DisableSpecificIRQ, LINKLAYER_PLAT_EnableIRQ,
LINKLAYER_PLAT_EnableSpecificIRQ, LINKLAYER_PLAT_PhyStartClbr, LINKLAYER_PLAT_PhyStopClbr,
};
// /**
// ******************************************************************************
// ... | rust | Apache-2.0 | f242d794e3325bc9b3559e50d2ea7fc293e1d574 | 2026-01-04T15:48:40.485023Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.