Skip to content
Closed
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
236 changes: 118 additions & 118 deletions Cargo.lock

Large diffs are not rendered by default.

170 changes: 85 additions & 85 deletions Cargo.toml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions crates/viewer/re_viewer/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,14 @@ impl App {
},
);

println!("analytics probe");

#[cfg(feature = "analytics")]
println!("analytics: {}", re_analytics::Analytics::global_or_init().is_some());

#[cfg(feature = "analytics")]
if let Some(analytics) = re_analytics::Analytics::global_or_init() {

use crate::viewer_analytics::event;

analytics.record(event::identify(
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/animated_urdf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "animated_urdf"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/clock/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clock"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/custom_callback/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "custom_callback"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/custom_data_loader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "custom_data_loader"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/custom_store_subscriber/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "custom_store_subscriber"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/custom_view/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "custom_view"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/dataframe_query/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dataframe_query"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/dna/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dna"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/extend_viewer_ui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "extend_viewer_ui"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/external_data_loader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rerun-loader-rust-file"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/graph_lattice/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "graph_lattice"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/incremental_logging/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "incremental_logging"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/lenses/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lenses"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/log_file/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "log_file"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/minimal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minimal"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/minimal_options/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minimal_options"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/minimal_serve/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minimal_serve"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/objectron/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "objectron"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/raw_mesh/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "raw_mesh"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/shared_recording/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shared_recording"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/spawn_viewer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spawn_viewer"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/stdio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stdio"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/template/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "template"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/viewer_callbacks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "viewer_callbacks"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion rerun_cpp/src/rerun/c/sdk_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
///
/// This should match the string returned by `rr_version_string` (C) or `rerun::version_string` (C++).
/// If not, the SDK's binary and the C header are out of sync.
#define RERUN_SDK_HEADER_VERSION "0.28.0-alpha.1+dev"
#define RERUN_SDK_HEADER_VERSION "0.1.9000-alpha.1000+dev+dev"

/// Major version of the Rerun C SDK.
#define RERUN_SDK_HEADER_VERSION_MAJOR 0
Expand Down
6 changes: 3 additions & 3 deletions rerun_js/web-viewer-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rerun-io/web-viewer-react",
"version": "0.28.0-alpha.1+dev",
"version": "0.1.9000-alpha.1000+dev+dev",
"description": "Embed the Rerun web viewer in your React app",
"licenses": [
{
Expand Down Expand Up @@ -43,7 +43,7 @@
"tsconfig.json"
],
"dependencies": {
"@rerun-io/web-viewer": "0.28.0-alpha.1"
"@rerun-io/web-viewer": "0.1.9000-alpha.1000+dev"
},
"peerDependencies": {
"@types/react": "^18.2.33 || ^19.0.0",
Expand All @@ -57,4 +57,4 @@
"@types/react": "^19.0.0",
"react": "^19.0.0"
}
}
}
4 changes: 2 additions & 2 deletions rerun_js/web-viewer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rerun-io/web-viewer",
"version": "0.28.0-alpha.1+dev",
"version": "0.1.9000-alpha.1000+dev+dev",
"description": "Embed the Rerun web viewer in your app",
"licenses": [
{
Expand Down Expand Up @@ -65,4 +65,4 @@
"typedoc-github-theme": "^0.3.0",
"typescript": "^5.2.2"
}
}
}
2 changes: 1 addition & 1 deletion rerun_notebook/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "rerun-notebook"
description = "Implementation helper for running rerun-sdk in notebooks"
version = "0.28.0-alpha.1+dev"
version = "0.1.9000-alpha.1000+dev"
dependencies = [
"anywidget",
"jupyter-ui-poll",
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ text = "MIT OR Apache-2.0"

[project.optional-dependencies]
tests = ["pytest==8.4.2", "syrupy==5.0.0"]
notebook = ["rerun-notebook==0.28.0-alpha.1+dev"]
notebook = ["rerun-notebook==0.1.9000-alpha.1000+dev+dev"]
datafusion = ["datafusion==50.1.0"]
all = ["rerun-sdk[notebook]", "rerun-sdk[datafusion]"]

Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import numpy as np

__version__ = "0.28.0-alpha.1+dev"
__version__ = "0.1.9000-alpha.1000+dev+dev"
__version_info__ = (0, 28, 0, "alpha.1")

if sys.version_info < (3, 10): # noqa: UP036
Expand Down
19 changes: 10 additions & 9 deletions scripts/ci/rust_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def run_cargo(
output_checks: Callable[[str], str | None] | None = None,
) -> Result:
args = ["cargo", cargo_cmd]
if cargo_cmd not in ["deny", "fmt", "format", "nextest"]:
args.append("--quiet")
# if cargo_cmd not in ["deny", "fmt", "format", "nextest"]:
# args.append("--quiet")
args += cargo_args.split(" ")

cmd_str = subprocess.list2cmdline(args)
Expand Down Expand Up @@ -89,13 +89,14 @@ def run_cargo(
env = os.environ.copy()
env.update(additional_env_vars)

result = subprocess.run(args, env=env, check=False, capture_output=True, text=True)
result = subprocess.run(args, env=env, check=False)
success = result.returncode == 0

if success:
output_check_error = None
if output_checks is not None:
output_check_error = output_checks(result.stdout)
print("⚠️ Warning: output_checks are no longer supported (stdout is not captured)")
output_check_error = None

if output_check_error is not None:
print("❌")
Expand All @@ -105,10 +106,10 @@ def run_cargo(
print("✅")
else:
print("❌")
# Print output right away, so the user can start fixing it while waiting for the rest of the checks to run:
# Output was already printed during command execution
env_var_string = " ".join([f'{env_var}="{value}"' for env_var, value in additional_env_vars.items()])
print(
f"'{env_var_string} {cmd_str}' failed with exit-code {result.returncode}. Output:\n{result.stdout}\n{result.stderr}",
f"'{env_var_string} {cmd_str}' failed with exit-code {result.returncode}.",
)

duration = time.time() - start_time
Expand Down Expand Up @@ -351,19 +352,19 @@ def docs_slow(results: list[Result]) -> None:
def tests(results: list[Result]) -> None:
# We first use `--no-run` to measure the time of compiling vs actually running
results.append(run_cargo("nextest", "run --all-targets --all-features --no-run", deny_warnings=False))
results.append(run_cargo("nextest", "run --all-targets --all-features", deny_warnings=False))
results.append(run_cargo("nextest", "run --all-targets --all-features --no-capture", deny_warnings=False))

if not results[-1].success:
print(test_failure_message)

# Cargo nextest doesn't support doc tests yet, run those separately.
results.append(run_cargo("test", "--all-features --doc", deny_warnings=False))
results.append(run_cargo("test", "--all-features --doc -- --no-capture", deny_warnings=False))


def tests_without_all_features(results: list[Result]) -> None:
# We first use `--no-run` to measure the time of compiling vs actually running
results.append(run_cargo("test", "--all-targets --no-run", deny_warnings=False))
results.append(run_cargo("nextest", "run --all-targets", deny_warnings=False))
results.append(run_cargo("nextest", "run --all-targets --no-capture", deny_warnings=False))

if not results[-1].success:
print(test_failure_message)
Expand Down
Loading