Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New data APIs 2: cached latest-at queries #5581

Merged
merged 6 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ re_memory = { path = "crates/re_memory", version = "=0.15.0-alpha.5", default-fe
re_query = { path = "crates/re_query", version = "=0.15.0-alpha.5", default-features = false }
re_query2 = { path = "crates/re_query2", version = "=0.15.0-alpha.5", default-features = false }
re_query_cache = { path = "crates/re_query_cache", version = "=0.15.0-alpha.5", default-features = false }
re_query_cache2 = { path = "crates/re_query_cache2", version = "=0.15.0-alpha.5", default-features = false }
re_renderer = { path = "crates/re_renderer", version = "=0.15.0-alpha.5", default-features = false }
re_sdk = { path = "crates/re_sdk", version = "=0.15.0-alpha.5", default-features = false }
re_sdk_comms = { path = "crates/re_sdk_comms", version = "=0.15.0-alpha.5", default-features = false }
Expand Down
65 changes: 65 additions & 0 deletions crates/re_query_cache2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[package]
name = "re_query_cache2"
authors.workspace = true
description = "Temporary crate meant to replace re_query_cache"
edition.workspace = true
homepage.workspace = true
include.workspace = true
license.workspace = true
# TODO(cmc): Replace re_query with this crate. Never publish this one.
Comment on lines +8 to +9
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

publish = false
readme = "README.md"
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[package.metadata.docs.rs]
all-features = true


[features]
default = []

[dependencies]
# Rerun dependencies:
re_data_store.workspace = true
re_format.workspace = true
re_log.workspace = true
re_log_types.workspace = true
re_query2.workspace = true
re_tracing.workspace = true
re_types_core.workspace = true

# External dependencies:
ahash.workspace = true
anyhow.workspace = true
backtrace.workspace = true
indent.workspace = true
itertools.workspace = true
nohash-hasher.workspace = true
parking_lot.workspace = true
paste.workspace = true
seq-macro.workspace = true
web-time.workspace = true


[dev-dependencies]
re_types = { workspace = true, features = ["datagen"] }

criterion.workspace = true
mimalloc.workspace = true
rand = { workspace = true, features = ["std", "std_rng"] }
similar-asserts.workspace = true
Comment on lines +23 to +52
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these aren't used yet and were just imported as-is from re_query_cache -- they'll become use very soon as re_query_cache2 reaches feature parity.



[lib]
bench = false


[[bench]]
name = "flat_vec_deque"
harness = false

[[bench]]
name = "latest_at"
harness = false
5 changes: 5 additions & 0 deletions crates/re_query_cache2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# re_query_cache2

Temporary crate for implementing the new cached data APIs. Not published.

Will replace `re_query_cache2` when ready.
Loading
Loading