| Crates.io | lance-namespace |
| lib.rs | lance-namespace |
| version | 1.0.1 |
| created_at | 2025-09-01 04:22:06.8066+00 |
| updated_at | 2025-12-30 21:45:02.840404+00 |
| description | Lance Namespace Core APIs |
| homepage | |
| repository | https://github.com/lance-format/lance |
| max_upload_size | |
| id | 1819104 |
| size | 108,516 |
Lance Namespace Core APIs for managing namespaces and tables.
This crate provides the core APIs and trait definitions for Lance namespaces, including:
LanceNamespace trait - The main interface for namespace operationsNote: For actual namespace implementations (REST, Directory, etc.), see the lance-namespace-impls crate.
The namespace API supports:
use lance_namespace::LanceNamespace;
// For implementations, use lance-namespace-impls:
// use lance_namespace_impls::connect;
// let namespace = connect("rest", properties).await?;
// let namespace = connect("dir", properties).await?;
// Then use the trait methods:
async fn example(namespace: &dyn LanceNamespace) {
// List tables in the namespace
let tables = namespace.list_tables(Default::default()).await;
}
For more information about Lance and its namespace system, see the Lance Namespace documentation.