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
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/cache/cache_filter_engine.rs
src/cache/cache_filter_engine.rs
use crate::FirestoreQueryFilter; use crate::*; pub struct FirestoreCacheFilterEngine<'a> { filter: &'a FirestoreQueryFilter, } impl<'a> FirestoreCacheFilterEngine<'a> { pub fn new(filter: &'a FirestoreQueryFilter) -> Self { Self { filter } } pub fn matches_doc(&'a self, doc: &FirestoreDocumen...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/cache/backends/persistent_backend.rs
src/cache/backends/persistent_backend.rs
use crate::errors::*; use crate::*; use async_trait::async_trait; use futures::stream::BoxStream; use crate::cache::cache_query_engine::FirestoreCacheQueryEngine; use chrono::Utc; use futures::StreamExt; use gcloud_sdk::google::firestore::v1::Document; use gcloud_sdk::prost::Message; use redb::*; use std::collections:...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/cache/backends/memory_backend.rs
src/cache/backends/memory_backend.rs
use crate::errors::*; use crate::*; use async_trait::async_trait; use chrono::Utc; use futures::stream::BoxStream; use moka::future::{Cache, CacheBuilder}; use crate::cache::cache_query_engine::FirestoreCacheQueryEngine; use futures::StreamExt; use std::collections::HashMap; use tracing::*; pub type FirestoreMemCache...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/cache/backends/mod.rs
src/cache/backends/mod.rs
#[cfg(feature = "caching-memory")] mod memory_backend; #[cfg(feature = "caching-memory")] pub use memory_backend::*; #[cfg(feature = "caching-persistent")] mod persistent_backend; #[cfg(feature = "caching-persistent")] pub use persistent_backend::*;
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/session_params.rs
src/db/session_params.rs
use crate::FirestoreConsistencySelector; use rsb_derive::*; /// Parameters that define the behavior of a Firestore session or a specific set of operations. /// /// `FirestoreDbSessionParams` allow for configuring aspects like read consistency /// (e.g., reading data as of a specific time) and caching behavior for oper...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/transaction_models.rs
src/db/transaction_models.rs
use crate::errors::FirestoreError; use crate::{FirestoreConsistencySelector, FirestoreWriteResult}; use chrono::prelude::*; use chrono::Duration; use rsb_derive::Builder; /// Options for configuring a Firestore transaction. /// /// These options control the behavior of a transaction, such as its mode (read-only or rea...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/listen_changes.rs
src/db/listen_changes.rs
use crate::db::safe_document_path; use crate::errors::*; use crate::timestamp_utils::to_timestamp; use crate::{FirestoreDb, FirestoreQueryParams, FirestoreResult, FirestoreResumeStateStorage}; pub use async_trait::async_trait; use chrono::prelude::*; use futures::stream::BoxStream; use futures::StreamExt; use futures::...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/update.rs
src/db/update.rs
use crate::db::safe_document_path; use crate::{FirestoreDb, FirestoreResult, FirestoreWritePrecondition}; use async_trait::async_trait; use chrono::{DateTime, Utc}; use gcloud_sdk::google::firestore::v1::*; use serde::{Deserialize, Serialize}; use tracing::*; #[async_trait] pub trait FirestoreUpdateSupport { async...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/batch_simple_writer.rs
src/db/batch_simple_writer.rs
use crate::errors::*; use crate::{ FirestoreBatch, FirestoreBatchWriteResponse, FirestoreBatchWriter, FirestoreDb, FirestoreResult, FirestoreWriteResult, }; use async_trait::async_trait; use futures::TryFutureExt; use gcloud_sdk::google::firestore::v1::{BatchWriteRequest, Write}; use rsb_derive::*; use std::col...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/query_models.rs
src/db/query_models.rs
// Allow derive_partial_eq_without_eq because some of these types wrap generated gRPC types // that might not implement Eq, or their Eq implementation might change. #![allow(clippy::derive_partial_eq_without_eq)] use crate::errors::{ FirestoreError, FirestoreInvalidParametersError, FirestoreInvalidParametersPublic...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/list.rs
src/db/list.rs
use crate::db::FirestoreDbInner; use crate::*; use async_trait::async_trait; use chrono::prelude::*; use futures::future::BoxFuture; use futures::stream::BoxStream; use futures::FutureExt; use futures::StreamExt; use futures::TryFutureExt; use futures::TryStreamExt; use gcloud_sdk::google::firestore::v1::*; use rand::R...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/consistency_selector.rs
src/db/consistency_selector.rs
use crate::errors::*; use crate::timestamp_utils::to_timestamp; use crate::{FirestoreError, FirestoreTransactionId}; use chrono::prelude::*; /// Specifies the consistency guarantee for Firestore read operations. /// /// When performing reads, Firestore offers different consistency models. This enum /// allows selectin...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/precondition_models.rs
src/db/precondition_models.rs
use crate::errors::FirestoreError; use crate::timestamp_utils::to_timestamp; use chrono::prelude::*; use gcloud_sdk::google::firestore::v1::Precondition; /// A precondition on a document, used for conditional write operations in Firestore. /// /// Preconditions allow you to specify conditions that must be met for a wr...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/options.rs
src/db/options.rs
use gcloud_sdk::GoogleEnvironment; use rsb_derive::Builder; /// Configuration options for the [`FirestoreDb`](crate::FirestoreDb) client. /// /// This struct allows customization of various aspects of the Firestore client, /// such as the project ID, database ID, retry behavior, and API endpoint. /// It uses the `rsb_...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/mod.rs
src/db/mod.rs
// Linter allowance for functions that might have many arguments, // often seen in builder patterns or comprehensive configuration methods. #![allow(clippy::too_many_arguments)] /// Module for document retrieval operations (get). mod get; pub use get::*; /// Module for document creation operations. mod create; pub us...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/transform_models.rs
src/db/transform_models.rs
use crate::errors::*; use crate::FirestoreValue; use crate::timestamp_utils::from_timestamp; use chrono::prelude::*; use rsb_derive::Builder; /// The result of a Firestore write operation (create, update, delete). /// /// This struct provides information about the outcome of a write, such as the /// document's update...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/query.rs
src/db/query.rs
use crate::*; use async_trait::async_trait; use chrono::prelude::*; use futures::future::BoxFuture; use futures::stream::BoxStream; use futures::FutureExt; use futures::TryFutureExt; use futures::TryStreamExt; use futures::{future, StreamExt}; use gcloud_sdk::google::firestore::v1::*; use rand::Rng; use serde::Deserial...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/aggregated_query.rs
src/db/aggregated_query.rs
#![allow(clippy::derive_partial_eq_without_eq)] // Since we may not be able to implement Eq for the changes coming from Firestore protos use crate::{FirestoreDb, FirestoreError, FirestoreQueryParams, FirestoreResult}; use async_trait::async_trait; use chrono::prelude::*; use futures::future::BoxFuture; use futures::st...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/parent_path_builder.rs
src/db/parent_path_builder.rs
use crate::db::safe_document_path; use crate::{FirestoreReference, FirestoreResult}; use std::fmt::{Display, Formatter}; /// A builder for constructing Firestore document paths, typically for parent documents /// when dealing with sub-collections. /// /// `ParentPathBuilder` allows for fluently creating nested documen...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/listen_changes_state_storage.rs
src/db/listen_changes_state_storage.rs
use crate::errors::AnyBoxedErrResult; use crate::{FirestoreListenerTarget, FirestoreListenerTargetResumeType, FirestoreListenerToken}; use async_trait::async_trait; use rvstruct::ValueStruct; use std::collections::HashMap; use std::sync::Arc; use tokio::sync::RwLock; use tracing::*; #[async_trait] pub trait FirestoreR...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/batch_writer.rs
src/db/batch_writer.rs
use crate::db::transaction_ops::{TransformObjectOperation, UpdateObjectOperation}; use crate::db::DeleteOperation; use crate::errors::FirestoreError; use crate::{ FirestoreDb, FirestoreFieldTransform, FirestoreResult, FirestoreWritePrecondition, FirestoreWriteResult, }; use async_trait::async_trait; use chrono:...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/batch_streaming_writer.rs
src/db/batch_streaming_writer.rs
use crate::{ FirestoreBatch, FirestoreBatchWriteResponse, FirestoreBatchWriter, FirestoreDb, FirestoreResult, FirestoreWriteResult, }; use async_trait::async_trait; use futures::stream::BoxStream; use futures::{StreamExt, TryStreamExt}; use gcloud_sdk::google::firestore::v1::{Write, WriteRequest}; use rsb_deriv...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/transaction_ops.rs
src/db/transaction_ops.rs
use crate::db::safe_document_path; use crate::{ FirestoreDb, FirestoreError, FirestoreFieldTransform, FirestoreResult, FirestoreWritePrecondition, }; use gcloud_sdk::google::firestore::v1::Write; use serde::Serialize; #[derive(Debug, PartialEq, Clone)] pub(crate) struct UpdateObjectOperation<'a, T, S> where ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/create.rs
src/db/create.rs
use crate::{FirestoreDb, FirestoreResult}; use async_trait::async_trait; use chrono::{DateTime, Utc}; use gcloud_sdk::google::firestore::v1::*; use serde::{Deserialize, Serialize}; use tracing::*; #[async_trait] pub trait FirestoreCreateSupport { async fn create_doc<S>( &self, collection_id: &str, ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/get.rs
src/db/get.rs
use crate::db::safe_document_path; use crate::errors::*; use crate::*; use async_trait::async_trait; use chrono::prelude::*; use futures::future::{BoxFuture, FutureExt}; use futures::stream::BoxStream; use futures::TryFutureExt; use futures::TryStreamExt; use futures::{future, StreamExt}; use gcloud_sdk::google::firest...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/transaction.rs
src/db/transaction.rs
pub use crate::db::transaction_ops::FirestoreTransactionOps; use crate::errors::*; use crate::timestamp_utils::from_timestamp; use crate::{ FirestoreConsistencySelector, FirestoreDb, FirestoreError, FirestoreResult, FirestoreTransactionId, FirestoreTransactionMode, FirestoreTransactionOptions, FirestoreTran...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/db/delete.rs
src/db/delete.rs
use crate::db::safe_document_path; use crate::{FirestoreDb, FirestoreResult, FirestoreWritePrecondition}; use async_trait::async_trait; use chrono::{DateTime, Utc}; use gcloud_sdk::google::firestore::v1::*; use tracing::*; #[async_trait] pub trait FirestoreDeleteSupport { async fn delete_by_id<S>( &self, ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/firestore_serde/serializer.rs
src/firestore_serde/serializer.rs
use crate::errors::*; use crate::{FirestoreError, FirestoreValue}; use gcloud_sdk::google::firestore::v1::value; use serde::Serialize; use std::collections::HashMap; pub struct FirestoreValueSerializer { pub none_as_null: bool, } impl FirestoreValueSerializer { pub fn new() -> Self { Self { ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/firestore_serde/reference_serializers.rs
src/firestore_serde/reference_serializers.rs
use gcloud_sdk::google::firestore::v1::value; use serde::{Deserialize, Serialize, Serializer}; use crate::db::split_document_path; use crate::errors::*; use crate::FirestoreValue; pub(crate) const FIRESTORE_REFERENCE_TYPE_TAG_TYPE: &str = "FirestoreReference"; #[derive(Serialize, Deserialize, Clone, Debug, Eq, Parti...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/firestore_serde/mod.rs
src/firestore_serde/mod.rs
//! Provides custom Serde serializers and deserializers for converting between //! Rust types and Firestore's native data representation. //! //! This module is central to enabling idiomatic Rust struct usage with Firestore. //! It handles the mapping of Rust types (like `String`, `i64`, `bool`, `Vec`, `HashMap`, //! a...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/firestore_serde/vector_serializers.rs
src/firestore_serde/vector_serializers.rs
use crate::errors::FirestoreError; use crate::firestore_serde::serializer::FirestoreValueSerializer; use crate::FirestoreValue; use serde::de::{MapAccess, Visitor}; use serde::{Deserializer, Serialize}; pub(crate) const FIRESTORE_VECTOR_TYPE_TAG_TYPE: &str = "FirestoreVector"; #[derive(Serialize, Clone, Debug, Partia...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/firestore_serde/timestamp_serializers.rs
src/firestore_serde/timestamp_serializers.rs
use chrono::prelude::*; use gcloud_sdk::google::firestore::v1::value; use serde::{Deserialize, Serialize, Serializer}; use crate::{ errors::FirestoreSerializationError, timestamp_utils::to_timestamp, FirestoreError, FirestoreValue, }; #[derive(Serialize, Deserialize, Clone, Debug, Eq, PartialEq, PartialOrd, D...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/firestore_serde/deserializer.rs
src/firestore_serde/deserializer.rs
use crate::errors::FirestoreSerializationError; use crate::timestamp_utils::from_timestamp; use crate::{FirestoreError, FirestoreValue}; use gcloud_sdk::google::firestore::v1::value; use serde::de::{DeserializeSeed, Visitor}; use serde::Deserialize; use std::collections::HashMap; use std::fmt::Formatter; impl<'de> Des...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/firestore_serde/latlng_serializers.rs
src/firestore_serde/latlng_serializers.rs
use gcloud_sdk::google::firestore::v1::value; use serde::{Deserialize, Serialize, Serializer}; use std::collections::HashMap; use crate::errors::*; use crate::firestore_serde::serializer::FirestoreValueSerializer; use crate::FirestoreValue; pub(crate) const FIRESTORE_LATLNG_TYPE_TAG_TYPE: &str = "FirestoreLatLng"; #...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/firestore_serde/null_serializers.rs
src/firestore_serde/null_serializers.rs
pub(crate) const FIRESTORE_NULL_TYPE_TAG_TYPE: &str = "FirestoreNull"; pub mod serialize_as_null { use serde::{Deserialize, Deserializer, Serialize, Serializer}; pub fn serialize<S, T>(date: &Option<T>, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer, T: Serialize, { ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/select_builder.rs
src/fluent_api/select_builder.rs
//! Builder for constructing Firestore select (query) operations. //! //! This module provides a fluent API for building complex queries to retrieve documents //! from Firestore. It supports filtering, ordering, limiting, pagination (cursors), //! projections, and fetching documents by ID. It also serves as a base for ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
true
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/select_aggregation_builder.rs
src/fluent_api/select_aggregation_builder.rs
//! Builder for constructing aggregation queries in Firestore. //! //! This module provides a fluent API to define aggregations like `COUNT`, `SUM`, and `AVG` //! to be performed over a set of documents matching a query. //! //! The main entry point is [`FirestoreAggregationBuilder`], which is typically //! accessed vi...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/listing_builder.rs
src/fluent_api/listing_builder.rs
//! Builder for constructing Firestore list operations. //! //! This module provides a fluent API for listing documents within a collection //! or listing collection IDs under a parent document (or the database root). //! It supports pagination, ordering (for document listing), and projections. use crate::{ Firest...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/delete_builder.rs
src/fluent_api/delete_builder.rs
//! Builder for constructing Firestore delete operations. //! //! This module provides a fluent API to specify the document to be deleted, //! optionally including a parent path for sub-collections and preconditions //! for the delete operation. use crate::{ FirestoreBatch, FirestoreBatchWriter, FirestoreDeleteSup...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/update_builder.rs
src/fluent_api/update_builder.rs
//! Builder for constructing Firestore update operations. //! //! This module provides a fluent API to specify the document to be updated, //! the data to update (either a full object, specific fields, or field transformations), //! and optional preconditions. use crate::document_transform_builder::FirestoreTransformB...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/mod.rs
src/fluent_api/mod.rs
//! Provides a fluent, chainable API for constructing and executing Firestore operations. //! //! This module is the entry point for the fluent API, which allows for a more declarative //! and type-safe way to interact with Firestore compared to using the direct methods on //! [`FirestoreDb`](crate::FirestoreDb) with [...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/select_filter_builder.rs
src/fluent_api/select_filter_builder.rs
//! Builder for constructing complex filter conditions for Firestore queries. //! //! This module provides a fluent API to define filters that can be applied to //! select/query operations. It supports: //! - Simple field comparisons (e.g., equality, greater than). //! - Unary filters (e.g., IS NULL, IS NAN). //! - Com...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/insert_builder.rs
src/fluent_api/insert_builder.rs
//! Builder for constructing Firestore insert (create) operations. //! //! This module provides a fluent API to specify the collection, document ID (optional), //! and the data to be inserted into Firestore. It supports inserting both raw //! [`Document`](gcloud_sdk::google::firestore::v1::Document) types and serializa...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/document_transform_builder.rs
src/fluent_api/document_transform_builder.rs
//! Builder for specifying field transformations in Firestore update operations. //! //! This module provides a fluent API to define transformations that should be //! applied to document fields atomically on the server-side. These transformations //! are used with update operations. //! //! Examples of transformations...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/src/fluent_api/tests/mockdb.rs
src/fluent_api/tests/mockdb.rs
use crate::*; use async_trait::async_trait; use futures::future::BoxFuture; use futures::stream::BoxStream; use gcloud_sdk::google::firestore::v1::{Document, ListenResponse}; use serde::{Deserialize, Serialize}; #[derive(Clone)] pub struct MockDatabase; #[allow(unused)] #[async_trait] impl FirestoreQuerySupport for M...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/transform_tests.rs
tests/transform_tests.rs
use crate::common::setup; use firestore::*; mod common; #[tokio::test] async fn crud_tests() -> Result<(), Box<dyn std::error::Error + Send + Sync>> { const TEST_COLLECTION_NAME: &str = "integration-test-transform"; let db = setup().await?; db.fluent() .delete() .from(TEST_COLLECTION_NAM...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/create-option-tests.rs
tests/create-option-tests.rs
use crate::common::setup; use serde::{Deserialize, Serialize}; mod common; use firestore::*; #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] struct MyTestStructure { some_id: String, some_string: Option<String>, } #[tokio::test] async fn crud_tests() -> Result<(), Box<dyn std::error::Error + Send ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/macro_path_test.rs
tests/macro_path_test.rs
#[test] fn test_ambiguous_path_macro() { struct MyTestStructure { some_id: String, some_num: u64, } assert_eq!(firestore::path!(MyTestStructure::some_id), "some_id"); assert_eq!( firestore::paths!(MyTestStructure::{some_id, some_num}), vec!["some_id".to_string(), "some_nu...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/caching_persistent_test.rs
tests/caching_persistent_test.rs
use crate::common::{eventually_async, populate_collection, setup}; use futures::TryStreamExt; use serde::{Deserialize, Serialize}; use std::time::Duration; use tokio::time::sleep; mod common; use firestore::*; #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] struct MyTestStructure { some_id: String, ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/nested-collections-tests.rs
tests/nested-collections-tests.rs
use crate::common::setup; use serde::{Deserialize, Serialize}; mod common; #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] struct MyParentStructure { some_id: String, some_string: String, } #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] struct MyChildStructure { some_id: String, ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/transaction-tests.rs
tests/transaction-tests.rs
use crate::common::setup; use serde::{Deserialize, Serialize}; use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::Arc; mod common; use firestore::*; #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] struct MyTestStructure { some_id: String, some_string: String, } #[tokio::test] async fn ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/complex-structure-serialize.rs
tests/complex-structure-serialize.rs
use approx::relative_eq; use chrono::{DateTime, Utc}; use firestore::*; use serde::{Deserialize, Serialize}; mod common; use crate::common::setup; #[derive(Debug, Clone, Deserialize, Serialize, Eq, PartialEq)] pub struct Test1(pub u8); #[derive(Debug, Clone, Deserialize, Serialize, Eq, PartialEq)] pub struct Test1i...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/query-integration-tests.rs
tests/query-integration-tests.rs
use crate::common::setup; use chrono::prelude::*; use futures::stream::BoxStream; use futures::StreamExt; use serde::{Deserialize, Serialize}; mod common; use firestore::*; #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] struct MyTestStructure { some_id: String, some_string: String, one_more_st...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/caching_memory_test.rs
tests/caching_memory_test.rs
use crate::common::{eventually_async, populate_collection, setup}; use futures::TryStreamExt; use serde::{Deserialize, Serialize}; use std::time::Duration; mod common; use firestore::*; #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] struct MyTestStructure { some_id: String, some_string: String, } ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/update-precondition-test.rs
tests/update-precondition-test.rs
use crate::common::setup; use serde::{Deserialize, Serialize}; mod common; use firestore::*; #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] struct MyTestStructure { some_id: String, some_string: String, } #[tokio::test] async fn precondition_tests() -> Result<(), Box<dyn std::error::Error + Send ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/crud-integration-tests.rs
tests/crud-integration-tests.rs
use crate::common::setup; use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use futures::StreamExt; use serde::{Deserialize, Serialize}; mod common; #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] struct MyTestStructure { some_id: String, some_string: String, one_mo...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/tests/common/mod.rs
tests/common/mod.rs
use firestore::*; use futures::future::BoxFuture; use futures::FutureExt; use serde::{Deserialize, Serialize}; use std::future::Future; use std::ops::Mul; use tokio::time::sleep; use tracing::*; #[allow(dead_code)] pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/reference.rs
examples/reference.rs
use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { some_id: String, some_re...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/caching_memory_collections.rs
examples/caching_memory_collections.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use futures::TryStreamExt; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{}: {}", name, e)) } // Example structure to play with #[derive(Debu...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/explain-query.rs
examples/explain-query.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use futures::TryStreamExt; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, C...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/group-query.rs
examples/group-query.rs
use firestore::*; use futures::stream::BoxStream; use serde::{Deserialize, Serialize}; use tokio_stream::StreamExt; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } #[derive(Debug, Clone, Deserialize, Serialize)] struct MyParentStructure { ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/list-docs.rs
examples/list-docs.rs
use firestore::*; use futures::stream::BoxStream; use serde::{Deserialize, Serialize}; use tokio_stream::StreamExt; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serializ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/list-collections.rs
examples/list-collections.rs
use firestore::*; use futures::TryStreamExt; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> { // Logging with debug enabled let subscriber = traci...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/nested_collections.rs
examples/nested_collections.rs
use firestore::*; use futures::stream::BoxStream; use serde::{Deserialize, Serialize}; use tokio_stream::StreamExt; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } #[derive(Debug, Clone, Deserialize, Serialize)] struct MyParentStructure { ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/transactions.rs
examples/transactions.rs
use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { some_id: String, some_st...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/listen-changes.rs
examples/listen-changes.rs
use chrono::prelude::*; use firestore::*; use serde::{Deserialize, Serialize}; use std::io::Read; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestS...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/generated-document-id.rs
examples/generated-document-id.rs
use chrono::{DateTime, Utc}; use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/dynamic_doc_level_crud.rs
examples/dynamic_doc_level_crud.rs
use chrono::prelude::*; use firestore::*; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> { // Logging with debug enabled let subscriber = tracing_...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/timestamp.rs
examples/timestamp.rs
use chrono::{DateTime, Utc}; use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/camel-case.rs
examples/camel-case.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use futures::StreamExt; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clon...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/crud.rs
examples/crud.rs
use chrono::{DateTime, Utc}; use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/nearest-vector-query.rs
examples/nearest-vector-query.rs
use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { some_id: String, some_st...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/batch-write-streaming.rs
examples/batch-write-streaming.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::TryStreamExt; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { some_i...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/database_id_option.rs
examples/database_id_option.rs
use chrono::{DateTime, Utc}; use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/partition-query.rs
examples/partition-query.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use futures::TryStreamExt; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, C...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/consistency-selector.rs
examples/consistency-selector.rs
use firestore::*; use futures::stream::BoxStream; use serde::{Deserialize, Serialize}; use tokio_stream::StreamExt; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serializ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/latlng.rs
examples/latlng.rs
use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { some_id: String, some_la...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/query.rs
examples/query.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use futures::TryStreamExt; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, C...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/read-write-transactions.rs
examples/read-write-transactions.rs
use firestore::*; use futures::stream::FuturesOrdered; use futures::FutureExt; use serde::{Deserialize, Serialize}; use tokio_stream::StreamExt; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug,...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/caching_persistent_collections.rs
examples/caching_persistent_collections.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use futures::TryStreamExt; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{}: {}", name, e)) } // Example structure to play with #[derive(Debu...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/update-precondition.rs
examples/update-precondition.rs
use chrono::{DateTime, Utc}; use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/token_auth.rs
examples/token_auth.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use futures::TryStreamExt; use serde::{Deserialize, Serialize}; use std::ops::Add; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play wit...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/batch-write-simple.rs
examples/batch-write-simple.rs
use chrono::{DateTime, Utc}; use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } #[derive(Debug, Clone, Deserialize, Serialize)] struct MyTestStructure { some_id: String, some_string:...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/query-with-cursor.rs
examples/query-with-cursor.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use futures::StreamExt; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clon...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/document-transform.rs
examples/document-transform.rs
use firestore::*; use futures::stream::BoxStream; use serde::{Deserialize, Serialize}; use tokio_stream::StreamExt; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serializ...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/aggregated-query.rs
examples/aggregated-query.rs
use firestore::*; use serde::{Deserialize, Serialize}; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug, Clone, Deserialize, Serialize)] struct MyAggTestStructure { counter: usize, calc_...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
abdolence/firestore-rs
https://github.com/abdolence/firestore-rs/blob/47f0e847ebda47a41e7a6f4458b54fd6af814874/examples/batch-get-stream.rs
examples/batch-get-stream.rs
use chrono::{DateTime, Utc}; use firestore::*; use futures::stream::BoxStream; use serde::{Deserialize, Serialize}; use tokio_stream::StreamExt; pub fn config_env_var(name: &str) -> Result<String, String> { std::env::var(name).map_err(|e| format!("{name}: {e}")) } // Example structure to play with #[derive(Debug,...
rust
Apache-2.0
47f0e847ebda47a41e7a6f4458b54fd6af814874
2026-01-04T20:18:05.696537Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/src/with_const_generics.rs
src/with_const_generics.rs
use crate::ringbuffer_trait::{RingBufferIntoIterator, RingBufferIterator, RingBufferMutIterator}; use crate::{impl_ring_buffer_set_len, RingBuffer, SetLen}; use core::iter::FromIterator; use core::mem::MaybeUninit; use core::mem::{self, ManuallyDrop}; use core::ops::{Index, IndexMut}; /// The `ConstGenericRingBuffer` ...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/src/set_len_trait.rs
src/set_len_trait.rs
/// `SetLen` is a trait defining the unsafe `set_len` method /// on ringbuffers that support the operation. pub trait SetLen { /// Force the length of the ringbuffer to `new_len`. /// /// Note that downsizing will not call Drop on elements at `new_len..old_len`, /// potentially causing a memory leak. ...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/src/lib.rs
src/lib.rs
#![no_std] #![deny(missing_docs)] #![deny(warnings)] #![deny(unused_import_braces)] #![deny(unused_results)] #![deny(trivial_casts)] #![deny(trivial_numeric_casts)] #![deny(unused_qualifications)] #![deny(clippy::must_use_candidate)] #![deny(clippy::default_trait_access)] #![deny(clippy::doc_markdown)] #![deny(clippy::...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
true
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/src/ringbuffer_trait.rs
src/ringbuffer_trait.rs
use core::ops::{Index, IndexMut}; #[cfg(feature = "alloc")] extern crate alloc; #[cfg(feature = "alloc")] use alloc::vec::Vec; /// `RingBuffer` is a trait defining the standard interface for all `RingBuffer` /// implementations ([`AllocRingBuffer`](crate::AllocRingBuffer), [`ConstGenericRingBuffer`](crate::ConstGener...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/src/with_alloc/alloc_ringbuffer.rs
src/with_alloc/alloc_ringbuffer.rs
use core::ops::{Index, IndexMut}; use crate::ringbuffer_trait::{ RingBuffer, RingBufferIntoIterator, RingBufferIterator, RingBufferMutIterator, }; extern crate alloc; // We need boxes, so depend on alloc use crate::{impl_ring_buffer_set_len, mask_and, GrowableAllocRingBuffer, SetLen}; use core::ptr; /// The `Al...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/src/with_alloc/vecdeque.rs
src/with_alloc/vecdeque.rs
use crate::ringbuffer_trait::{RingBufferIntoIterator, RingBufferIterator, RingBufferMutIterator}; use crate::{AllocRingBuffer, RingBuffer}; use alloc::collections::VecDeque; use core::ops::{Deref, DerefMut, Index, IndexMut}; /// A growable ringbuffer. Once capacity is reached, the size is doubled. /// Wrapper of the b...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/src/with_alloc/mod.rs
src/with_alloc/mod.rs
pub mod alloc_ringbuffer; pub mod vecdeque;
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/tests/conversions.rs
tests/conversions.rs
extern crate alloc; use alloc::collections::{LinkedList, VecDeque}; use alloc::string::ToString; use core::ops::Deref; use ringbuffer::RingBuffer; use ringbuffer::{AllocRingBuffer, ConstGenericRingBuffer, GrowableAllocRingBuffer}; use std::vec; macro_rules! convert_test { ($name: ident: $from: expr => $to: ty) =>...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/tests/compiletests.rs
tests/compiletests.rs
extern crate compiletest_rs as compiletest; use std::path::PathBuf; #[cfg(test)] mod conversions; fn run_mode(mode: &'static str) { let mut config = compiletest::Config::default(); config.mode = mode.parse().expect("Invalid mode"); config.src_base = PathBuf::from(format!("tests/{}", mode)); config.l...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/tests/compile-fail/test_const_generic_array_zero_length.rs
tests/compile-fail/test_const_generic_array_zero_length.rs
extern crate ringbuffer; use ringbuffer::ConstGenericRingBuffer; fn main() { let _ = ConstGenericRingBuffer::<i32, 0>::new(); //~^ note: the above error was encountered while instantiating `fn ringbuffer::ConstGenericRingBuffer::<i32, 0>::new::<0>` // ringbuffer can't be zero length }
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/tests/compile-fail/test_const_generic_array_zero_length_new.rs
tests/compile-fail/test_const_generic_array_zero_length_new.rs
extern crate ringbuffer; use ringbuffer::{ConstGenericRingBuffer, RingBuffer}; fn main() { let mut buf = ConstGenericRingBuffer::new::<0>(); //~^ note: the above error was encountered while instantiating `fn ringbuffer::ConstGenericRingBuffer::<i32, 0>::new::<0>` // ringbuffer can't be zero length let _ =...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
NULLx76/ringbuffer
https://github.com/NULLx76/ringbuffer/blob/8aaaec89b0da0cc2d2508ade813557758c3d5041/benches/bench.rs
benches/bench.rs
#![feature(coverage_attribute)] #![coverage(off)] use criterion::{black_box, criterion_group, criterion_main, Bencher, Criterion}; use ringbuffer::{AllocRingBuffer, ConstGenericRingBuffer, RingBuffer, SetLen}; fn benchmark_push<T: RingBuffer<i32>, F: Fn() -> T>(b: &mut Bencher, new: F) { b.iter(|| { let mu...
rust
MIT
8aaaec89b0da0cc2d2508ade813557758c3d5041
2026-01-04T20:18:16.987405Z
false
Shafin098/pakhi-bhasha
https://github.com/Shafin098/pakhi-bhasha/blob/9805017f595169a9b49c9f36d9b30bbbee3e7b28/src/lib.rs
src/lib.rs
pub mod frontend; pub mod backend; pub mod common; use crate::frontend::{lexer, parser}; use crate::backend::interpreter; use crate::common::io::IO; use crate::common::pakhi_error::PakhiErr; use crate::common::pakhi_error::PakhiErr::UnexpectedError; pub fn start_pakhi<T: IO>(main_module_path: String, io: &mut T) -> R...
rust
MIT
9805017f595169a9b49c9f36d9b30bbbee3e7b28
2026-01-04T20:18:15.998668Z
false