diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 3323e3a..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,9 +0,0 @@ -# clipboard api is still unstable, so web-sys requires the below flag to be passed for copy (ctrl + c) to work -# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html -# check status at https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility -# we don't use `[build]` because of rust analyzer's build cache invalidation https://github.com/emilk/eframe_template/issues/93 -[target.wasm32-unknown-unknown] -rustflags = ["--cfg=web_sys_unstable_apis"] - -[build] -# target = "wasm32-unknown-unknown" diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index ca2dac5..0000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Github Pages - -# By default, runs if you push to main. keeps your deployed app in sync with main branch. -on: - push: - branches: - - main -# to only run when you do a new github release, comment out above part and uncomment the below trigger. -# on: -# release: -# types: -# - published - -permissions: - contents: write # for committing to gh-pages branch. - -jobs: - tests: - uses: ./.github/workflows/rust.yml - build-github-pages: - runs-on: ubuntu-latest - needs: tests - steps: - - uses: wykies/checkout@main - - uses: actions-rs/toolchain@v1 # get rust toolchain for wasm - with: - profile: minimal - toolchain: stable - target: wasm32-unknown-unknown - override: true - - name: Download and install Trunk binary - run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- - - name: Build # build - # Environment $public_url resolves to the github project page. - # If using a user/organization page, remove the `${{ github.event.repository.name }}` part. - # using --public-url something will allow trunk to modify all the href paths like from favicon.ico to repo_name/favicon.ico . - # this is necessary for github pages where the site is deployed to username.github.io/repo_name and all files must be requested - # relatively as eframe_template/favicon.ico. if we skip public-url option, the href paths will instead request username.github.io/favicon.ico which - # will obviously return error 404 not found. - run: ./trunk build --release --public-url $public_url - env: - public_url: "https://dev.chester.wykies.com/$%7B%7B%20github.event.repository.name%20%7D%7D" - - name: Deploy - uses: JamesIves/github-pages-deploy-action@v4 - with: - folder: dist - # this option will not maintain any history of your previous pages deployment - # set to false if you want all page build to be committed to your gh-pages branch history - single-commit: true diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index 88ea08d..0000000 --- a/.github/workflows/rust.yml +++ /dev/null @@ -1,117 +0,0 @@ -name: CI - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -on: - push: - branches: - - develop - pull_request: - types: [ opened, synchronize, reopened ] - branches: - - develop - workflow_call: - -env: - RUSTFLAGS: -D warnings --cfg=web_sys_unstable_apis - RUSTDOCFLAGS: -D warnings - -jobs: - check: - name: Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - run: sudo apt update && sudo apt install libgtk-3-dev - - uses: actions-rs/cargo@v1 - with: - command: check - args: --all-features - - check_wasm: - name: Check wasm32 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - target: wasm32-unknown-unknown - override: true - - uses: actions-rs/cargo@v1 - with: - command: check - args: --all-features --lib --target wasm32-unknown-unknown - - test: - name: Test Suite - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - run: sudo apt update && sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libgtk-3-dev - - uses: actions-rs/cargo@v1 - with: - command: test - args: --lib - - fmt: - name: Rustfmt - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - components: rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - - clippy: - name: Clippy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - components: clippy - - run: sudo apt update && sudo apt install libgtk-3-dev - - uses: actions-rs/cargo@v1 - with: - command: clippy - args: -- -D warnings - - trunk: - name: trunk - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - target: wasm32-unknown-unknown - override: true - - name: Download and install Trunk binary - run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf- - - name: Build - run: ./trunk build diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 67d5cd0..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/target -/dist -*.snap.new diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index d371938..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "cSpell.words": [ - "devel", - "fontconfig", - "hline", - "libxcb", - "libxkbcommon", - "logviewer", - "pkill", - "xfixes" - ], - - "rust-analyzer.cargo.features": ["profiling"] -} diff --git a/Cargo.lock b/Cargo.lock deleted file mode 100644 index a33c6ac..0000000 --- a/Cargo.lock +++ /dev/null @@ -1,4840 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "ab_glyph" -version = "0.2.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec3672c180e71eeaaac3a541fbbc5f5ad4def8b747c595ad30d674e43049f7b0" -dependencies = [ - "ab_glyph_rasterizer", - "owned_ttf_parser", -] - -[[package]] -name = "ab_glyph_rasterizer" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71b1793ee61086797f5c80b6efa2b8ffa6d5dd703f118545808a7f2e27f7046" - -[[package]] -name = "accesskit" -version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3d3b8f9bae46a948369bc4a03e815d4ed6d616bd00de4051133a5019dc31c5a" -dependencies = [ - "enumn", - "serde", -] - -[[package]] -name = "accesskit_atspi_common" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c5dd55e6e94949498698daf4d48fb5659e824d7abec0d394089656ceaf99d4f" -dependencies = [ - "accesskit", - "accesskit_consumer", - "atspi-common", - "serde", - "thiserror 1.0.69", - "zvariant 4.2.0", -] - -[[package]] -name = "accesskit_consumer" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f47983a1084940ba9a39c077a8c63e55c619388be5476ac04c804cfbd1e63459" -dependencies = [ - "accesskit", - "hashbrown", - "immutable-chunkmap", -] - -[[package]] -name = "accesskit_macos" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7329821f3bd1101e03a7d2e03bd339e3ac0dc64c70b4c9f9ae1949e3ba8dece1" -dependencies = [ - "accesskit", - "accesskit_consumer", - "hashbrown", - "objc2", - "objc2-app-kit", - "objc2-foundation", -] - -[[package]] -name = "accesskit_unix" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcee751cc20d88678c33edaf9c07e8b693cd02819fe89053776f5313492273f5" -dependencies = [ - "accesskit", - "accesskit_atspi_common", - "async-channel", - "async-executor", - "async-task", - "atspi", - "futures-lite", - "futures-util", - "serde", - "zbus 4.4.0", -] - -[[package]] -name = "accesskit_windows" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24fcd5d23d70670992b823e735e859374d694a3d12bfd8dd32bd3bd8bedb5d81" -dependencies = [ - "accesskit", - "accesskit_consumer", - "hashbrown", - "paste", - "static_assertions", - "windows", - "windows-core", -] - -[[package]] -name = "accesskit_winit" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6a48dad5530b6deb9fc7a52cc6c3bf72cdd9eb8157ac9d32d69f2427a5e879" -dependencies = [ - "accesskit", - "accesskit_macos", - "accesskit_unix", - "accesskit_windows", - "raw-window-handle", - "winit", -] - -[[package]] -name = "addr2line" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler2" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - -[[package]] -name = "ahash" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" -dependencies = [ - "cfg-if", - "getrandom 0.2.15", - "once_cell", - "serde", - "version_check", - "zerocopy", -] - -[[package]] -name = "aho-corasick" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -dependencies = [ - "memchr", -] - -[[package]] -name = "android-activity" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef6978589202a00cd7e118380c448a08b6ed394c3a8df3a430d0898e3a42d046" -dependencies = [ - "android-properties", - "bitflags 2.9.0", - "cc", - "cesu8", - "jni", - "jni-sys", - "libc", - "log", - "ndk", - "ndk-context", - "ndk-sys 0.6.0+11769913", - "num_enum", - "thiserror 1.0.69", -] - -[[package]] -name = "android-properties" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04" - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "anyhow" -version = "1.0.96" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b964d184e89d9b6b67dd2715bc8e74cf3107fb2b529990c90cf517326150bf4" - -[[package]] -name = "arboard" -version = "3.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df099ccb16cd014ff054ac1bf392c67feeef57164b05c42f037cd40f5d4357f4" -dependencies = [ - "clipboard-win", - "core-graphics", - "image", - "log", - "objc2", - "objc2-app-kit", - "objc2-foundation", - "parking_lot", - "windows-sys 0.48.0", - "x11rb", -] - -[[package]] -name = "arrayvec" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" - -[[package]] -name = "as-raw-xcb-connection" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "175571dd1d178ced59193a6fc02dde1b972eb0bc56c892cde9beeceac5bf0f6b" - -[[package]] -name = "ash" -version = "0.38.0+1.3.281" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f" -dependencies = [ - "libloading", -] - -[[package]] -name = "ashpd" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9c39d707614dbcc6bed00015539f488d8e3fe3e66ed60961efc0c90f4b380b3" -dependencies = [ - "enumflags2", - "futures-channel", - "futures-util", - "rand", - "raw-window-handle", - "serde", - "serde_repr", - "tokio", - "url", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "zbus 5.5.0", -] - -[[package]] -name = "async-broadcast" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532" -dependencies = [ - "event-listener", - "event-listener-strategy", - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "async-channel" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" -dependencies = [ - "concurrent-queue", - "event-listener-strategy", - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "async-executor" -version = "1.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec" -dependencies = [ - "async-task", - "concurrent-queue", - "fastrand", - "futures-lite", - "slab", -] - -[[package]] -name = "async-fs" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a" -dependencies = [ - "async-lock", - "blocking", - "futures-lite", -] - -[[package]] -name = "async-io" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059" -dependencies = [ - "async-lock", - "cfg-if", - "concurrent-queue", - "futures-io", - "futures-lite", - "parking", - "polling", - "rustix", - "slab", - "tracing", - "windows-sys 0.59.0", -] - -[[package]] -name = "async-lock" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" -dependencies = [ - "event-listener", - "event-listener-strategy", - "pin-project-lite", -] - -[[package]] -name = "async-process" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb" -dependencies = [ - "async-channel", - "async-io", - "async-lock", - "async-signal", - "async-task", - "blocking", - "cfg-if", - "event-listener", - "futures-lite", - "rustix", - "tracing", -] - -[[package]] -name = "async-recursion" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "async-signal" -version = "0.2.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" -dependencies = [ - "async-io", - "async-lock", - "atomic-waker", - "cfg-if", - "futures-core", - "futures-io", - "rustix", - "signal-hook-registry", - "slab", - "windows-sys 0.59.0", -] - -[[package]] -name = "async-task" -version = "4.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" - -[[package]] -name = "async-trait" -version = "0.1.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "644dd749086bf3771a2fbc5f256fdb982d53f011c7d5d560304eafeecebce79d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "atk-sys" -version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e48b684b0ca77d2bbadeef17424c2ea3c897d44d566a1617e7e8f30614d086" -dependencies = [ - "glib-sys", - "gobject-sys", - "libc", - "system-deps", -] - -[[package]] -name = "atomic-waker" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" - -[[package]] -name = "atspi" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be534b16650e35237bb1ed189ba2aab86ce65e88cc84c66f4935ba38575cecbf" -dependencies = [ - "atspi-common", - "atspi-connection", - "atspi-proxies", -] - -[[package]] -name = "atspi-common" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1909ed2dc01d0a17505d89311d192518507e8a056a48148e3598fef5e7bb6ba7" -dependencies = [ - "enumflags2", - "serde", - "static_assertions", - "zbus 4.4.0", - "zbus-lockstep", - "zbus-lockstep-macros", - "zbus_names 3.0.0", - "zvariant 4.2.0", -] - -[[package]] -name = "atspi-connection" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "430c5960624a4baaa511c9c0fcc2218e3b58f5dbcc47e6190cafee344b873333" -dependencies = [ - "atspi-common", - "atspi-proxies", - "futures-lite", - "zbus 4.4.0", -] - -[[package]] -name = "atspi-proxies" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5e6c5de3e524cf967569722446bcd458d5032348554d9a17d7d72b041ab7496" -dependencies = [ - "atspi-common", - "serde", - "zbus 4.4.0", - "zvariant 4.2.0", -] - -[[package]] -name = "autocfg" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" - -[[package]] -name = "backtrace" -version = "0.3.74" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" -dependencies = [ - "addr2line", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-targets 0.52.6", -] - -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - -[[package]] -name = "base64" -version = "0.21.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bit-set" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitflags" -version = "2.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" -dependencies = [ - "serde", -] - -[[package]] -name = "block" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" - -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - -[[package]] -name = "block2" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" -dependencies = [ - "objc2", -] - -[[package]] -name = "blocking" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea" -dependencies = [ - "async-channel", - "async-task", - "futures-io", - "futures-lite", - "piper", -] - -[[package]] -name = "bstr" -version = "1.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0" -dependencies = [ - "memchr", - "serde", -] - -[[package]] -name = "bumpalo" -version = "3.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" - -[[package]] -name = "bytemuck" -version = "1.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef657dfab802224e671f5818e9a4935f9b1957ed18e58292690cc39e7a4092a3" -dependencies = [ - "bytemuck_derive", -] - -[[package]] -name = "bytemuck_derive" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fa76293b4f7bb636ab88fd78228235b5248b4d05cc589aed610f954af5d7c7a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "byteorder" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" - -[[package]] -name = "byteorder-lite" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" - -[[package]] -name = "bytes" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61dac84819c6588b558454b194026eb1f09c293b9036ae9b159e74e73ab6cf9" - -[[package]] -name = "cairo-sys-rs" -version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "685c9fa8e590b8b3d678873528d83411db17242a73fccaed827770ea0fedda51" -dependencies = [ - "libc", - "system-deps", -] - -[[package]] -name = "calloop" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b99da2f8558ca23c71f4fd15dc57c906239752dd27ff3c00a1d56b685b7cbfec" -dependencies = [ - "bitflags 2.9.0", - "log", - "polling", - "rustix", - "slab", - "thiserror 1.0.69", -] - -[[package]] -name = "calloop-wayland-source" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20" -dependencies = [ - "calloop", - "rustix", - "wayland-backend", - "wayland-client", -] - -[[package]] -name = "cc" -version = "1.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c" -dependencies = [ - "jobserver", - "libc", - "shlex", -] - -[[package]] -name = "cesu8" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" - -[[package]] -name = "cfg-expr" -version = "0.15.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" -dependencies = [ - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "cfg_aliases" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" - -[[package]] -name = "cgl" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ced0551234e87afee12411d535648dd89d2e7f34c78b753395567aff3d447ff" -dependencies = [ - "libc", -] - -[[package]] -name = "clipboard-win" -version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15efe7a882b08f34e38556b14f2fb3daa98769d06c7f0c1b076dfd0d983bc892" -dependencies = [ - "error-code", -] - -[[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width", -] - -[[package]] -name = "combine" -version = "4.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" -dependencies = [ - "bytes", - "memchr", -] - -[[package]] -name = "concurrent-queue" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "console" -version = "0.15.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea3c6ecd8059b57859df5c69830340ed3c41d30e3da0c1cbed90a96ac853041b" -dependencies = [ - "encode_unicode", - "libc", - "once_cell", - "windows-sys 0.59.0", -] - -[[package]] -name = "core-foundation" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" - -[[package]] -name = "core-graphics" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" -dependencies = [ - "bitflags 1.3.2", - "core-foundation 0.9.4", - "core-graphics-types", - "foreign-types", - "libc", -] - -[[package]] -name = "core-graphics-types" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" -dependencies = [ - "bitflags 1.3.2", - "core-foundation 0.9.4", - "libc", -] - -[[package]] -name = "cpufeatures" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" -dependencies = [ - "libc", -] - -[[package]] -name = "crc32fast" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "cursor-icon" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96a6ac251f4a2aca6b3f91340350eab87ae57c3f127ffeb585e92bd336717991" - -[[package]] -name = "diff" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", -] - -[[package]] -name = "dispatch" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" - -[[package]] -name = "displaydoc" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "dlib" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" -dependencies = [ - "libloading", -] - -[[package]] -name = "document-features" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95249b50c6c185bee49034bcb378a49dc2b5dff0be90ff6616d31d64febab05d" -dependencies = [ - "litrs", -] - -[[package]] -name = "downcast-rs" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" - -[[package]] -name = "dpi" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f25c0e292a7ca6d6498557ff1df68f32c99850012b6ea401cf8daf771f22ff53" - -[[package]] -name = "ecolor" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878e9005799dd739e5d5d89ff7480491c12d0af571d44399bcaefa1ee172dd76" -dependencies = [ - "bytemuck", - "emath", - "serde", -] - -[[package]] -name = "eframe" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eba4c50d905804fe9ec4e159fde06b9d38f9440228617ab64a03d7a2091ece63" -dependencies = [ - "ahash", - "bytemuck", - "document-features", - "egui", - "egui-wgpu", - "egui-winit", - "egui_glow", - "glow", - "glutin", - "glutin-winit", - "home", - "image", - "js-sys", - "log", - "objc2", - "objc2-app-kit", - "objc2-foundation", - "parking_lot", - "percent-encoding", - "profiling", - "raw-window-handle", - "ron 0.8.1", - "serde", - "static_assertions", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "web-time", - "winapi", - "windows-sys 0.59.0", - "winit", -] - -[[package]] -name = "egui" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d2768eaa6d5c80a6e2a008da1f0e062dff3c83eb2b28605ea2d0732d46e74d6" -dependencies = [ - "accesskit", - "ahash", - "bitflags 2.9.0", - "emath", - "epaint", - "log", - "nohash-hasher", - "profiling", - "ron 0.8.1", - "serde", -] - -[[package]] -name = "egui-wgpu" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d8151704bcef6271bec1806c51544d70e79ef20e8616e5eac01facfd9c8c54a" -dependencies = [ - "ahash", - "bytemuck", - "document-features", - "egui", - "epaint", - "log", - "profiling", - "thiserror 1.0.69", - "type-map", - "web-time", - "wgpu", - "winit", -] - -[[package]] -name = "egui-winit" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace791b367c1f63e6044aef2f3834904509d1d1a6912fd23ebf3f6a9af92cd84" -dependencies = [ - "accesskit_winit", - "ahash", - "arboard", - "bytemuck", - "egui", - "log", - "profiling", - "raw-window-handle", - "serde", - "smithay-clipboard", - "web-time", - "webbrowser", - "winit", -] - -[[package]] -name = "egui_extras" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b5cf69510eb3d19211fc0c062fb90524f43fe8e2c012967dcf0e2d81cb040f" -dependencies = [ - "ahash", - "egui", - "enum-map", - "log", - "mime_guess2", - "profiling", -] - -[[package]] -name = "egui_glow" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a53e2374a964c3c793cb0b8ead81bca631f24974bc0b747d1a5622f4e39fdd0" -dependencies = [ - "ahash", - "bytemuck", - "egui", - "glow", - "log", - "memoffset", - "profiling", - "wasm-bindgen", - "web-sys", - "winit", -] - -[[package]] -name = "either" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7914353092ddf589ad78f25c5c1c21b7f80b0ff8621e7c814c3485b5306da9d" - -[[package]] -name = "emath" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55b7b6be5ad1d247f11738b0e4699d9c20005ed366f2c29f5ec1f8e1de180bc2" -dependencies = [ - "bytemuck", - "serde", -] - -[[package]] -name = "encode_unicode" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" - -[[package]] -name = "endi" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3d8a32ae18130a3c84dd492d4215c3d913c3b07c6b63c2eb3eb7ff1101ab7bf" - -[[package]] -name = "enum-map" -version = "2.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6866f3bfdf8207509a033af1a75a7b08abda06bbaaeae6669323fd5a097df2e9" -dependencies = [ - "enum-map-derive", - "serde", -] - -[[package]] -name = "enum-map-derive" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f282cfdfe92516eb26c2af8589c274c7c17681f5ecc03c18255fe741c6aa64eb" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "enumflags2" -version = "0.7.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba2f4b465f5318854c6f8dd686ede6c0a9dc67d4b1ac241cf0eb51521a309147" -dependencies = [ - "enumflags2_derive", - "serde", -] - -[[package]] -name = "enumflags2_derive" -version = "0.7.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4caf64a58d7a6d65ab00639b046ff54399a39f5f2554728895ace4b297cd79" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "enumn" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "epaint" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "275b665a7b9611d8317485187e5458750850f9e64604d3c58434bb3fc1d22915" -dependencies = [ - "ab_glyph", - "ahash", - "bytemuck", - "ecolor", - "emath", - "epaint_default_fonts", - "log", - "nohash-hasher", - "parking_lot", - "profiling", - "serde", -] - -[[package]] -name = "epaint_default_fonts" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9343d356d7cac894dacafc161b4654e0881301097bdf32a122ed503d97cb94b6" - -[[package]] -name = "equivalent" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" - -[[package]] -name = "errno" -version = "0.3.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" -dependencies = [ - "libc", - "windows-sys 0.59.0", -] - -[[package]] -name = "error-code" -version = "3.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5d9305ccc6942a704f4335694ecd3de2ea531b114ac2d51f5f843750787a92f" - -[[package]] -name = "event-listener" -version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" -dependencies = [ - "concurrent-queue", - "parking", - "pin-project-lite", -] - -[[package]] -name = "event-listener-strategy" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c3e4e0dd3673c1139bf041f3008816d9cf2946bbfac2945c09e523b8d7b05b2" -dependencies = [ - "event-listener", - "pin-project-lite", -] - -[[package]] -name = "fastrand" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" - -[[package]] -name = "fdeflate" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c" -dependencies = [ - "simd-adler32", -] - -[[package]] -name = "flate2" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11faaf5a5236997af9848be0bef4db95824b1d534ebc64d0f0c6cf3e67bd38dc" -dependencies = [ - "crc32fast", - "miniz_oxide", -] - -[[package]] -name = "foldhash" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" - -[[package]] -name = "foreign-types" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" -dependencies = [ - "foreign-types-macros", - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-macros" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "foreign-types-shared" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" - -[[package]] -name = "form_urlencoded" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "futures" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" - -[[package]] -name = "futures-executor" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" - -[[package]] -name = "futures-lite" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532" -dependencies = [ - "fastrand", - "futures-core", - "futures-io", - "parking", - "pin-project-lite", -] - -[[package]] -name = "futures-macro" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-sink" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" - -[[package]] -name = "futures-task" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" - -[[package]] -name = "futures-timer" -version = "3.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" - -[[package]] -name = "futures-util" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite", - "pin-utils", - "slab", -] - -[[package]] -name = "gdk-pixbuf-sys" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9839ea644ed9c97a34d129ad56d38a25e6756f99f3a88e15cd39c20629caf7" -dependencies = [ - "gio-sys", - "glib-sys", - "gobject-sys", - "libc", - "system-deps", -] - -[[package]] -name = "gdk-sys" -version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c2d13f38594ac1e66619e188c6d5a1adb98d11b2fcf7894fc416ad76aa2f3f7" -dependencies = [ - "cairo-sys-rs", - "gdk-pixbuf-sys", - "gio-sys", - "glib-sys", - "gobject-sys", - "libc", - "pango-sys", - "pkg-config", - "system-deps", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "gethostname" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0176e0459c2e4a1fe232f984bca6890e681076abb9934f6cea7c326f3fc47818" -dependencies = [ - "libc", - "windows-targets 0.48.5", -] - -[[package]] -name = "getrandom" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getrandom" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.13.3+wasi-0.2.2", - "windows-targets 0.52.6", -] - -[[package]] -name = "gimli" -version = "0.31.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" - -[[package]] -name = "gio-sys" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2" -dependencies = [ - "glib-sys", - "gobject-sys", - "libc", - "system-deps", - "winapi", -] - -[[package]] -name = "gl_generator" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" -dependencies = [ - "khronos_api", - "log", - "xml-rs", -] - -[[package]] -name = "glib-sys" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898" -dependencies = [ - "libc", - "system-deps", -] - -[[package]] -name = "glob" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" - -[[package]] -name = "globset" -version = "0.4.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5" -dependencies = [ - "aho-corasick", - "bstr", - "log", - "regex-automata 0.4.9", - "regex-syntax 0.8.5", -] - -[[package]] -name = "glow" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e5ea60d70410161c8bf5da3fdfeaa1c72ed2c15f8bbb9d19fe3a4fad085f08" -dependencies = [ - "js-sys", - "slotmap", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "glutin" -version = "0.32.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03642b8b0cce622392deb0ee3e88511f75df2daac806102597905c3ea1974848" -dependencies = [ - "bitflags 2.9.0", - "cfg_aliases", - "cgl", - "core-foundation 0.9.4", - "dispatch", - "glutin_egl_sys", - "glutin_glx_sys", - "glutin_wgl_sys", - "libloading", - "objc2", - "objc2-app-kit", - "objc2-foundation", - "once_cell", - "raw-window-handle", - "wayland-sys", - "windows-sys 0.52.0", - "x11-dl", -] - -[[package]] -name = "glutin-winit" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85edca7075f8fc728f28cb8fbb111a96c3b89e930574369e3e9c27eb75d3788f" -dependencies = [ - "cfg_aliases", - "glutin", - "raw-window-handle", - "winit", -] - -[[package]] -name = "glutin_egl_sys" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c4680ba6195f424febdc3ba46e7a42a0e58743f2edb115297b86d7f8ecc02d2" -dependencies = [ - "gl_generator", - "windows-sys 0.52.0", -] - -[[package]] -name = "glutin_glx_sys" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7bb2938045a88b612499fbcba375a77198e01306f52272e692f8c1f3751185" -dependencies = [ - "gl_generator", - "x11-dl", -] - -[[package]] -name = "glutin_wgl_sys" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e" -dependencies = [ - "gl_generator", -] - -[[package]] -name = "gobject-sys" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44" -dependencies = [ - "glib-sys", - "libc", - "system-deps", -] - -[[package]] -name = "gpu-alloc" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171" -dependencies = [ - "bitflags 2.9.0", - "gpu-alloc-types", -] - -[[package]] -name = "gpu-alloc-types" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4" -dependencies = [ - "bitflags 2.9.0", -] - -[[package]] -name = "gpu-descriptor" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf29e94d6d243368b7a56caa16bc213e4f9f8ed38c4d9557069527b5d5281ca" -dependencies = [ - "bitflags 2.9.0", - "gpu-descriptor-types", - "hashbrown", -] - -[[package]] -name = "gpu-descriptor-types" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91" -dependencies = [ - "bitflags 2.9.0", -] - -[[package]] -name = "gtk-sys" -version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f29a1c21c59553eb7dd40e918be54dccd60c52b049b75119d5d96ce6b624414" -dependencies = [ - "atk-sys", - "cairo-sys-rs", - "gdk-pixbuf-sys", - "gdk-sys", - "gio-sys", - "glib-sys", - "gobject-sys", - "libc", - "pango-sys", - "system-deps", -] - -[[package]] -name = "hashbrown" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" -dependencies = [ - "foldhash", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hermit-abi" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hexf-parse" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" - -[[package]] -name = "home" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" -dependencies = [ - "windows-sys 0.59.0", -] - -[[package]] -name = "icu_collections" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" -dependencies = [ - "displaydoc", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_locid" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" -dependencies = [ - "displaydoc", - "litemap", - "tinystr", - "writeable", - "zerovec", -] - -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - -[[package]] -name = "icu_normalizer" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" -dependencies = [ - "displaydoc", - "icu_collections", - "icu_normalizer_data", - "icu_properties", - "icu_provider", - "smallvec", - "utf16_iter", - "utf8_iter", - "write16", - "zerovec", -] - -[[package]] -name = "icu_normalizer_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" - -[[package]] -name = "icu_properties" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" -dependencies = [ - "displaydoc", - "icu_collections", - "icu_locid_transform", - "icu_properties_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_properties_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" - -[[package]] -name = "icu_provider" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", - "writeable", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "idna" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" -dependencies = [ - "idna_adapter", - "smallvec", - "utf8_iter", -] - -[[package]] -name = "idna_adapter" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" -dependencies = [ - "icu_normalizer", - "icu_properties", -] - -[[package]] -name = "image" -version = "0.25.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd6f44aed642f18953a158afeb30206f4d50da59fbc66ecb53c66488de73563b" -dependencies = [ - "bytemuck", - "byteorder-lite", - "num-traits", - "png", - "tiff", -] - -[[package]] -name = "immutable-chunkmap" -version = "2.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f97096f508d54f8f8ab8957862eee2ccd628847b6217af1a335e1c44dee578" -dependencies = [ - "arrayvec", -] - -[[package]] -name = "indexmap" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" -dependencies = [ - "equivalent", - "hashbrown", -] - -[[package]] -name = "insta" -version = "1.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71c1b125e30d93896b365e156c33dadfffab45ee8400afcbba4752f59de08a86" -dependencies = [ - "console", - "globset", - "linked-hash-map", - "once_cell", - "pin-project", - "ron 0.7.1", - "serde", - "similar", - "walkdir", -] - -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" - -[[package]] -name = "jni" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" -dependencies = [ - "cesu8", - "cfg-if", - "combine", - "jni-sys", - "log", - "thiserror 1.0.69", - "walkdir", - "windows-sys 0.45.0", -] - -[[package]] -name = "jni-sys" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" - -[[package]] -name = "jobserver" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" -dependencies = [ - "libc", -] - -[[package]] -name = "jpeg-decoder" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0" - -[[package]] -name = "js-sys" -version = "0.3.77" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" -dependencies = [ - "once_cell", - "wasm-bindgen", -] - -[[package]] -name = "khronos-egl" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76" -dependencies = [ - "libc", - "libloading", - "pkg-config", -] - -[[package]] -name = "khronos_api" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" - -[[package]] -name = "lazy_static" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" - -[[package]] -name = "libc" -version = "0.2.170" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828" - -[[package]] -name = "libloading" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" -dependencies = [ - "cfg-if", - "windows-targets 0.52.6", -] - -[[package]] -name = "libredox" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" -dependencies = [ - "bitflags 2.9.0", - "libc", - "redox_syscall 0.5.9", -] - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - -[[package]] -name = "linux-raw-sys" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" - -[[package]] -name = "litemap" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856" - -[[package]] -name = "litrs" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5" - -[[package]] -name = "lock_api" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" - -[[package]] -name = "log_viewer" -version = "0.4.0" -dependencies = [ - "anyhow", - "eframe", - "egui", - "egui_extras", - "futures", - "insta", - "log", - "poll-promise", - "pretty_assertions", - "profiling", - "puffin", - "puffin_http", - "rfd", - "ron 0.8.1", - "rstest", - "serde", - "serde_json", - "strum 0.27.1", - "tokio", - "tracing", - "tracing-subscriber", - "wasm-bindgen-futures", - "web-sys", -] - -[[package]] -name = "lz4_flex" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75761162ae2b0e580d7e7c390558127e5f01b4194debd6221fd8c207fc80e3f5" - -[[package]] -name = "malloc_buf" -version = "0.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" -dependencies = [ - "libc", -] - -[[package]] -name = "matchers" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" -dependencies = [ - "regex-automata 0.1.10", -] - -[[package]] -name = "memchr" -version = "2.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" - -[[package]] -name = "memmap2" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f" -dependencies = [ - "libc", -] - -[[package]] -name = "memoffset" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" -dependencies = [ - "autocfg", -] - -[[package]] -name = "metal" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f569fb946490b5743ad69813cb19629130ce9374034abe31614a36402d18f99e" -dependencies = [ - "bitflags 2.9.0", - "block", - "core-graphics-types", - "foreign-types", - "log", - "objc", - "paste", -] - -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - -[[package]] -name = "mime_guess2" -version = "2.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a3333bb1609500601edc766a39b4c1772874a4ce26022f4d866854dc020c41" -dependencies = [ - "mime", - "unicase", -] - -[[package]] -name = "miniz_oxide" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5" -dependencies = [ - "adler2", - "simd-adler32", -] - -[[package]] -name = "mio" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" -dependencies = [ - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.52.0", -] - -[[package]] -name = "naga" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e380993072e52eef724eddfcde0ed013b0c023c3f0417336ed041aa9f076994e" -dependencies = [ - "arrayvec", - "bit-set", - "bitflags 2.9.0", - "cfg_aliases", - "codespan-reporting", - "hexf-parse", - "indexmap", - "log", - "rustc-hash", - "spirv", - "strum 0.26.3", - "termcolor", - "thiserror 2.0.11", - "unicode-xid", -] - -[[package]] -name = "ndk" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" -dependencies = [ - "bitflags 2.9.0", - "jni-sys", - "log", - "ndk-sys 0.6.0+11769913", - "num_enum", - "raw-window-handle", - "thiserror 1.0.69", -] - -[[package]] -name = "ndk-context" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" - -[[package]] -name = "ndk-sys" -version = "0.5.0+25.2.9519653" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691" -dependencies = [ - "jni-sys", -] - -[[package]] -name = "ndk-sys" -version = "0.6.0+11769913" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873" -dependencies = [ - "jni-sys", -] - -[[package]] -name = "nix" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" -dependencies = [ - "bitflags 2.9.0", - "cfg-if", - "cfg_aliases", - "libc", - "memoffset", -] - -[[package]] -name = "nohash-hasher" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" - -[[package]] -name = "nu-ansi-term" -version = "0.46.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" -dependencies = [ - "overload", - "winapi", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", -] - -[[package]] -name = "num_enum" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" -dependencies = [ - "num_enum_derive", -] - -[[package]] -name = "num_enum_derive" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "objc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" -dependencies = [ - "malloc_buf", -] - -[[package]] -name = "objc-sys" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" - -[[package]] -name = "objc2" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46a785d4eeff09c14c487497c162e92766fbb3e4059a71840cecc03d9a50b804" -dependencies = [ - "objc-sys", - "objc2-encode", -] - -[[package]] -name = "objc2-app-kit" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" -dependencies = [ - "bitflags 2.9.0", - "block2", - "libc", - "objc2", - "objc2-core-data", - "objc2-core-image", - "objc2-foundation", - "objc2-quartz-core", -] - -[[package]] -name = "objc2-cloud-kit" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009" -dependencies = [ - "bitflags 2.9.0", - "block2", - "objc2", - "objc2-core-location", - "objc2-foundation", -] - -[[package]] -name = "objc2-contacts" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889" -dependencies = [ - "block2", - "objc2", - "objc2-foundation", -] - -[[package]] -name = "objc2-core-data" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" -dependencies = [ - "bitflags 2.9.0", - "block2", - "objc2", - "objc2-foundation", -] - -[[package]] -name = "objc2-core-image" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" -dependencies = [ - "block2", - "objc2", - "objc2-foundation", - "objc2-metal", -] - -[[package]] -name = "objc2-core-location" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781" -dependencies = [ - "block2", - "objc2", - "objc2-contacts", - "objc2-foundation", -] - -[[package]] -name = "objc2-encode" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" - -[[package]] -name = "objc2-foundation" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" -dependencies = [ - "bitflags 2.9.0", - "block2", - "dispatch", - "libc", - "objc2", -] - -[[package]] -name = "objc2-link-presentation" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398" -dependencies = [ - "block2", - "objc2", - "objc2-app-kit", - "objc2-foundation", -] - -[[package]] -name = "objc2-metal" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" -dependencies = [ - "bitflags 2.9.0", - "block2", - "objc2", - "objc2-foundation", -] - -[[package]] -name = "objc2-quartz-core" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" -dependencies = [ - "bitflags 2.9.0", - "block2", - "objc2", - "objc2-foundation", - "objc2-metal", -] - -[[package]] -name = "objc2-symbols" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc" -dependencies = [ - "objc2", - "objc2-foundation", -] - -[[package]] -name = "objc2-ui-kit" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f" -dependencies = [ - "bitflags 2.9.0", - "block2", - "objc2", - "objc2-cloud-kit", - "objc2-core-data", - "objc2-core-image", - "objc2-core-location", - "objc2-foundation", - "objc2-link-presentation", - "objc2-quartz-core", - "objc2-symbols", - "objc2-uniform-type-identifiers", - "objc2-user-notifications", -] - -[[package]] -name = "objc2-uniform-type-identifiers" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe" -dependencies = [ - "block2", - "objc2", - "objc2-foundation", -] - -[[package]] -name = "objc2-user-notifications" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3" -dependencies = [ - "bitflags 2.9.0", - "block2", - "objc2", - "objc2-core-location", - "objc2-foundation", -] - -[[package]] -name = "object" -version = "0.36.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e" - -[[package]] -name = "orbclient" -version = "0.3.48" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba0b26cec2e24f08ed8bb31519a9333140a6599b867dac464bb150bdb796fd43" -dependencies = [ - "libredox", -] - -[[package]] -name = "ordered-float" -version = "4.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bb71e1b3fa6ca1c61f383464aaf2bb0e2f8e772a1f01d486832464de363b951" -dependencies = [ - "num-traits", -] - -[[package]] -name = "ordered-stream" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" -dependencies = [ - "futures-core", - "pin-project-lite", -] - -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - -[[package]] -name = "owned_ttf_parser" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec719bbf3b2a81c109a4e20b1f129b5566b7dce654bc3872f6a05abf82b2c4" -dependencies = [ - "ttf-parser", -] - -[[package]] -name = "pango-sys" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436737e391a843e5933d6d9aa102cb126d501e815b83601365a948a518555dc5" -dependencies = [ - "glib-sys", - "gobject-sys", - "libc", - "system-deps", -] - -[[package]] -name = "parking" -version = "2.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" - -[[package]] -name = "parking_lot" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall 0.5.9", - "smallvec", - "windows-targets 0.52.6", -] - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "percent-encoding" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" - -[[package]] -name = "pin-project" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfe2e71e1471fe07709406bf725f710b02927c9c54b2b5b2ec0e8087d97c327d" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e859e6e5bd50440ab63c47e3ebabc90f26251f7c73c3d3e837b74a1cc3fa67" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pin-project-lite" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "piper" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" -dependencies = [ - "atomic-waker", - "fastrand", - "futures-io", -] - -[[package]] -name = "pkg-config" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" - -[[package]] -name = "png" -version = "0.17.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" -dependencies = [ - "bitflags 1.3.2", - "crc32fast", - "fdeflate", - "flate2", - "miniz_oxide", -] - -[[package]] -name = "poll-promise" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6a58fecbf9da8965bcdb20ce4fd29788d1acee68ddbb64f0ba1b81bccdb7df" -dependencies = [ - "document-features", - "static_assertions", - "tokio", - "wasm-bindgen", - "wasm-bindgen-futures", -] - -[[package]] -name = "polling" -version = "3.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f" -dependencies = [ - "cfg-if", - "concurrent-queue", - "hermit-abi", - "pin-project-lite", - "rustix", - "tracing", - "windows-sys 0.59.0", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" -dependencies = [ - "zerocopy", -] - -[[package]] -name = "pretty_assertions" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" -dependencies = [ - "diff", - "yansi", -] - -[[package]] -name = "proc-macro-crate" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" -dependencies = [ - "toml_edit", -] - -[[package]] -name = "proc-macro2" -version = "1.0.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "profiling" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afbdc74edc00b6f6a218ca6a5364d6226a259d4b8ea1af4a0ea063f27e179f4d" -dependencies = [ - "profiling-procmacros", - "puffin", -] - -[[package]] -name = "profiling-procmacros" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a65f2e60fbf1063868558d69c6beacf412dc755f9fc020f514b7955fc914fe30" -dependencies = [ - "quote", - "syn", -] - -[[package]] -name = "puffin" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa9dae7b05c02ec1a6bc9bcf20d8bc64a7dcbf57934107902a872014899b741f" -dependencies = [ - "anyhow", - "bincode", - "byteorder", - "cfg-if", - "itertools", - "lz4_flex", - "once_cell", - "parking_lot", - "serde", -] - -[[package]] -name = "puffin_http" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "739a3c7f56604713b553d7addd7718c226e88d598979ae3450320800bd0e9810" -dependencies = [ - "anyhow", - "crossbeam-channel", - "log", - "parking_lot", - "puffin", -] - -[[package]] -name = "quick-xml" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eff6510e86862b57b210fd8cbe8ed3f0d7d600b9c2863cd4549a2e033c66e956" -dependencies = [ - "memchr", - "serde", -] - -[[package]] -name = "quick-xml" -version = "0.37.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "165859e9e55f79d67b96c5d96f4e88b6f2695a1972849c15a6a3f5c59fc2c003" -dependencies = [ - "memchr", -] - -[[package]] -name = "quote" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha", - "rand_core", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.15", -] - -[[package]] -name = "raw-window-handle" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" - -[[package]] -name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82b568323e98e49e2a0899dcee453dd679fae22d69adf9b11dd508d1549b7e2f" -dependencies = [ - "bitflags 2.9.0", -] - -[[package]] -name = "regex" -version = "1.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" -dependencies = [ - "aho-corasick", - "memchr", - "regex-automata 0.4.9", - "regex-syntax 0.8.5", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", -] - -[[package]] -name = "regex-automata" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax 0.8.5", -] - -[[package]] -name = "regex-syntax" -version = "0.6.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "regex-syntax" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" - -[[package]] -name = "relative-path" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2" - -[[package]] -name = "renderdoc-sys" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832" - -[[package]] -name = "rfd" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a24763657bff09769a8ccf12c8b8a50416fb035fe199263b4c5071e4e3f006f" -dependencies = [ - "ashpd", - "block2", - "core-foundation 0.10.0", - "core-foundation-sys", - "glib-sys", - "gobject-sys", - "gtk-sys", - "js-sys", - "log", - "objc2", - "objc2-app-kit", - "objc2-foundation", - "raw-window-handle", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "windows-sys 0.59.0", -] - -[[package]] -name = "ron" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88073939a61e5b7680558e6be56b419e208420c2adb92be54921fa6b72283f1a" -dependencies = [ - "base64 0.13.1", - "bitflags 1.3.2", - "serde", -] - -[[package]] -name = "ron" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91f7eff05f748767f183df4320a63d6936e9c6107d97c9e6bdd9784f4289c94" -dependencies = [ - "base64 0.21.7", - "bitflags 2.9.0", - "serde", - "serde_derive", -] - -[[package]] -name = "rstest" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03e905296805ab93e13c1ec3a03f4b6c4f35e9498a3d5fa96dc626d22c03cd89" -dependencies = [ - "futures-timer", - "futures-util", - "rstest_macros", - "rustc_version", -] - -[[package]] -name = "rstest_macros" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef0053bbffce09062bee4bcc499b0fbe7a57b879f1efe088d6d8d4c7adcdef9b" -dependencies = [ - "cfg-if", - "glob", - "proc-macro-crate", - "proc-macro2", - "quote", - "regex", - "relative-path", - "rustc_version", - "syn", - "unicode-ident", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - -[[package]] -name = "rustc_version" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" -dependencies = [ - "semver", -] - -[[package]] -name = "rustix" -version = "0.38.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" -dependencies = [ - "bitflags 2.9.0", - "errno", - "libc", - "linux-raw-sys", - "windows-sys 0.59.0", -] - -[[package]] -name = "rustversion" -version = "1.0.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" - -[[package]] -name = "ryu" -version = "1.0.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "scoped-tls" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "semver" -version = "1.0.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f79dfe2d285b0488816f30e700a7438c5a73d816b5b7d3ac72fbc48b0d185e03" - -[[package]] -name = "serde" -version = "1.0.218" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.218" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.139" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44f86c3acccc9c65b153fe1b85a3be07fe5515274ec9f0653b4a0875731c72a6" -dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", -] - -[[package]] -name = "serde_repr" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_spanned" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" -dependencies = [ - "serde", -] - -[[package]] -name = "sha1" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "sharded-slab" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "shlex" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" - -[[package]] -name = "signal-hook-registry" -version = "1.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" -dependencies = [ - "libc", -] - -[[package]] -name = "simd-adler32" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" - -[[package]] -name = "similar" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] - -[[package]] -name = "slotmap" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbff4acf519f630b3a3ddcfaea6c06b42174d9a44bc70c620e9ed1649d58b82a" -dependencies = [ - "version_check", -] - -[[package]] -name = "smallvec" -version = "1.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" - -[[package]] -name = "smithay-client-toolkit" -version = "0.19.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" -dependencies = [ - "bitflags 2.9.0", - "calloop", - "calloop-wayland-source", - "cursor-icon", - "libc", - "log", - "memmap2", - "rustix", - "thiserror 1.0.69", - "wayland-backend", - "wayland-client", - "wayland-csd-frame", - "wayland-cursor", - "wayland-protocols", - "wayland-protocols-wlr", - "wayland-scanner", - "xkeysym", -] - -[[package]] -name = "smithay-clipboard" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc8216eec463674a0e90f29e0ae41a4db573ec5b56b1c6c1c71615d249b6d846" -dependencies = [ - "libc", - "smithay-client-toolkit", - "wayland-backend", -] - -[[package]] -name = "smol_str" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead" -dependencies = [ - "serde", -] - -[[package]] -name = "socket2" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" -dependencies = [ - "libc", - "windows-sys 0.52.0", -] - -[[package]] -name = "spirv" -version = "0.3.0+sdk-1.3.268.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844" -dependencies = [ - "bitflags 2.9.0", -] - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "strum" -version = "0.26.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" -dependencies = [ - "strum_macros 0.26.4", -] - -[[package]] -name = "strum" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f64def088c51c9510a8579e3c5d67c65349dcf755e5479ad3d010aa6454e2c32" -dependencies = [ - "strum_macros 0.27.1", -] - -[[package]] -name = "strum_macros" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", -] - -[[package]] -name = "strum_macros" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77a8c5abcaf0f9ce05d62342b7d298c346515365c36b673df4ebe3ced01fde8" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", -] - -[[package]] -name = "syn" -version = "2.0.98" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "synstructure" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "system-deps" -version = "6.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349" -dependencies = [ - "cfg-expr", - "heck", - "pkg-config", - "toml", - "version-compare", -] - -[[package]] -name = "target-lexicon" -version = "0.12.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" - -[[package]] -name = "tempfile" -version = "3.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22e5a0acb1f3f55f65cc4a866c361b2fb2a0ff6366785ae6fbb5f85df07ba230" -dependencies = [ - "cfg-if", - "fastrand", - "getrandom 0.3.1", - "once_cell", - "rustix", - "windows-sys 0.59.0", -] - -[[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "thiserror" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" -dependencies = [ - "thiserror-impl 1.0.69", -] - -[[package]] -name = "thiserror" -version = "2.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" -dependencies = [ - "thiserror-impl 2.0.11", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "thread_local" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" -dependencies = [ - "cfg-if", - "once_cell", -] - -[[package]] -name = "tiff" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba1310fcea54c6a9a4fd1aad794ecc02c31682f6bfbecdf460bf19533eed1e3e" -dependencies = [ - "flate2", - "jpeg-decoder", - "weezl", -] - -[[package]] -name = "tinystr" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" -dependencies = [ - "displaydoc", - "zerovec", -] - -[[package]] -name = "tokio" -version = "1.43.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" -dependencies = [ - "backtrace", - "bytes", - "libc", - "mio", - "pin-project-lite", - "signal-hook-registry", - "socket2", - "tokio-macros", - "tracing", - "windows-sys 0.52.0", -] - -[[package]] -name = "tokio-macros" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "toml" -version = "0.8.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd87a5cdd6ffab733b2f74bc4fd7ee5fff6634124999ac278c35fc78c6120148" -dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit", -] - -[[package]] -name = "toml_datetime" -version = "0.6.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" -dependencies = [ - "serde", -] - -[[package]] -name = "toml_edit" -version = "0.22.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" -dependencies = [ - "indexmap", - "serde", - "serde_spanned", - "toml_datetime", - "winnow", -] - -[[package]] -name = "tracing" -version = "0.1.41" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" -dependencies = [ - "matchers", - "nu-ansi-term", - "once_cell", - "regex", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", -] - -[[package]] -name = "ttf-parser" -version = "0.25.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2df906b07856748fa3f6e0ad0cbaa047052d4a7dd609e231c4f72cee8c36f31" - -[[package]] -name = "type-map" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f" -dependencies = [ - "rustc-hash", -] - -[[package]] -name = "typenum" -version = "1.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" - -[[package]] -name = "uds_windows" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89daebc3e6fd160ac4aa9fc8b3bf71e1f74fbf92367ae71fb83a037e8bf164b9" -dependencies = [ - "memoffset", - "tempfile", - "winapi", -] - -[[package]] -name = "unicase" -version = "2.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" - -[[package]] -name = "unicode-ident" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe" - -[[package]] -name = "unicode-segmentation" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" - -[[package]] -name = "unicode-width" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" - -[[package]] -name = "unicode-xid" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" - -[[package]] -name = "url" -version = "2.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", - "serde", -] - -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - -[[package]] -name = "utf8_iter" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" - -[[package]] -name = "valuable" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" - -[[package]] -name = "version-compare" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "walkdir" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" -dependencies = [ - "same-file", - "winapi-util", -] - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasi" -version = "0.13.3+wasi-0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" -dependencies = [ - "wit-bindgen-rt", -] - -[[package]] -name = "wasm-bindgen" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" -dependencies = [ - "cfg-if", - "once_cell", - "rustversion", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" -dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" -dependencies = [ - "cfg-if", - "js-sys", - "once_cell", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "wayland-backend" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7208998eaa3870dad37ec8836979581506e0c5c64c20c9e79e9d2a10d6f47bf" -dependencies = [ - "cc", - "downcast-rs", - "rustix", - "scoped-tls", - "smallvec", - "wayland-sys", -] - -[[package]] -name = "wayland-client" -version = "0.31.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2120de3d33638aaef5b9f4472bff75f07c56379cf76ea320bd3a3d65ecaf73f" -dependencies = [ - "bitflags 2.9.0", - "rustix", - "wayland-backend", - "wayland-scanner", -] - -[[package]] -name = "wayland-csd-frame" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "625c5029dbd43d25e6aa9615e88b829a5cad13b2819c4ae129fdbb7c31ab4c7e" -dependencies = [ - "bitflags 2.9.0", - "cursor-icon", - "wayland-backend", -] - -[[package]] -name = "wayland-cursor" -version = "0.31.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a93029cbb6650748881a00e4922b076092a6a08c11e7fbdb923f064b23968c5d" -dependencies = [ - "rustix", - "wayland-client", - "xcursor", -] - -[[package]] -name = "wayland-protocols" -version = "0.32.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0781cf46869b37e36928f7b432273c0995aa8aed9552c556fb18754420541efc" -dependencies = [ - "bitflags 2.9.0", - "wayland-backend", - "wayland-client", - "wayland-scanner", -] - -[[package]] -name = "wayland-protocols-plasma" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ccaacc76703fefd6763022ac565b590fcade92202492381c95b2edfdf7d46b3" -dependencies = [ - "bitflags 2.9.0", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-scanner", -] - -[[package]] -name = "wayland-protocols-wlr" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248a02e6f595aad796561fa82d25601bd2c8c3b145b1c7453fc8f94c1a58f8b2" -dependencies = [ - "bitflags 2.9.0", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-scanner", -] - -[[package]] -name = "wayland-scanner" -version = "0.31.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "896fdafd5d28145fce7958917d69f2fd44469b1d4e861cb5961bcbeebc6d1484" -dependencies = [ - "proc-macro2", - "quick-xml 0.37.2", - "quote", -] - -[[package]] -name = "wayland-sys" -version = "0.31.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbcebb399c77d5aa9fa5db874806ee7b4eba4e73650948e8f93963f128896615" -dependencies = [ - "dlib", - "log", - "once_cell", - "pkg-config", -] - -[[package]] -name = "web-sys" -version = "0.3.77" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "web-time" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "webbrowser" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea9fe1ebb156110ff855242c1101df158b822487e4957b0556d9ffce9db0f535" -dependencies = [ - "block2", - "core-foundation 0.10.0", - "home", - "jni", - "log", - "ndk-context", - "objc2", - "objc2-foundation", - "url", - "web-sys", -] - -[[package]] -name = "weezl" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" - -[[package]] -name = "wgpu" -version = "24.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47f55718f85c2fa756edffa0e7f0e0a60aba463d1362b57e23123c58f035e4b6" -dependencies = [ - "arrayvec", - "bitflags 2.9.0", - "cfg_aliases", - "document-features", - "js-sys", - "log", - "parking_lot", - "profiling", - "raw-window-handle", - "smallvec", - "static_assertions", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "wgpu-core", - "wgpu-hal", - "wgpu-types", -] - -[[package]] -name = "wgpu-core" -version = "24.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "671c25545d479b47d3f0a8e373aceb2060b67c6eb841b24ac8c32348151c7a0c" -dependencies = [ - "arrayvec", - "bit-vec", - "bitflags 2.9.0", - "cfg_aliases", - "document-features", - "indexmap", - "log", - "naga", - "once_cell", - "parking_lot", - "profiling", - "raw-window-handle", - "rustc-hash", - "smallvec", - "thiserror 2.0.11", - "wgpu-hal", - "wgpu-types", -] - -[[package]] -name = "wgpu-hal" -version = "24.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4317a17171dc20e6577bf606796794580accae0716a69edbc7388c86a3ec9f23" -dependencies = [ - "android_system_properties", - "arrayvec", - "ash", - "bitflags 2.9.0", - "bytemuck", - "cfg_aliases", - "core-graphics-types", - "glow", - "glutin_wgl_sys", - "gpu-alloc", - "gpu-descriptor", - "js-sys", - "khronos-egl", - "libc", - "libloading", - "log", - "metal", - "naga", - "ndk-sys 0.5.0+25.2.9519653", - "objc", - "once_cell", - "ordered-float", - "parking_lot", - "profiling", - "raw-window-handle", - "renderdoc-sys", - "rustc-hash", - "smallvec", - "thiserror 2.0.11", - "wasm-bindgen", - "web-sys", - "wgpu-types", - "windows", -] - -[[package]] -name = "wgpu-types" -version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50ac044c0e76c03a0378e7786ac505d010a873665e2d51383dcff8dd227dc69c" -dependencies = [ - "bitflags 2.9.0", - "js-sys", - "log", - "web-sys", -] - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" -dependencies = [ - "windows-sys 0.59.0", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6" -dependencies = [ - "windows-core", - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-core" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99" -dependencies = [ - "windows-implement", - "windows-interface", - "windows-result", - "windows-strings", - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-implement" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-interface" -version = "0.58.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "windows-result" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" -dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-strings" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" -dependencies = [ - "windows-result", - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.52.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" -dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - -[[package]] -name = "winit" -version = "0.30.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a809eacf18c8eca8b6635091543f02a5a06ddf3dad846398795460e6e0ae3cc0" -dependencies = [ - "ahash", - "android-activity", - "atomic-waker", - "bitflags 2.9.0", - "block2", - "bytemuck", - "calloop", - "cfg_aliases", - "concurrent-queue", - "core-foundation 0.9.4", - "core-graphics", - "cursor-icon", - "dpi", - "js-sys", - "libc", - "memmap2", - "ndk", - "objc2", - "objc2-app-kit", - "objc2-foundation", - "objc2-ui-kit", - "orbclient", - "percent-encoding", - "pin-project", - "raw-window-handle", - "redox_syscall 0.4.1", - "rustix", - "smithay-client-toolkit", - "smol_str", - "tracing", - "unicode-segmentation", - "wasm-bindgen", - "wasm-bindgen-futures", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "wayland-protocols-plasma", - "web-sys", - "web-time", - "windows-sys 0.52.0", - "x11-dl", - "x11rb", - "xkbcommon-dl", -] - -[[package]] -name = "winnow" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7f4ea97f6f78012141bcdb6a216b2609f0979ada50b20ca5b52dde2eac2bb1" -dependencies = [ - "memchr", -] - -[[package]] -name = "wit-bindgen-rt" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" -dependencies = [ - "bitflags 2.9.0", -] - -[[package]] -name = "write16" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" - -[[package]] -name = "writeable" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" - -[[package]] -name = "x11-dl" -version = "2.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f" -dependencies = [ - "libc", - "once_cell", - "pkg-config", -] - -[[package]] -name = "x11rb" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d91ffca73ee7f68ce055750bf9f6eca0780b8c85eff9bc046a3b0da41755e12" -dependencies = [ - "as-raw-xcb-connection", - "gethostname", - "libc", - "libloading", - "once_cell", - "rustix", - "x11rb-protocol", -] - -[[package]] -name = "x11rb-protocol" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec107c4503ea0b4a98ef47356329af139c0a4f7750e621cf2973cd3385ebcb3d" - -[[package]] -name = "xcursor" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ef33da6b1660b4ddbfb3aef0ade110c8b8a781a3b6382fa5f2b5b040fd55f61" - -[[package]] -name = "xdg-home" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec1cdab258fb55c0da61328dc52c8764709b249011b2cad0454c72f0bf10a1f6" -dependencies = [ - "libc", - "windows-sys 0.59.0", -] - -[[package]] -name = "xkbcommon-dl" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d039de8032a9a8856a6be89cea3e5d12fdd82306ab7c94d74e6deab2460651c5" -dependencies = [ - "bitflags 2.9.0", - "dlib", - "log", - "once_cell", - "xkeysym", -] - -[[package]] -name = "xkeysym" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56" - -[[package]] -name = "xml-rs" -version = "0.8.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5b940ebc25896e71dd073bad2dbaa2abfe97b0a391415e22ad1326d9c54e3c4" - -[[package]] -name = "yansi" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" - -[[package]] -name = "yoke" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" -dependencies = [ - "serde", - "stable_deref_trait", - "yoke-derive", - "zerofrom", -] - -[[package]] -name = "yoke-derive" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "zbus" -version = "4.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb97012beadd29e654708a0fdb4c84bc046f537aecfde2c3ee0a9e4b4d48c725" -dependencies = [ - "async-broadcast", - "async-executor", - "async-fs", - "async-io", - "async-lock", - "async-process", - "async-recursion", - "async-task", - "async-trait", - "blocking", - "enumflags2", - "event-listener", - "futures-core", - "futures-sink", - "futures-util", - "hex", - "nix", - "ordered-stream", - "rand", - "serde", - "serde_repr", - "sha1", - "static_assertions", - "tracing", - "uds_windows", - "windows-sys 0.52.0", - "xdg-home", - "zbus_macros 4.4.0", - "zbus_names 3.0.0", - "zvariant 4.2.0", -] - -[[package]] -name = "zbus" -version = "5.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59c333f648ea1b647bc95dc1d34807c8e25ed7a6feff3394034dc4776054b236" -dependencies = [ - "async-broadcast", - "async-recursion", - "async-trait", - "enumflags2", - "event-listener", - "futures-core", - "futures-lite", - "hex", - "nix", - "ordered-stream", - "serde", - "serde_repr", - "static_assertions", - "tokio", - "tracing", - "uds_windows", - "windows-sys 0.59.0", - "winnow", - "xdg-home", - "zbus_macros 5.5.0", - "zbus_names 4.2.0", - "zvariant 5.4.0", -] - -[[package]] -name = "zbus-lockstep" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ca2c5dceb099bddaade154055c926bb8ae507a18756ba1d8963fd7b51d8ed1d" -dependencies = [ - "zbus_xml", - "zvariant 4.2.0", -] - -[[package]] -name = "zbus-lockstep-macros" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709ab20fc57cb22af85be7b360239563209258430bccf38d8b979c5a2ae3ecce" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "zbus-lockstep", - "zbus_xml", - "zvariant 4.2.0", -] - -[[package]] -name = "zbus_macros" -version = "4.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267db9407081e90bbfa46d841d3cbc60f59c0351838c4bc65199ecd79ab1983e" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", - "zvariant_utils 2.1.0", -] - -[[package]] -name = "zbus_macros" -version = "5.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f325ad10eb0d0a3eb060203494c3b7ec3162a01a59db75d2deee100339709fc0" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", - "zbus_names 4.2.0", - "zvariant 5.4.0", - "zvariant_utils 3.2.0", -] - -[[package]] -name = "zbus_names" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b9b1fef7d021261cc16cba64c351d291b715febe0fa10dc3a443ac5a5022e6c" -dependencies = [ - "serde", - "static_assertions", - "zvariant 4.2.0", -] - -[[package]] -name = "zbus_names" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7be68e64bf6ce8db94f63e72f0c7eb9a60d733f7e0499e628dfab0f84d6bcb97" -dependencies = [ - "serde", - "static_assertions", - "winnow", - "zvariant 5.4.0", -] - -[[package]] -name = "zbus_xml" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab3f374552b954f6abb4bd6ce979e6c9b38fb9d0cd7cc68a7d796e70c9f3a233" -dependencies = [ - "quick-xml 0.30.0", - "serde", - "static_assertions", - "zbus_names 3.0.0", - "zvariant 4.2.0", -] - -[[package]] -name = "zerocopy" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" -dependencies = [ - "byteorder", - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.7.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "zerofrom" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" -dependencies = [ - "zerofrom-derive", -] - -[[package]] -name = "zerofrom-derive" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "zerovec" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" -dependencies = [ - "yoke", - "zerofrom", - "zerovec-derive", -] - -[[package]] -name = "zerovec-derive" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "zvariant" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2084290ab9a1c471c38fc524945837734fbf124487e105daec2bb57fd48c81fe" -dependencies = [ - "endi", - "enumflags2", - "serde", - "static_assertions", - "zvariant_derive 4.2.0", -] - -[[package]] -name = "zvariant" -version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2df9ee044893fcffbdc25de30546edef3e32341466811ca18421e3cd6c5a3ac" -dependencies = [ - "endi", - "enumflags2", - "serde", - "static_assertions", - "url", - "winnow", - "zvariant_derive 5.4.0", - "zvariant_utils 3.2.0", -] - -[[package]] -name = "zvariant_derive" -version = "4.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73e2ba546bda683a90652bac4a279bc146adad1386f25379cf73200d2002c449" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", - "zvariant_utils 2.1.0", -] - -[[package]] -name = "zvariant_derive" -version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74170caa85b8b84cc4935f2d56a57c7a15ea6185ccdd7eadb57e6edd90f94b2f" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", - "zvariant_utils 3.2.0", -] - -[[package]] -name = "zvariant_utils" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c51bcff7cc3dbb5055396bcf774748c3dab426b4b8659046963523cee4808340" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "zvariant_utils" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16edfee43e5d7b553b77872d99bc36afdda75c223ca7ad5e3fbecd82ca5fc34" -dependencies = [ - "proc-macro2", - "quote", - "serde", - "static_assertions", - "syn", - "winnow", -] diff --git a/Cargo.toml b/Cargo.toml deleted file mode 100644 index 0eb7719..0000000 --- a/Cargo.toml +++ /dev/null @@ -1,55 +0,0 @@ -[package] -name = "log_viewer" -version = "0.4.0" -edition = "2021" - -[dependencies] -anyhow = "1.0.95" -eframe = { version = "0.31", default-features = false, features = [ # - "accesskit", # Make egui compatible with screen readers. NOTE: adds a lot of dependencies. - "default_fonts", # Embed the default egui fonts. - "glow", # Use the glow rendering backend. Alternative: "wgpu". - "persistence", # Enable restoring app state when restarting the app. - "wayland", # To support Linux (and CI) - "x11",] } -egui = "0.31" -egui_extras = "0.31" -futures = "0.3.31" -rfd = { version = "0.15.2", default-features = false, features = ["gtk3", "tokio"] } -ron = "0.8.1" -serde = { version = "1.0.217", features = ["derive"] } -serde_json = "1.0.135" -tracing = "0.1.41" - -# native: -[target.'cfg(not(target_arch = "wasm32"))'.dependencies] -poll-promise = { version = "0.3.0", features = ["tokio"] } -tokio = { version = "1.43", default-features = false } # I suspect features are brought in with poll-promise (not able to separate out to see what we need) -tracing-subscriber = { version = "0.3.19", features = ["env-filter"] } -puffin = { version = "0.19", optional = true } -puffin_http = { version = "0.16", optional = true } -profiling = { version = "1", features = ["profile-with-puffin"], optional = true } - -# web: -[target.'cfg(target_arch = "wasm32")'.dependencies] -log = "0.4.26" -poll-promise = { version = "0.3.0", features = ["web"] } -wasm-bindgen-futures = "0.4.49" -web-sys = "0.3.76" - -[profile.release] -opt-level = 2 # fast and small wasm - -# Optimize all dependencies even in debug builds: -[profile.dev.package."*"] -opt-level = 2 - -[dev-dependencies] -insta = { version = "1.42", features = ["ron", "glob", "yaml"] } -pretty_assertions = "1.4.1" -ron = "0.8.1" -rstest = "0.24" -strum = { version = "0.27.1", features = ["derive"] } - -[features] -profiling = ["dep:profiling", "dep:puffin_http", "dep:puffin"] diff --git a/LICENSE-APACHE b/LICENSE-APACHE deleted file mode 100644 index 4fe2d18..0000000 --- a/LICENSE-APACHE +++ /dev/null @@ -1,200 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/LICENSE-MIT b/LICENSE-MIT deleted file mode 100644 index 9cf1062..0000000 --- a/LICENSE-MIT +++ /dev/null @@ -1,19 +0,0 @@ -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 653d316..0000000 --- a/README.md +++ /dev/null @@ -1,88 +0,0 @@ -# Log Viewer - -Simple log viewer. -Works with log that have json on each line. -Works in both Web (WASM) and on native. -Defaults are configured for [bunyan formatted logs](https://github.com/trentm/node-bunyan) but these are setup as setting and are able to be changed (UI not implemented to change at present due to no demand). -For rust programs one can use the crate [tracing_bunyan_formatter](https://docs.rs/tracing-bunyan-formatter/latest/tracing_bunyan_formatter/) to generate logs as done in the book [Zero To Production In Rust](https://www.zero2prod.com/index.html). - -You can use the deployed version without install at - -# Description of expected log file format - -It is expected that the file will contain multiple json objects separated by new lines. -If a line is not valid json it can be converted into a Log record with the entire line being one json field. -See [samples](tests/sample_logs/). -A toy example would be: - -``` -{"v":0,"name":"my_server","msg":"Server address is: 127.0.0.1:8000","level":30,"hostname":"my_computer","pid":42127,"time":"2024-02-10T03:10:25.952130465Z","target":"my_server::startup","line":34,"file":"crates/wic-server/src/startup.rs"} -{"v":0,"name":"my_server","msg":"starting 8 workers","level":30,"hostname":"my_computer","pid":42127,"time":"2024-02-10T03:10:25.952653399Z","target":"actix_server::builder","line":240,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/builder.rs"} -{"v":0,"name":"my_server","msg":"Tokio runtime found; starting in existing Tokio runtime","level":30,"hostname":"my_computer","pid":42127,"time":"2024-02-10T03:10:25.952767514Z","target":"actix_server::server","line":197,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/server.rs"} -``` - -# How to run - -We do not test on older version of rust so it is possible you may get compilation errors if you are not on the latest version of stable rust. -To get the most recent stable version use `rustup update`. - -## Native - -`cargo run --release` - -On Linux you need to first run: - -`sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev` - -On Fedora Rawhide you need to run: - -`dnf install clang clang-devel clang-tools-extra libxkbcommon-devel pkg-config openssl-devel libxcb-devel gtk3-devel atk fontconfig-devel` - -## Web Locally - -You can compile your app to [WASM](https://en.wikipedia.org/wiki/WebAssembly) and publish it as a web page. - -We use [Trunk](https://trunkrs.dev/) to build for web target. - -1. Install the required target with `rustup target add wasm32-unknown-unknown`. -2. Install Trunk with `cargo install --locked trunk`. -3. Run `trunk serve` to build and serve on `http://127.0.0.1:8080`. Trunk will rebuild automatically if you edit the project. -4. Open `http://127.0.0.1:8080/index.html#dev` in a browser. See the warning below. - -> `assets/sw.js` script will try to cache our app, and loads the cached version when it cannot connect to server allowing your app to work offline (like PWA). -> appending `#dev` to `index.html` will skip this caching, allowing us to load the latest builds during development. - -## Web Deploy - -1. Just run `trunk build --release`. -2. It will generate a `dist` directory as a "static html" website -3. Upload the `dist` directory to any of the numerous free hosting websites including [GitHub Pages](https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site). -4. we already provide a workflow that auto-deploys our app to GitHub pages if you enable it. - -> To enable Github Pages, you need to go to Repository -> Settings -> Pages -> Source -> set to `gh-pages` branch and `/` (root). -> -> If `gh-pages` is not available in `Source`, just create and push a branch called `gh-pages` and it should be available. - -You can see the deployed version here - -# Credits - -Built on [egui](https://www.egui.rs/) and started from [egui template](https://github.com/emilk/eframe_template/) - -## License - -All code in this repository is dual-licensed under either: - -- Apache License, Version 2.0 -- MIT license - -at your option. -This means you can select the license you prefer! -This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both as noted in -this [issue](https://github.com/bevyengine/bevy/issues/2373) on [Bevy](https://bevyengine.org)'s repo. - -### Contribution - -Unless you explicitly state otherwise, any contribution intentionally submitted -for inclusion in the work by you, as defined in the Apache-2.0 license, shall -be dual licensed as above, without any additional terms or conditions. diff --git a/Trunk.toml b/Trunk.toml deleted file mode 100644 index bd6c484..0000000 --- a/Trunk.toml +++ /dev/null @@ -1,2 +0,0 @@ -[build] -filehash = false diff --git a/bacon.toml b/bacon.toml deleted file mode 100644 index 49495fe..0000000 --- a/bacon.toml +++ /dev/null @@ -1,24 +0,0 @@ -# This is a configuration file for the bacon tool - -[jobs.reset-settings-and-run] -command = [ - "sh", - "-c", - "echo 'Deleting settings!!!'; trash ~/.local/share/logviewer/app.ron; cargo run", -] -need_stdout = true -allow_warnings = true -background = false -on_change_strategy = "kill_then_restart" -kill = ["pkill", "-TERM", "-P"] - -[jobs.run-profiling] -command = ["cargo", "run", "--features=profiling"] -kill = ["pkill", "-TERM", "-P"] -on_change_strategy = "kill_then_restart" -env.RUST_LOG = "zbus=warn,log_viewer=debug,info" -# TODO 5: Look into getting both the profiler and the app to stop - -[keybindings] -ctrl-d = "job:reset-settings-and-run" -ctrl-r = "job:run-profiling" diff --git a/check.sh b/check.sh deleted file mode 100755 index bb7b4e4..0000000 --- a/check.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash -# This scripts runs various CI-like checks in a convenient way. -set -eux - -cargo check --workspace --all-targets -cargo check --workspace --all-features --lib --target wasm32-unknown-unknown -cargo fmt --all -- --check -cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all -cargo test --workspace --all-targets --all-features -cargo test --workspace --doc -trunk build diff --git a/deny.toml b/deny.toml deleted file mode 100644 index c21822d..0000000 --- a/deny.toml +++ /dev/null @@ -1,7 +0,0 @@ -[advisories] -ignore = [ - # Might have to change of rfd or do the upgrade myself maintainer doesn't seem keen. https://github.com/PolyMeilex/rfd/issues/227 - "RUSTSEC-2024-0416", - "RUSTSEC-2024-0418", - "RUSTSEC-2024-0420", -] diff --git a/assets/favicon.ico b/favicon.ico similarity index 100% rename from assets/favicon.ico rename to favicon.ico diff --git a/index.html b/index.html index 8635832..6802ec7 100644 --- a/index.html +++ b/index.html @@ -10,19 +10,30 @@ Log Viewer - + + - + - + - - - - - - + + + + + + @@ -116,7 +127,7 @@ } } - + diff --git a/log_viewer.js b/log_viewer.js new file mode 100644 index 0000000..8d8da0a --- /dev/null +++ b/log_viewer.js @@ -0,0 +1,1654 @@ +let wasm; + +function isLikeNone(x) { + return x === undefined || x === null; +} + +function addToExternrefTable0(obj) { + const idx = wasm.__externref_table_alloc(); + wasm.__wbindgen_export_1.set(idx, obj); + return idx; +} + +const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } ); + +if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); }; + +let cachedUint8ArrayMemory0 = null; + +function getUint8ArrayMemory0() { + if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { + cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); + } + return cachedUint8ArrayMemory0; +} + +function getStringFromWasm0(ptr, len) { + ptr = ptr >>> 0; + return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); +} + +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + const idx = addToExternrefTable0(e); + wasm.__wbindgen_exn_store(idx); + } +} + +let WASM_VECTOR_LEN = 0; + +const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } ); + +const encodeString = (typeof cachedTextEncoder.encodeInto === 'function' + ? function (arg, view) { + return cachedTextEncoder.encodeInto(arg, view); +} + : function (arg, view) { + const buf = cachedTextEncoder.encode(arg); + view.set(buf); + return { + read: arg.length, + written: buf.length + }; +}); + +function passStringToWasm0(arg, malloc, realloc) { + + if (realloc === undefined) { + const buf = cachedTextEncoder.encode(arg); + const ptr = malloc(buf.length, 1) >>> 0; + getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf); + WASM_VECTOR_LEN = buf.length; + return ptr; + } + + let len = arg.length; + let ptr = malloc(len, 1) >>> 0; + + const mem = getUint8ArrayMemory0(); + + let offset = 0; + + for (; offset < len; offset++) { + const code = arg.charCodeAt(offset); + if (code > 0x7F) break; + mem[ptr + offset] = code; + } + + if (offset !== len) { + if (offset !== 0) { + arg = arg.slice(offset); + } + ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; + const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); + const ret = encodeString(arg, view); + + offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; + } + + WASM_VECTOR_LEN = offset; + return ptr; +} + +let cachedDataViewMemory0 = null; + +function getDataViewMemory0() { + if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) { + cachedDataViewMemory0 = new DataView(wasm.memory.buffer); + } + return cachedDataViewMemory0; +} + +const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(state => { + wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b) +}); + +function makeMutClosure(arg0, arg1, dtor, f) { + const state = { a: arg0, b: arg1, cnt: 1, dtor }; + const real = (...args) => { + // First up with a closure we increment the internal reference + // count. This ensures that the Rust closure environment won't + // be deallocated while we're invoking it. + state.cnt++; + const a = state.a; + state.a = 0; + try { + return f(a, state.b, ...args); + } finally { + if (--state.cnt === 0) { + wasm.__wbindgen_export_6.get(state.dtor)(a, state.b); + CLOSURE_DTORS.unregister(state); + } else { + state.a = a; + } + } + }; + real.original = state; + CLOSURE_DTORS.register(real, state, state); + return real; +} + +function debugString(val) { + // primitive types + const type = typeof val; + if (type == 'number' || type == 'boolean' || val == null) { + return `${val}`; + } + if (type == 'string') { + return `"${val}"`; + } + if (type == 'symbol') { + const description = val.description; + if (description == null) { + return 'Symbol'; + } else { + return `Symbol(${description})`; + } + } + if (type == 'function') { + const name = val.name; + if (typeof name == 'string' && name.length > 0) { + return `Function(${name})`; + } else { + return 'Function'; + } + } + // objects + if (Array.isArray(val)) { + const length = val.length; + let debug = '['; + if (length > 0) { + debug += debugString(val[0]); + } + for(let i = 1; i < length; i++) { + debug += ', ' + debugString(val[i]); + } + debug += ']'; + return debug; + } + // Test for built-in + const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val)); + let className; + if (builtInMatches && builtInMatches.length > 1) { + className = builtInMatches[1]; + } else { + // Failed to match the standard '[object ClassName]' + return toString.call(val); + } + if (className == 'Object') { + // we're a user defined class or Object + // JSON.stringify avoids problems with cycles, and is generally much + // easier than looping through ownProperties of `val`. + try { + return 'Object(' + JSON.stringify(val) + ')'; + } catch (_) { + return 'Object'; + } + } + // errors + if (val instanceof Error) { + return `${val.name}: ${val.message}\n${val.stack}`; + } + // TODO we could test for more things here, like `Set`s and `Map`s. + return className; +} +function __wbg_adapter_30(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7e1da13ea68de646(arg0, arg1); +} + +function __wbg_adapter_33(arg0, arg1, arg2) { + wasm.closure424_externref_shim(arg0, arg1, arg2); +} + +function takeFromExternrefTable0(idx) { + const value = wasm.__wbindgen_export_1.get(idx); + wasm.__externref_table_dealloc(idx); + return value; +} +function __wbg_adapter_38(arg0, arg1) { + const ret = wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h8d46569ab8075523_multivalue_shim(arg0, arg1); + if (ret[1]) { + throw takeFromExternrefTable0(ret[0]); + } +} + +function __wbg_adapter_41(arg0, arg1, arg2) { + wasm.closure507_externref_shim(arg0, arg1, arg2); +} + +function __wbg_adapter_590(arg0, arg1, arg2, arg3) { + wasm.closure550_externref_shim(arg0, arg1, arg2, arg3); +} + +const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"]; + +async function __wbg_load(module, imports) { + if (typeof Response === 'function' && module instanceof Response) { + if (typeof WebAssembly.instantiateStreaming === 'function') { + try { + return await WebAssembly.instantiateStreaming(module, imports); + + } catch (e) { + if (module.headers.get('Content-Type') != 'application/wasm') { + console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e); + + } else { + throw e; + } + } + } + + const bytes = await module.arrayBuffer(); + return await WebAssembly.instantiate(bytes, imports); + + } else { + const instance = await WebAssembly.instantiate(module, imports); + + if (instance instanceof WebAssembly.Instance) { + return { instance, module }; + + } else { + return instance; + } + } +} + +function __wbg_get_imports() { + const imports = {}; + imports.wbg = {}; + imports.wbg.__wbg_activeElement_367599fdfa7ad115 = function(arg0) { + const ret = arg0.activeElement; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_activeTexture_0f19d8acfa0a14c2 = function(arg0, arg1) { + arg0.activeTexture(arg1 >>> 0); + }; + imports.wbg.__wbg_activeTexture_460f2e367e813fb0 = function(arg0, arg1) { + arg0.activeTexture(arg1 >>> 0); + }; + imports.wbg.__wbg_addEventListener_84ae3eac6e15480a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4); + }, arguments) }; + imports.wbg.__wbg_altKey_c33c03aed82e4275 = function(arg0) { + const ret = arg0.altKey; + return ret; + }; + imports.wbg.__wbg_altKey_d7495666df921121 = function(arg0) { + const ret = arg0.altKey; + return ret; + }; + imports.wbg.__wbg_appendChild_8204974b7328bf98 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.appendChild(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_arrayBuffer_f18c144cd0125f07 = function(arg0) { + const ret = arg0.arrayBuffer(); + return ret; + }; + imports.wbg.__wbg_at_7d852dd9f194d43e = function(arg0, arg1) { + const ret = arg0.at(arg1); + return ret; + }; + imports.wbg.__wbg_attachShader_3d4eb6af9e3e7bd1 = function(arg0, arg1, arg2) { + arg0.attachShader(arg1, arg2); + }; + imports.wbg.__wbg_attachShader_94e758c8b5283eb2 = function(arg0, arg1, arg2) { + arg0.attachShader(arg1, arg2); + }; + imports.wbg.__wbg_bindBuffer_309c9a6c21826cf5 = function(arg0, arg1, arg2) { + arg0.bindBuffer(arg1 >>> 0, arg2); + }; + imports.wbg.__wbg_bindBuffer_f32f587f1c2962a7 = function(arg0, arg1, arg2) { + arg0.bindBuffer(arg1 >>> 0, arg2); + }; + imports.wbg.__wbg_bindTexture_a6e795697f49ebd1 = function(arg0, arg1, arg2) { + arg0.bindTexture(arg1 >>> 0, arg2); + }; + imports.wbg.__wbg_bindTexture_bc8eb316247f739d = function(arg0, arg1, arg2) { + arg0.bindTexture(arg1 >>> 0, arg2); + }; + imports.wbg.__wbg_bindVertexArrayOES_da8e7059b789629e = function(arg0, arg1) { + arg0.bindVertexArrayOES(arg1); + }; + imports.wbg.__wbg_bindVertexArray_6b4b88581064b71f = function(arg0, arg1) { + arg0.bindVertexArray(arg1); + }; + imports.wbg.__wbg_blendEquationSeparate_c1aa26a9a5c5267e = function(arg0, arg1, arg2) { + arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); + }; + imports.wbg.__wbg_blendEquationSeparate_f3d422e981d86339 = function(arg0, arg1, arg2) { + arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); + }; + imports.wbg.__wbg_blendFuncSeparate_483be8d4dd635340 = function(arg0, arg1, arg2, arg3, arg4) { + arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); + }; + imports.wbg.__wbg_blendFuncSeparate_dafeabfc1680b2ee = function(arg0, arg1, arg2, arg3, arg4) { + arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); + }; + imports.wbg.__wbg_blockSize_1490803190b57a34 = function(arg0) { + const ret = arg0.blockSize; + return ret; + }; + imports.wbg.__wbg_blur_c2ad8cc71bac3974 = function() { return handleError(function (arg0) { + arg0.blur(); + }, arguments) }; + imports.wbg.__wbg_body_942ea927546a04ba = function(arg0) { + const ret = arg0.body; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_bottom_79b03e9c3d6f4e1e = function(arg0) { + const ret = arg0.bottom; + return ret; + }; + imports.wbg.__wbg_bufferData_3261d3e1dd6fc903 = function(arg0, arg1, arg2, arg3) { + arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0); + }; + imports.wbg.__wbg_bufferData_33c59bf909ea6fd3 = function(arg0, arg1, arg2, arg3) { + arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0); + }; + imports.wbg.__wbg_buffer_09165b52af8c5237 = function(arg0) { + const ret = arg0.buffer; + return ret; + }; + imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) { + const ret = arg0.buffer; + return ret; + }; + imports.wbg.__wbg_button_f75c56aec440ea04 = function(arg0) { + const ret = arg0.button; + return ret; + }; + imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.call(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) { + const ret = arg0.call(arg1, arg2); + return ret; + }, arguments) }; + imports.wbg.__wbg_cancelAnimationFrame_089b48301c362fde = function() { return handleError(function (arg0, arg1) { + arg0.cancelAnimationFrame(arg1); + }, arguments) }; + imports.wbg.__wbg_changedTouches_3654bea4294f2e86 = function(arg0) { + const ret = arg0.changedTouches; + return ret; + }; + imports.wbg.__wbg_clearColor_d39507085c98a678 = function(arg0, arg1, arg2, arg3, arg4) { + arg0.clearColor(arg1, arg2, arg3, arg4); + }; + imports.wbg.__wbg_clearColor_f0fa029dfbcc1982 = function(arg0, arg1, arg2, arg3, arg4) { + arg0.clearColor(arg1, arg2, arg3, arg4); + }; + imports.wbg.__wbg_clearInterval_ad2594253cc39c4b = function(arg0, arg1) { + arg0.clearInterval(arg1); + }; + imports.wbg.__wbg_clear_62b9037b892f6988 = function(arg0, arg1) { + arg0.clear(arg1 >>> 0); + }; + imports.wbg.__wbg_clear_f8d5f3c348d37d95 = function(arg0, arg1) { + arg0.clear(arg1 >>> 0); + }; + imports.wbg.__wbg_clientX_5eb380a5f1fec6fd = function(arg0) { + const ret = arg0.clientX; + return ret; + }; + imports.wbg.__wbg_clientX_687c1a16e03e1f58 = function(arg0) { + const ret = arg0.clientX; + return ret; + }; + imports.wbg.__wbg_clientY_78d0605ac74642c2 = function(arg0) { + const ret = arg0.clientY; + return ret; + }; + imports.wbg.__wbg_clientY_d8b9c7f0c4e2e677 = function(arg0) { + const ret = arg0.clientY; + return ret; + }; + imports.wbg.__wbg_clipboardData_04bd9c1b0935d7e6 = function(arg0) { + const ret = arg0.clipboardData; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_clipboard_93f8aa8cc426db44 = function(arg0) { + const ret = arg0.clipboard; + return ret; + }; + imports.wbg.__wbg_colorMask_5e7c60b9c7a57a2e = function(arg0, arg1, arg2, arg3, arg4) { + arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); + }; + imports.wbg.__wbg_colorMask_6dac12039c7145ae = function(arg0, arg1, arg2, arg3, arg4) { + arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); + }; + imports.wbg.__wbg_compileShader_0ad770bbdbb9de21 = function(arg0, arg1) { + arg0.compileShader(arg1); + }; + imports.wbg.__wbg_compileShader_2307c9d370717dd5 = function(arg0, arg1) { + arg0.compileShader(arg1); + }; + imports.wbg.__wbg_contentBoxSize_638692469db816f2 = function(arg0) { + const ret = arg0.contentBoxSize; + return ret; + }; + imports.wbg.__wbg_contentRect_81407eb60e52248f = function(arg0) { + const ret = arg0.contentRect; + return ret; + }; + imports.wbg.__wbg_createBuffer_7a9ec3d654073660 = function(arg0) { + const ret = arg0.createBuffer(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_createBuffer_9886e84a67b68c89 = function(arg0) { + const ret = arg0.createBuffer(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_createElement_8c9931a732ee2fea = function() { return handleError(function (arg0, arg1, arg2) { + const ret = arg0.createElement(getStringFromWasm0(arg1, arg2)); + return ret; + }, arguments) }; + imports.wbg.__wbg_createObjectURL_6e98d2f9c7bd9764 = function() { return handleError(function (arg0, arg1) { + const ret = URL.createObjectURL(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_createProgram_8ff56c485f3233d0 = function(arg0) { + const ret = arg0.createProgram(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_createProgram_da203074cafb1038 = function(arg0) { + const ret = arg0.createProgram(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_createShader_4a256a8cc9c1ce4f = function(arg0, arg1) { + const ret = arg0.createShader(arg1 >>> 0); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_createShader_983150fb1243ee56 = function(arg0, arg1) { + const ret = arg0.createShader(arg1 >>> 0); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_createTexture_9c536c79b635fdef = function(arg0) { + const ret = arg0.createTexture(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_createTexture_bfaa54c0cd22e367 = function(arg0) { + const ret = arg0.createTexture(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_createVertexArrayOES_991b44f100f93329 = function(arg0) { + const ret = arg0.createVertexArrayOES(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_createVertexArray_e435029ae2660efd = function(arg0) { + const ret = arg0.createVertexArray(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_ctrlKey_1e826e468105ac11 = function(arg0) { + const ret = arg0.ctrlKey; + return ret; + }; + imports.wbg.__wbg_ctrlKey_cdbe8154dfb00d1f = function(arg0) { + const ret = arg0.ctrlKey; + return ret; + }; + imports.wbg.__wbg_dataTransfer_86283b0702a1aff1 = function(arg0) { + const ret = arg0.dataTransfer; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_data_e77bd5c125ecc8a8 = function(arg0, arg1) { + const ret = arg1.data; + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_debug_d3ae65bab60caa5b = function(arg0, arg1) { + console.debug(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg_deleteBuffer_7ed96e1bf7c02e87 = function(arg0, arg1) { + arg0.deleteBuffer(arg1); + }; + imports.wbg.__wbg_deleteBuffer_a7822433fc95dfb8 = function(arg0, arg1) { + arg0.deleteBuffer(arg1); + }; + imports.wbg.__wbg_deleteProgram_3fa626bbc0001eb7 = function(arg0, arg1) { + arg0.deleteProgram(arg1); + }; + imports.wbg.__wbg_deleteProgram_71a133c6d053e272 = function(arg0, arg1) { + arg0.deleteProgram(arg1); + }; + imports.wbg.__wbg_deleteShader_8d42f169deda58ac = function(arg0, arg1) { + arg0.deleteShader(arg1); + }; + imports.wbg.__wbg_deleteShader_c65a44796c5004d8 = function(arg0, arg1) { + arg0.deleteShader(arg1); + }; + imports.wbg.__wbg_deleteTexture_a30f5ca0163c4110 = function(arg0, arg1) { + arg0.deleteTexture(arg1); + }; + imports.wbg.__wbg_deleteTexture_bb82c9fec34372ba = function(arg0, arg1) { + arg0.deleteTexture(arg1); + }; + imports.wbg.__wbg_deltaMode_9bfd9fe3f6b4b240 = function(arg0) { + const ret = arg0.deltaMode; + return ret; + }; + imports.wbg.__wbg_deltaX_5c1121715746e4b7 = function(arg0) { + const ret = arg0.deltaX; + return ret; + }; + imports.wbg.__wbg_deltaY_f9318542caea0c36 = function(arg0) { + const ret = arg0.deltaY; + return ret; + }; + imports.wbg.__wbg_detachShader_ab39d8a19811cfa6 = function(arg0, arg1, arg2) { + arg0.detachShader(arg1, arg2); + }; + imports.wbg.__wbg_detachShader_cd3ab294e635ff90 = function(arg0, arg1, arg2) { + arg0.detachShader(arg1, arg2); + }; + imports.wbg.__wbg_devicePixelContentBoxSize_a6de82cb30d70825 = function(arg0) { + const ret = arg0.devicePixelContentBoxSize; + return ret; + }; + imports.wbg.__wbg_devicePixelRatio_68c391265f05d093 = function(arg0) { + const ret = arg0.devicePixelRatio; + return ret; + }; + imports.wbg.__wbg_disableVertexAttribArray_452cc9815fced7e4 = function(arg0, arg1) { + arg0.disableVertexAttribArray(arg1 >>> 0); + }; + imports.wbg.__wbg_disableVertexAttribArray_afd097fb465dc100 = function(arg0, arg1) { + arg0.disableVertexAttribArray(arg1 >>> 0); + }; + imports.wbg.__wbg_disable_2702df5b5da5dd21 = function(arg0, arg1) { + arg0.disable(arg1 >>> 0); + }; + imports.wbg.__wbg_disable_8b53998501a7a85b = function(arg0, arg1) { + arg0.disable(arg1 >>> 0); + }; + imports.wbg.__wbg_disconnect_ac3f4ba550970c76 = function(arg0) { + arg0.disconnect(); + }; + imports.wbg.__wbg_document_d249400bd7bd996d = function(arg0) { + const ret = arg0.document; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_drawElements_16199ef1cc58b16a = function(arg0, arg1, arg2, arg3, arg4) { + arg0.drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4); + }; + imports.wbg.__wbg_drawElements_65cb4b099bd7d4ac = function(arg0, arg1, arg2, arg3, arg4) { + arg0.drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4); + }; + imports.wbg.__wbg_elementFromPoint_be6286b8ec1ae1a2 = function(arg0, arg1, arg2) { + const ret = arg0.elementFromPoint(arg1, arg2); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_enableVertexAttribArray_607be07574298e5e = function(arg0, arg1) { + arg0.enableVertexAttribArray(arg1 >>> 0); + }; + imports.wbg.__wbg_enableVertexAttribArray_93c3d406a41ad6c7 = function(arg0, arg1) { + arg0.enableVertexAttribArray(arg1 >>> 0); + }; + imports.wbg.__wbg_enable_51114837e05ee280 = function(arg0, arg1) { + arg0.enable(arg1 >>> 0); + }; + imports.wbg.__wbg_enable_d183fef39258803f = function(arg0, arg1) { + arg0.enable(arg1 >>> 0); + }; + imports.wbg.__wbg_error_40892570b9472688 = function(arg0, arg1) { + let deferred0_0; + let deferred0_1; + try { + deferred0_0 = arg0; + deferred0_1 = arg1; + console.error(getStringFromWasm0(arg0, arg1)); + } finally { + wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); + } + }; + imports.wbg.__wbg_files_5f07ac9b6f9116a7 = function(arg0) { + const ret = arg0.files; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_files_790cda07a2445fac = function(arg0) { + const ret = arg0.files; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_focus_7d08b55eba7b368d = function() { return handleError(function (arg0) { + arg0.focus(); + }, arguments) }; + imports.wbg.__wbg_force_6e5acfdea2af0a4f = function(arg0) { + const ret = arg0.force; + return ret; + }; + imports.wbg.__wbg_generateMipmap_13d3d6406de35b14 = function(arg0, arg1) { + arg0.generateMipmap(arg1 >>> 0); + }; + imports.wbg.__wbg_generateMipmap_e3b21a330b500089 = function(arg0, arg1) { + arg0.generateMipmap(arg1 >>> 0); + }; + imports.wbg.__wbg_getAttribLocation_959c0150cdd39cac = function(arg0, arg1, arg2, arg3) { + const ret = arg0.getAttribLocation(arg1, getStringFromWasm0(arg2, arg3)); + return ret; + }; + imports.wbg.__wbg_getAttribLocation_9db82d01924fa43d = function(arg0, arg1, arg2, arg3) { + const ret = arg0.getAttribLocation(arg1, getStringFromWasm0(arg2, arg3)); + return ret; + }; + imports.wbg.__wbg_getBoundingClientRect_9073b0ff7574d76b = function(arg0) { + const ret = arg0.getBoundingClientRect(); + return ret; + }; + imports.wbg.__wbg_getComputedStyle_046dd6472f8e7f1d = function() { return handleError(function (arg0, arg1) { + const ret = arg0.getComputedStyle(arg1); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }, arguments) }; + imports.wbg.__wbg_getContext_e9cf379449413580 = function() { return handleError(function (arg0, arg1, arg2) { + const ret = arg0.getContext(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }, arguments) }; + imports.wbg.__wbg_getData_84cc441a50843727 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = arg1.getData(getStringFromWasm0(arg2, arg3)); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_getElementById_f827f0d6648718a8 = function(arg0, arg1, arg2) { + const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_getError_578ee28e31637d2f = function(arg0) { + const ret = arg0.getError(); + return ret; + }; + imports.wbg.__wbg_getError_d749701e28a45150 = function(arg0) { + const ret = arg0.getError(); + return ret; + }; + imports.wbg.__wbg_getExtension_e6c97409b224b5dc = function() { return handleError(function (arg0, arg1, arg2) { + const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }, arguments) }; + imports.wbg.__wbg_getExtension_ff0fb1398bcf28c3 = function() { return handleError(function (arg0, arg1, arg2) { + const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }, arguments) }; + imports.wbg.__wbg_getItem_17f98dee3b43fa7e = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = arg1.getItem(getStringFromWasm0(arg2, arg3)); + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_getParameter_1f0887a2b88e6d19 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.getParameter(arg1 >>> 0); + return ret; + }, arguments) }; + imports.wbg.__wbg_getParameter_e3429f024018310f = function() { return handleError(function (arg0, arg1) { + const ret = arg0.getParameter(arg1 >>> 0); + return ret; + }, arguments) }; + imports.wbg.__wbg_getProgramInfoLog_631c180b1b21c8ed = function(arg0, arg1, arg2) { + const ret = arg1.getProgramInfoLog(arg2); + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_getProgramInfoLog_a998105a680059db = function(arg0, arg1, arg2) { + const ret = arg1.getProgramInfoLog(arg2); + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_getProgramParameter_0c411f0cd4185c5b = function(arg0, arg1, arg2) { + const ret = arg0.getProgramParameter(arg1, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_getProgramParameter_360f95ff07ac068d = function(arg0, arg1, arg2) { + const ret = arg0.getProgramParameter(arg1, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_getPropertyValue_e623c23a05dfb30c = function() { return handleError(function (arg0, arg1, arg2, arg3) { + const ret = arg1.getPropertyValue(getStringFromWasm0(arg2, arg3)); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_getShaderInfoLog_7e7b38fb910ec534 = function(arg0, arg1, arg2) { + const ret = arg1.getShaderInfoLog(arg2); + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_getShaderInfoLog_f59c3112acc6e039 = function(arg0, arg1, arg2) { + const ret = arg1.getShaderInfoLog(arg2); + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_getShaderParameter_511b5f929074fa31 = function(arg0, arg1, arg2) { + const ret = arg0.getShaderParameter(arg1, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_getShaderParameter_6dbe0b8558dc41fd = function(arg0, arg1, arg2) { + const ret = arg0.getShaderParameter(arg1, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_getSupportedExtensions_3938cc3251d21f05 = function(arg0) { + const ret = arg0.getSupportedExtensions(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_getSupportedExtensions_8c007dbb54905635 = function(arg0) { + const ret = arg0.getSupportedExtensions(); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_getUniformLocation_657a2b6d102bd126 = function(arg0, arg1, arg2, arg3) { + const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_getUniformLocation_838363001c74dc21 = function(arg0, arg1, arg2, arg3) { + const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_get_3091cb4339203d1a = function(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_get_4095561f3d5ec806 = function(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_get_8edd839202d9f4db = function(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) { + const ret = arg0[arg1 >>> 0]; + return ret; + }; + imports.wbg.__wbg_hash_dd4b49269c385c8a = function() { return handleError(function (arg0, arg1) { + const ret = arg1.hash; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_height_1f8226c8f6875110 = function(arg0) { + const ret = arg0.height; + return ret; + }; + imports.wbg.__wbg_height_838cee19ba8597db = function(arg0) { + const ret = arg0.height; + return ret; + }; + imports.wbg.__wbg_hidden_d5c02c79a2b77bb6 = function(arg0) { + const ret = arg0.hidden; + return ret; + }; + imports.wbg.__wbg_host_9bd7b5dc07c48606 = function() { return handleError(function (arg0, arg1) { + const ret = arg1.host; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_hostname_8d7204884eb7378b = function() { return handleError(function (arg0, arg1) { + const ret = arg1.hostname; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_href_87d60a783a012377 = function() { return handleError(function (arg0, arg1) { + const ret = arg1.href; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_id_c65402eae48fb242 = function(arg0, arg1) { + const ret = arg1.id; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_identifier_59e0705aef81ff93 = function(arg0) { + const ret = arg0.identifier; + return ret; + }; + imports.wbg.__wbg_info_bc5786afd6182908 = function(arg0, arg1) { + console.info(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) { + const ret = arg0.inlineSize; + return ret; + }; + imports.wbg.__wbg_instanceof_Element_0af65443936d5154 = function(arg0) { + let result; + try { + result = arg0 instanceof Element; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_HtmlAnchorElement_1ff926b551076f86 = function(arg0) { + let result; + try { + result = arg0 instanceof HTMLAnchorElement; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_HtmlButtonElement_0def6a01e66b1942 = function(arg0) { + let result; + try { + result = arg0 instanceof HTMLButtonElement; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_HtmlCanvasElement_2ea67072a7624ac5 = function(arg0) { + let result; + try { + result = arg0 instanceof HTMLCanvasElement; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_HtmlElement_51378c201250b16c = function(arg0) { + let result; + try { + result = arg0 instanceof HTMLElement; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_HtmlInputElement_12d71bf2d15dd19e = function(arg0) { + let result; + try { + result = arg0 instanceof HTMLInputElement; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_ResizeObserverEntry_cb85a268a84783ba = function(arg0) { + let result; + try { + result = arg0 instanceof ResizeObserverEntry; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_ResizeObserverSize_4138fd53d59e1653 = function(arg0) { + let result; + try { + result = arg0 instanceof ResizeObserverSize; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_WebGl2RenderingContext_2b6045efeb76568d = function(arg0) { + let result; + try { + result = arg0 instanceof WebGL2RenderingContext; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_WebGlRenderingContext_b9cbe798424f6d4c = function(arg0) { + let result; + try { + result = arg0 instanceof WebGLRenderingContext; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) { + let result; + try { + result = arg0 instanceof Window; + } catch (_) { + result = false; + } + const ret = result; + return ret; + }; + imports.wbg.__wbg_isComposing_36511555ff1869a4 = function(arg0) { + const ret = arg0.isComposing; + return ret; + }; + imports.wbg.__wbg_isComposing_6e36768c82fd5a4f = function(arg0) { + const ret = arg0.isComposing; + return ret; + }; + imports.wbg.__wbg_isSecureContext_aedcf3816338189a = function(arg0) { + const ret = arg0.isSecureContext; + return ret; + }; + imports.wbg.__wbg_is_c7481c65e7e5df9e = function(arg0, arg1) { + const ret = Object.is(arg0, arg1); + return ret; + }; + imports.wbg.__wbg_item_aea4b8432b5457be = function(arg0, arg1) { + const ret = arg0.item(arg1 >>> 0); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_items_89c2afbece3a5d13 = function(arg0) { + const ret = arg0.items; + return ret; + }; + imports.wbg.__wbg_keyCode_237a8d1a040910b8 = function(arg0) { + const ret = arg0.keyCode; + return ret; + }; + imports.wbg.__wbg_key_7b5c6cb539be8e13 = function(arg0, arg1) { + const ret = arg1.key; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_lastModified_7a9e61b3961224b8 = function(arg0) { + const ret = arg0.lastModified; + return ret; + }; + imports.wbg.__wbg_left_e46801720267b66d = function(arg0) { + const ret = arg0.left; + return ret; + }; + imports.wbg.__wbg_length_1d5c829e9b2319d6 = function(arg0) { + const ret = arg0.length; + return ret; + }; + imports.wbg.__wbg_length_802483321c8130cf = function(arg0) { + const ret = arg0.length; + return ret; + }; + imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) { + const ret = arg0.length; + return ret; + }; + imports.wbg.__wbg_length_cfc862ec0ccc7ca0 = function(arg0) { + const ret = arg0.length; + return ret; + }; + imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) { + const ret = arg0.length; + return ret; + }; + imports.wbg.__wbg_linkProgram_067ee06739bdde81 = function(arg0, arg1) { + arg0.linkProgram(arg1); + }; + imports.wbg.__wbg_linkProgram_e002979fe36e5b2a = function(arg0, arg1) { + arg0.linkProgram(arg1); + }; + imports.wbg.__wbg_localStorage_1406c99c39728187 = function() { return handleError(function (arg0) { + const ret = arg0.localStorage; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }, arguments) }; + imports.wbg.__wbg_location_350d99456c2f3693 = function(arg0) { + const ret = arg0.location; + return ret; + }; + imports.wbg.__wbg_matchMedia_bf8807a841d930c1 = function() { return handleError(function (arg0, arg1, arg2) { + const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }, arguments) }; + imports.wbg.__wbg_matches_e9ca73fbf8a3a104 = function(arg0) { + const ret = arg0.matches; + return ret; + }; + imports.wbg.__wbg_matches_f579d2efd905ab4f = function(arg0) { + const ret = arg0.matches; + return ret; + }; + imports.wbg.__wbg_metaKey_0b25f7848e014cc8 = function(arg0) { + const ret = arg0.metaKey; + return ret; + }; + imports.wbg.__wbg_metaKey_e1dd47d709a80ce5 = function(arg0) { + const ret = arg0.metaKey; + return ret; + }; + imports.wbg.__wbg_name_28c43f147574bf08 = function(arg0, arg1) { + const ret = arg1.name; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_navigator_1577371c070c8947 = function(arg0) { + const ret = arg0.navigator; + return ret; + }; + imports.wbg.__wbg_new_0af70c8101def809 = function() { + const ret = new Error(); + return ret; + }; + imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) { + try { + var state0 = {a: arg0, b: arg1}; + var cb0 = (arg0, arg1) => { + const a = state0.a; + state0.a = 0; + try { + return __wbg_adapter_590(a, state0.b, arg0, arg1); + } finally { + state0.a = a; + } + }; + const ret = new Promise(cb0); + return ret; + } finally { + state0.a = state0.b = 0; + } + }; + imports.wbg.__wbg_new_405e22f390576ce2 = function() { + const ret = new Object(); + return ret; + }; + imports.wbg.__wbg_new_46e8134c3341d05a = function() { return handleError(function () { + const ret = new FileReader(); + return ret; + }, arguments) }; + imports.wbg.__wbg_new_5f34cc0c99fcc488 = function() { return handleError(function (arg0) { + const ret = new ResizeObserver(arg0); + return ret; + }, arguments) }; + imports.wbg.__wbg_new_78feb108b6472713 = function() { + const ret = new Array(); + return ret; + }; + imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) { + const ret = new Uint8Array(arg0); + return ret; + }; + imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) { + const ret = new Function(getStringFromWasm0(arg0, arg1)); + return ret; + }; + imports.wbg.__wbg_newwithbyteoffsetandlength_840f3c038856d4e9 = function(arg0, arg1, arg2) { + const ret = new Int8Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_newwithbyteoffsetandlength_999332a180064b59 = function(arg0, arg1, arg2) { + const ret = new Int32Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_newwithbyteoffsetandlength_d4a86622320ea258 = function(arg0, arg1, arg2) { + const ret = new Uint16Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) { + const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_newwithbyteoffsetandlength_e6b7e69acd4c7354 = function(arg0, arg1, arg2) { + const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_newwithbyteoffsetandlength_f1dead44d1fc7212 = function(arg0, arg1, arg2) { + const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_newwithbyteoffsetandlength_f254047f7e80e7ff = function(arg0, arg1, arg2) { + const ret = new Int16Array(arg0, arg1 >>> 0, arg2 >>> 0); + return ret; + }; + imports.wbg.__wbg_newwithrecordfromstrtoblobpromise_53d3e3611a048f1e = function() { return handleError(function (arg0) { + const ret = new ClipboardItem(arg0); + return ret; + }, arguments) }; + imports.wbg.__wbg_newwithu8arraysequenceandoptions_068570c487f69127 = function() { return handleError(function (arg0, arg1) { + const ret = new Blob(arg0, arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_now_2c95c9de01293173 = function(arg0) { + const ret = arg0.now(); + return ret; + }; + imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) { + const ret = arg0.now(); + return ret; + }; + imports.wbg.__wbg_observe_ed4adb1c245103c5 = function(arg0, arg1, arg2) { + arg0.observe(arg1, arg2); + }; + imports.wbg.__wbg_of_2eaf5a02d443ef03 = function(arg0) { + const ret = Array.of(arg0); + return ret; + }; + imports.wbg.__wbg_offsetTop_de8d0722bd1b211d = function(arg0) { + const ret = arg0.offsetTop; + return ret; + }; + imports.wbg.__wbg_open_6c3f5ef5a0204c5d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + const ret = arg0.open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }, arguments) }; + imports.wbg.__wbg_origin_7c5d649acdace3ea = function() { return handleError(function (arg0, arg1) { + const ret = arg1.origin; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_performance_7a3ffd0b17f663ad = function(arg0) { + const ret = arg0.performance; + return ret; + }; + imports.wbg.__wbg_performance_c185c0cdc2766575 = function(arg0) { + const ret = arg0.performance; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_pixelStorei_6aba5d04cdcaeaf6 = function(arg0, arg1, arg2) { + arg0.pixelStorei(arg1 >>> 0, arg2); + }; + imports.wbg.__wbg_pixelStorei_c8520e4b46f4a973 = function(arg0, arg1, arg2) { + arg0.pixelStorei(arg1 >>> 0, arg2); + }; + imports.wbg.__wbg_port_008e0061f421df1d = function() { return handleError(function (arg0, arg1) { + const ret = arg1.port; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_preventDefault_c2314fd813c02b3c = function(arg0) { + arg0.preventDefault(); + }; + imports.wbg.__wbg_protocol_faa0494a9b2554cb = function() { return handleError(function (arg0, arg1) { + const ret = arg1.protocol; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) { + const ret = arg0.push(arg1); + return ret; + }; + imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) { + queueMicrotask(arg0); + }; + imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) { + const ret = arg0.queueMicrotask; + return ret; + }; + imports.wbg.__wbg_readAsArrayBuffer_e51cb3c4fcc962de = function() { return handleError(function (arg0, arg1) { + arg0.readAsArrayBuffer(arg1); + }, arguments) }; + imports.wbg.__wbg_readPixels_51a0c02cdee207a5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { + arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); + }, arguments) }; + imports.wbg.__wbg_readPixels_a6cbb21794452142 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { + arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); + }, arguments) }; + imports.wbg.__wbg_readPixels_cd64c5a7b0343355 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { + arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); + }, arguments) }; + imports.wbg.__wbg_removeEventListener_056dfe8c3d6c58f9 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3); + }, arguments) }; + imports.wbg.__wbg_remove_e2d2659f3128c045 = function(arg0) { + arg0.remove(); + }; + imports.wbg.__wbg_requestAnimationFrame_d7fd890aaefc3246 = function() { return handleError(function (arg0, arg1) { + const ret = arg0.requestAnimationFrame(arg1); + return ret; + }, arguments) }; + imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) { + const ret = Promise.resolve(arg0); + return ret; + }; + imports.wbg.__wbg_result_dadbdcc801180072 = function() { return handleError(function (arg0) { + const ret = arg0.result; + return ret; + }, arguments) }; + imports.wbg.__wbg_right_54416a875852cab1 = function(arg0) { + const ret = arg0.right; + return ret; + }; + imports.wbg.__wbg_scissor_e917a332f67a5d30 = function(arg0, arg1, arg2, arg3, arg4) { + arg0.scissor(arg1, arg2, arg3, arg4); + }; + imports.wbg.__wbg_scissor_eb177ca33bf24a44 = function(arg0, arg1, arg2, arg3, arg4) { + arg0.scissor(arg1, arg2, arg3, arg4); + }; + imports.wbg.__wbg_search_c1c3bfbeadd96c47 = function() { return handleError(function (arg0, arg1) { + const ret = arg1.search; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_setAttribute_2704501201f15687 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + }, arguments) }; + imports.wbg.__wbg_setItem_212ecc915942ab0a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + }, arguments) }; + imports.wbg.__wbg_setProperty_f2cf326652b9a713 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + }, arguments) }; + imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) { + arg0.set(arg1, arg2 >>> 0); + }; + imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) { + const ret = Reflect.set(arg0, arg1, arg2); + return ret; + }, arguments) }; + imports.wbg.__wbg_setaccept_ff32b9ffcfbd061d = function(arg0, arg1, arg2) { + arg0.accept = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setautofocus_6ca6f0ab5a566c21 = function() { return handleError(function (arg0, arg1) { + arg0.autofocus = arg1 !== 0; + }, arguments) }; + imports.wbg.__wbg_setbox_2786f3ccea97cac4 = function(arg0, arg1) { + arg0.box = __wbindgen_enum_ResizeObserverBoxOptions[arg1]; + }; + imports.wbg.__wbg_setdownload_2af133b91eb04665 = function(arg0, arg1, arg2) { + arg0.download = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setheight_da683a33fa99843c = function(arg0, arg1) { + arg0.height = arg1 >>> 0; + }; + imports.wbg.__wbg_sethref_5d8095525d8737d4 = function(arg0, arg1, arg2) { + arg0.href = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setid_d1300d55a412791b = function(arg0, arg1, arg2) { + arg0.id = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setinnerHTML_31bde41f835786f7 = function(arg0, arg1, arg2) { + arg0.innerHTML = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setinnerText_b11978b8158639c4 = function(arg0, arg1, arg2) { + arg0.innerText = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setmultiple_1b3b3f243cda56b2 = function(arg0, arg1) { + arg0.multiple = arg1 !== 0; + }; + imports.wbg.__wbg_setonce_0cb80aea26303a35 = function(arg0, arg1) { + arg0.once = arg1 !== 0; + }; + imports.wbg.__wbg_setonclick_d0c6e25a994463d9 = function(arg0, arg1) { + arg0.onclick = arg1; + }; + imports.wbg.__wbg_setonload_1302417ca59f658b = function(arg0, arg1) { + arg0.onload = arg1; + }; + imports.wbg.__wbg_settabIndex_31adfec3c7eafbce = function(arg0, arg1) { + arg0.tabIndex = arg1; + }; + imports.wbg.__wbg_settype_2a902a4a235bb64a = function(arg0, arg1, arg2) { + arg0.type = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_settype_39ed370d3edd403c = function(arg0, arg1, arg2) { + arg0.type = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setvalue_6ad9ef6c692ea746 = function(arg0, arg1, arg2) { + arg0.value = getStringFromWasm0(arg1, arg2); + }; + imports.wbg.__wbg_setwidth_c5fed9f5e7f0b406 = function(arg0, arg1) { + arg0.width = arg1 >>> 0; + }; + imports.wbg.__wbg_shaderSource_72d3e8597ef85b67 = function(arg0, arg1, arg2, arg3) { + arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3)); + }; + imports.wbg.__wbg_shaderSource_ad0087e637a35191 = function(arg0, arg1, arg2, arg3) { + arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3)); + }; + imports.wbg.__wbg_shiftKey_2bebb3b703254f47 = function(arg0) { + const ret = arg0.shiftKey; + return ret; + }; + imports.wbg.__wbg_shiftKey_86e737105bab1a54 = function(arg0) { + const ret = arg0.shiftKey; + return ret; + }; + imports.wbg.__wbg_size_3808d41635a9c259 = function(arg0) { + const ret = arg0.size; + return ret; + }; + imports.wbg.__wbg_stack_6d08a71c4c0cb36c = function(arg0, arg1) { + const ret = arg1.stack; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() { + const ret = typeof global === 'undefined' ? null : global; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() { + const ret = typeof globalThis === 'undefined' ? null : globalThis; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() { + const ret = typeof self === 'undefined' ? null : self; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() { + const ret = typeof window === 'undefined' ? null : window; + return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); + }; + imports.wbg.__wbg_stopPropagation_11d220a858e5e0fb = function(arg0) { + arg0.stopPropagation(); + }; + imports.wbg.__wbg_style_fb30c14e5815805c = function(arg0) { + const ret = arg0.style; + return ret; + }; + imports.wbg.__wbg_texImage2D_57483314967bdd11 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); + }, arguments) }; + imports.wbg.__wbg_texImage2D_5f2835f02b1d1077 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); + }, arguments) }; + imports.wbg.__wbg_texImage2D_b8edcb5692f65f88 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); + }, arguments) }; + imports.wbg.__wbg_texParameteri_8112b26b3c360b7e = function(arg0, arg1, arg2, arg3) { + arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); + }; + imports.wbg.__wbg_texParameteri_ef50743cb94d507e = function(arg0, arg1, arg2, arg3) { + arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); + }; + imports.wbg.__wbg_texSubImage2D_c7951ed97252bdff = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); + }, arguments) }; + imports.wbg.__wbg_texSubImage2D_d52d1a0d3654c60b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); + }, arguments) }; + imports.wbg.__wbg_texSubImage2D_fbdf91268228c757 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { + arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); + }, arguments) }; + imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) { + const ret = arg0.then(arg1); + return ret; + }; + imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) { + const ret = arg0.then(arg1, arg2); + return ret; + }; + imports.wbg.__wbg_top_ec9fceb1f030f2ea = function(arg0) { + const ret = arg0.top; + return ret; + }; + imports.wbg.__wbg_touches_6831ee0099511603 = function(arg0) { + const ret = arg0.touches; + return ret; + }; + imports.wbg.__wbg_type_00566e0d2e337e2e = function(arg0, arg1) { + const ret = arg1.type; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_type_20c7c49b2fbe0023 = function(arg0, arg1) { + const ret = arg1.type; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_uniform1i_5ddd9d8ccbd390bb = function(arg0, arg1, arg2) { + arg0.uniform1i(arg1, arg2); + }; + imports.wbg.__wbg_uniform1i_ed95b6129dce4d84 = function(arg0, arg1, arg2) { + arg0.uniform1i(arg1, arg2); + }; + imports.wbg.__wbg_uniform2f_56af4e1731d87421 = function(arg0, arg1, arg2, arg3) { + arg0.uniform2f(arg1, arg2, arg3); + }; + imports.wbg.__wbg_uniform2f_b69b5369bc019bd5 = function(arg0, arg1, arg2, arg3) { + arg0.uniform2f(arg1, arg2, arg3); + }; + imports.wbg.__wbg_useProgram_473bf913989b6089 = function(arg0, arg1) { + arg0.useProgram(arg1); + }; + imports.wbg.__wbg_useProgram_9b2660f7bb210471 = function(arg0, arg1) { + arg0.useProgram(arg1); + }; + imports.wbg.__wbg_userAgent_12e9d8e62297563f = function() { return handleError(function (arg0, arg1) { + const ret = arg1.userAgent; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }, arguments) }; + imports.wbg.__wbg_value_91cbf0dd3ab84c1e = function(arg0, arg1) { + const ret = arg1.value; + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbg_vertexAttribPointer_550dc34903e3d1ea = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { + arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); + }; + imports.wbg.__wbg_vertexAttribPointer_7a2a506cdbe3aebc = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { + arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); + }; + imports.wbg.__wbg_viewport_a1b4d71297ba89af = function(arg0, arg1, arg2, arg3, arg4) { + arg0.viewport(arg1, arg2, arg3, arg4); + }; + imports.wbg.__wbg_viewport_e615e98f676f2d39 = function(arg0, arg1, arg2, arg3, arg4) { + arg0.viewport(arg1, arg2, arg3, arg4); + }; + imports.wbg.__wbg_warn_764c6c1d8f1e9651 = function(arg0, arg1) { + console.warn(getStringFromWasm0(arg0, arg1)); + }; + imports.wbg.__wbg_width_5dde457d606ba683 = function(arg0) { + const ret = arg0.width; + return ret; + }; + imports.wbg.__wbg_width_cdaf02311c1621d1 = function(arg0) { + const ret = arg0.width; + return ret; + }; + imports.wbg.__wbg_writeText_51c338e8ae4b85b9 = function(arg0, arg1, arg2) { + const ret = arg0.writeText(getStringFromWasm0(arg1, arg2)); + return ret; + }; + imports.wbg.__wbg_write_e357400b06c0ccf5 = function(arg0, arg1) { + const ret = arg0.write(arg1); + return ret; + }; + imports.wbg.__wbindgen_boolean_get = function(arg0) { + const v = arg0; + const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2; + return ret; + }; + imports.wbg.__wbindgen_cb_drop = function(arg0) { + const obj = arg0.original; + if (obj.cnt-- == 1) { + obj.a = 0; + return true; + } + const ret = false; + return ret; + }; + imports.wbg.__wbindgen_closure_wrapper1019 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 216, __wbg_adapter_30); + return ret; + }; + imports.wbg.__wbindgen_closure_wrapper1595 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 425, __wbg_adapter_33); + return ret; + }; + imports.wbg.__wbindgen_closure_wrapper1597 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 425, __wbg_adapter_33); + return ret; + }; + imports.wbg.__wbindgen_closure_wrapper1599 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 425, __wbg_adapter_38); + return ret; + }; + imports.wbg.__wbindgen_closure_wrapper1808 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 508, __wbg_adapter_41); + return ret; + }; + imports.wbg.__wbindgen_debug_string = function(arg0, arg1) { + const ret = debugString(arg1); + const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbindgen_in = function(arg0, arg1) { + const ret = arg0 in arg1; + return ret; + }; + imports.wbg.__wbindgen_init_externref_table = function() { + const table = wasm.__wbindgen_export_1; + const offset = table.grow(4); + table.set(0, undefined); + table.set(offset + 0, undefined); + table.set(offset + 1, null); + table.set(offset + 2, true); + table.set(offset + 3, false); + ; + }; + imports.wbg.__wbindgen_is_function = function(arg0) { + const ret = typeof(arg0) === 'function'; + return ret; + }; + imports.wbg.__wbindgen_is_undefined = function(arg0) { + const ret = arg0 === undefined; + return ret; + }; + imports.wbg.__wbindgen_memory = function() { + const ret = wasm.memory; + return ret; + }; + imports.wbg.__wbindgen_number_get = function(arg0, arg1) { + const obj = arg1; + const ret = typeof(obj) === 'number' ? obj : undefined; + getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); + }; + imports.wbg.__wbindgen_string_get = function(arg0, arg1) { + const obj = arg1; + const ret = typeof(obj) === 'string' ? obj : undefined; + var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len1 = WASM_VECTOR_LEN; + getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); + getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); + }; + imports.wbg.__wbindgen_string_new = function(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); + return ret; + }; + imports.wbg.__wbindgen_throw = function(arg0, arg1) { + throw new Error(getStringFromWasm0(arg0, arg1)); + }; + + return imports; +} + +function __wbg_init_memory(imports, memory) { + +} + +function __wbg_finalize_init(instance, module) { + wasm = instance.exports; + __wbg_init.__wbindgen_wasm_module = module; + cachedDataViewMemory0 = null; + cachedUint8ArrayMemory0 = null; + + + wasm.__wbindgen_start(); + return wasm; +} + +function initSync(module) { + if (wasm !== undefined) return wasm; + + + if (typeof module !== 'undefined') { + if (Object.getPrototypeOf(module) === Object.prototype) { + ({module} = module) + } else { + console.warn('using deprecated parameters for `initSync()`; pass a single object instead') + } + } + + const imports = __wbg_get_imports(); + + __wbg_init_memory(imports); + + if (!(module instanceof WebAssembly.Module)) { + module = new WebAssembly.Module(module); + } + + const instance = new WebAssembly.Instance(module, imports); + + return __wbg_finalize_init(instance, module); +} + +async function __wbg_init(module_or_path) { + if (wasm !== undefined) return wasm; + + + if (typeof module_or_path !== 'undefined') { + if (Object.getPrototypeOf(module_or_path) === Object.prototype) { + ({module_or_path} = module_or_path) + } else { + console.warn('using deprecated parameters for the initialization function; pass a single object instead') + } + } + + if (typeof module_or_path === 'undefined') { + module_or_path = new URL('log_viewer_bg.wasm', import.meta.url); + } + const imports = __wbg_get_imports(); + + if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) { + module_or_path = fetch(module_or_path); + } + + __wbg_init_memory(imports); + + const { instance, module } = await __wbg_load(await module_or_path, imports); + + return __wbg_finalize_init(instance, module); +} + +export { initSync }; +export default __wbg_init; diff --git a/log_viewer_bg.wasm b/log_viewer_bg.wasm new file mode 100644 index 0000000..8ac8437 Binary files /dev/null and b/log_viewer_bg.wasm differ diff --git a/assets/manifest.json b/manifest.json similarity index 100% rename from assets/manifest.json rename to manifest.json diff --git a/src/app.rs b/src/app.rs deleted file mode 100644 index cfb7838..0000000 --- a/src/app.rs +++ /dev/null @@ -1,1005 +0,0 @@ -use self::{data::Data, data_display_options::DataDisplayOptions}; -#[cfg(not(target_arch = "wasm32"))] -use anyhow::{bail, Context}; -use data::filter::{Comparator, FieldSpecifier, FilterConfig, FilterOn}; -use data_display_options::SizeUnits; -use egui::{ - text::{CCursor, CCursorRange}, - Align, KeyboardShortcut, Label, -}; -use egui_extras::{Column, TableBuilder}; -use shortcut::Shortcuts; -use std::{ - hash::{DefaultHasher, Hash, Hasher}, - path::PathBuf, - sync::{Arc, LazyLock, Mutex}, -}; -use tracing::{debug, error, info}; - -mod data; -mod data_display_options; -mod shortcut; - -#[derive(serde::Deserialize, serde::Serialize)] -#[serde(default)] // if we add new fields, give them default values when deserializing old state -pub struct LogViewerApp { - data: Option, - data_display_options: DataDisplayOptions, - start_open_path: Arc>>, - last_filename: Arc>>, - show_last_filename: bool, - track_item_align: Option, - shortcuts: Shortcuts, - should_scroll_to_end_on_load: bool, - /// Allows the user to dim the warning by clicking on it - should_highlight_field_warning: bool, - /// Max size in bytes of data before saving is disabled - max_data_save_size: Option, - - #[serde(skip)] - should_focus_search: bool, - #[serde(skip)] - should_scroll: bool, - #[serde(skip)] - loading_status: LoadingStatus, - #[serde(skip)] - last_save_hash: Option, -} - -impl Default for LogViewerApp { - fn default() -> Self { - Self { - data: Default::default(), - data_display_options: Default::default(), - start_open_path: Default::default(), - loading_status: Default::default(), - last_filename: Default::default(), - track_item_align: Some(Align::Center), - shortcuts: Default::default(), - should_scroll_to_end_on_load: Default::default(), - should_highlight_field_warning: true, - should_focus_search: Default::default(), - should_scroll: Default::default(), - show_last_filename: true, - last_save_hash: Default::default(), - max_data_save_size: Some(Self::DEFAULT_MAX_DATA_SAVE_SIZE), - } - } -} - -#[derive(Default)] -pub enum LoadingStatus { - #[default] - NotInProgress, - InProgress(poll_promise::Promise>), - Failed(String), - Success(String), -} - -impl LogViewerApp { - const DEFAULT_MAX_DATA_SAVE_SIZE: usize = 2 * 1024 * 1024; // 2MB - - /// Called once before the first frame. - pub fn new(cc: &eframe::CreationContext<'_>) -> Self { - // This is also where you can customize the look and feel of egui using - // `cc.egui_ctx.set_visuals` and `cc.egui_ctx.set_fonts`. - - // Load previous app state (if any). - // Note that you must enable the `persistence` feature for this to work. - if let Some(storage) = cc.storage { - info!("Storage found"); - return eframe::get_value(storage, eframe::APP_KEY).unwrap_or_else(|| { - info!("failed to load data"); - Default::default() - }); - } - - Default::default() - } - - fn show_log_lines(&mut self, ui: &mut egui::Ui) { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("show_log_lines"); - let text_height = egui::TextStyle::Body - .resolve(ui.style()) - .size - .max(ui.spacing().interact_size.y); - let default_text_color = ui.visuals().text_color(); - - let mut table_builder = TableBuilder::new(ui) - .striped(true) - .resizable(true) - // .stick_to_bottom(self.scroll_to_end_on_load) // Removed because it disabled scroll on move if selected - .cell_layout(egui::Layout::left_to_right(egui::Align::LEFT)); - - // Set all columns but the last to auto, last should be remainder which is set after the loop - let n = self.data_display_options.main_list_fields().len(); - for _ in 0..n - 1 { - table_builder = table_builder.column(Column::auto()); - } - table_builder = table_builder - .column(Column::remainder()) - .min_scrolled_height(0.0); - - // Make table clickable - table_builder = table_builder.sense(egui::Sense::click()); - - table_builder = match (self.should_scroll, self.data.as_ref()) { - (true, Some(data)) => { - self.should_scroll = false; - if let Some(selected_row) = data.selected_row { - table_builder.scroll_to_row(selected_row, self.track_item_align) - } else { - table_builder - } - } - (true, None) | (false, _) => { - self.should_scroll = false; - table_builder - } - }; - - let table = table_builder.header(text_height, |mut header| { - for field_name in self.data_display_options.main_list_fields() { - header.col(|ui| { - ui.strong(field_name); - }); - } - }); - - if let Some(data) = &mut self.data { - table.body(|body| { - let heights = data.row_heights(text_height); - - body.heterogeneous_rows(heights, |mut row| { - let row_index = row.index(); - let log_row = &data - .rows_iter() - .nth(row_index) - .expect("len was passed above should only be valid indices"); - - let emphasis_info = if let Some(selected_row) = data.selected_row { - row.set_selected(selected_row == row_index); - if let Some(emphasis_field_idx) = - *self.data_display_options.emphasize_if_matching_field_idx() - { - let field_name = - &self.data_display_options.main_list_fields()[emphasis_field_idx]; - Some(( - emphasis_field_idx, - data.rows_iter() - .nth(selected_row) - .expect("selected row should always be a valid index") - .field_value(field_name), - )) - } else { - None - } - } else { - None - }; - - for (field_idx, field_name) in self - .data_display_options - .main_list_fields() - .iter() - .enumerate() - { - let field_value = log_row.field_value(field_name); - - let should_emphasize_field = - Some((field_idx, field_value)) == emphasis_info; - - row.col(|ui| { - if should_emphasize_field { - ui.strong(field_value.display()); - } else { - let display_value = field_value.display(); - if let Some(coloring_rules) = - self.data_display_options.colored_fields.get(field_name) - { - let color = coloring_rules - .value_color_map - .get(&display_value) - .unwrap_or(&default_text_color); - ui.colored_label(*color, display_value); - } else { - ui.add(Label::new(display_value).truncate()); - } - } - }); - } - - // Check for click of a row - if row.response().clicked() { - if Some(row_index) == data.selected_row { - data.selected_row = None; - } else { - data.selected_row = Some(row_index); - } - } - }); - }); - } else { - // No data so empty body - table.body(|_| {}); - } - } - - fn show_log_details(&mut self, ui: &mut egui::Ui) { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("show_log_details"); - let Some(data) = self.data.as_mut() else { - ui.label("No data"); - return; - }; - - let Some((selected_values, fields_matching_filter)) = data - .selected_row_data_as_slice_with_filter_matching_fields( - self.data_display_options.common_fields(), - ) - else { - ui.label("No row Selected"); - return; - }; - - let color_matching_field = ui.visuals().strong_text_color(); - let color_normal_field = ui.visuals().text_color(); - let text_height = egui::TextStyle::Body - .resolve(ui.style()) - .size - .max(ui.spacing().interact_size.y); - - let mut table_builder = TableBuilder::new(ui) - .striped(true) - .resizable(true) - .cell_layout(egui::Layout::left_to_right(egui::Align::LEFT)) - .column(Column::auto()) - .column(Column::remainder()) - .min_scrolled_height(0.0); - - // Clicks not needed but adds highlight row - table_builder = table_builder.sense(egui::Sense::click()); - - let table = table_builder.header(text_height, |mut header| { - header.col(|ui| { - ui.strong("Field Name"); - }); - header.col(|ui| { - ui.strong("Field Value"); - }); - }); - - table.body(|body| { - // TODO 4: Figure out if calculating these values only once is worth it. - let heights: Vec = selected_values - .iter() - .map(|x| (1f32).max(x.1.lines().count() as f32) * text_height) - .collect(); - body.heterogeneous_rows(heights.iter().cloned(), |mut row| { - let row_index = row.index(); - let (title, value) = &selected_values[row_index]; - let color = if fields_matching_filter.contains(&row_index) { - color_matching_field - } else { - color_normal_field - }; - row.col(|ui| { - ui.colored_label(color, title); - }); - row.col(|ui| { - ui.colored_label(color, value.to_string()); - }); - }); - }); - } - - fn ui_loading(&mut self, ui: &mut egui::Ui) { - match &self.loading_status { - LoadingStatus::NotInProgress => { - self.data_load_ui(ui); - ui.separator(); - self.navigation_and_filtering_ui(ui); - } - LoadingStatus::InProgress(promise) => { - if promise.ready().is_some() { - let mut temp = LoadingStatus::default(); - std::mem::swap(&mut temp, &mut self.loading_status); - let LoadingStatus::InProgress(owned_promise) = temp else { - unreachable!("we are sure of this because we just did a match on this") - }; - self.loading_status = *owned_promise.block_and_take(); // We know the promise is ready at this point - } else { - ui.spinner(); - } - } - LoadingStatus::Failed(err_msg) => { - let msg = format!("Loading failed: {err_msg}"); - if ui.button("Clear Error Status").clicked() { - self.loading_status = LoadingStatus::NotInProgress; - } - ui.colored_label(ui.visuals().error_fg_color, msg); - } - LoadingStatus::Success(data) => { - self.loading_status = match Data::try_from((&self.data_display_options, &data[..])) - { - Ok(mut data) => { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("swap_data_after_load"); - if let Some(old_data) = self.data.as_mut() { - // Preserve settings across loads of the data - data.take_config(old_data, self.data_display_options.common_fields()); - } - self.data = Some(data); - if self.should_scroll_to_end_on_load { - self.move_selected_last(); - } else { - self.should_scroll = true; - } - LoadingStatus::NotInProgress - } - Err(e) => LoadingStatus::Failed(clean_msg(format!("{e:?}"))), - } - } - } - } - - fn initiate_loading(&self, ctx: egui::Context) -> LoadingStatus { - let start_open_path = Arc::clone(&self.start_open_path); - let last_filename = Arc::clone(&self.last_filename); - LoadingStatus::InProgress(execute(async move { - let mut dialog = rfd::AsyncFileDialog::new(); - if let Some(path) = start_open_path.lock().unwrap().as_mut() { - dialog = dialog.set_directory(path); - } - let Some(file) = dialog.pick_file().await else { - // user canceled loading - return Box::new(LoadingStatus::NotInProgress); - }; - #[cfg(not(target_arch = "wasm32"))] - if let Some(parent) = file.path().parent() { - *start_open_path.lock().unwrap() = Some(PathBuf::from(parent)); - } - *last_filename.lock().unwrap() = Some(PathBuf::from(file.file_name())); - let text = file.read().await; - - // Uncomment the following line to simulate taking long to load, only works on native - // tokio::time::sleep(tokio::time::Duration::from_secs(2)).await; - - // If not present screen will not refresh until next paint (comment out to test, works better with the sleep above to demonstrate) - ctx.request_repaint(); - - Box::new(match String::from_utf8(text) { - Ok(val) => LoadingStatus::Success(val), - Err(e) => LoadingStatus::Failed(format!("{e}")), - }) - })) - } - - fn ui_options(&mut self, ui: &mut egui::Ui) { - ui.collapsing("Options", |ui| { - ui.checkbox(&mut self.show_last_filename, "Show last filename"); - ui.checkbox( - &mut self.should_scroll_to_end_on_load, - "Scroll to end on load", - ) - .on_hover_text(shortcut_hint_text( - ui, - "Only has an effect when a new file is loaded", - &self.shortcuts.auto_scroll, - )); - ui.horizontal(|ui| { - ui.label("Item align:"); - self.should_scroll |= ui - .radio_value(&mut self.track_item_align, Some(Align::Min), "Top") - .clicked(); - self.should_scroll |= ui - .radio_value(&mut self.track_item_align, Some(Align::Center), "Center") - .clicked(); - self.should_scroll |= ui - .radio_value(&mut self.track_item_align, Some(Align::Max), "Bottom") - .clicked(); - self.should_scroll |= ui - .radio_value(&mut self.track_item_align, None, "None (Bring into view)") - .clicked(); - }); - ui.horizontal(|ui| { - let mut show_row_size = self.data_display_options.row_size_config.is_some(); - ui.checkbox(&mut show_row_size, "Show row size"); - match ( - show_row_size, - self.data_display_options.row_size_config.is_some(), - ) { - (true, true) | (false, false) => {} - (true, false) => { - self.data_display_options.row_size_config = Some(Default::default()) - } - (false, true) => self.data_display_options.row_size_config = None, - } - - if let Some(row_size) = self.data_display_options.row_size_config.as_mut() { - ui.separator(); - ui.label("Field Name: "); - ui.text_edit_singleline(&mut row_size.field_name); - ui.separator(); - egui::ComboBox::from_label("Row Size Unit") - .selected_text(row_size.units) - .show_ui(ui, |ui| { - ui.selectable_value( - &mut row_size.units, - SizeUnits::Bytes, - SizeUnits::Bytes, - ); - ui.selectable_value(&mut row_size.units, SizeUnits::KB, SizeUnits::KB); - ui.selectable_value(&mut row_size.units, SizeUnits::MB, SizeUnits::MB); - ui.selectable_value(&mut row_size.units, SizeUnits::GB, SizeUnits::GB); - ui.selectable_value(&mut row_size.units, SizeUnits::TB, SizeUnits::TB); - ui.selectable_value( - &mut row_size.units, - SizeUnits::Auto, - SizeUnits::Auto, - ); - }); - } - }); - - ui.horizontal(|ui| { - let mut has_max_data_size_for_save = self.max_data_save_size.is_some(); - ui.checkbox( - &mut has_max_data_size_for_save, - "Enable Max Data Size To Save", - ); - match ( - has_max_data_size_for_save, - self.max_data_save_size.is_some(), - ) { - (true, true) | (false, false) => {} - (true, false) => { - self.max_data_save_size = Some(Self::DEFAULT_MAX_DATA_SAVE_SIZE) - } - (false, true) => self.max_data_save_size = None, - } - - if let Some(max_data_save_size) = self.max_data_save_size.as_mut() { - ui.label(format!( - "Allowed Size: {}", - SizeUnits::Auto.convert_trimmed(*max_data_save_size) - )); - ui.add( - egui::Slider::new(max_data_save_size, 0..=100 * 1024 * 1024) - .step_by(1024.0), - ); - } - }); - }); - } - - fn move_selected_prev(&mut self) { - if let Some(data) = self.data.as_mut() { - data.move_selected_to_prev(); - self.should_scroll = true; - } - } - - fn move_selected_next(&mut self) { - if let Some(data) = self.data.as_mut() { - data.move_selected_to_next(); - self.should_scroll = true; - } - } - - fn move_selected_first(&mut self) { - if let Some(data) = self.data.as_mut() { - data.move_selected_to_first(); - self.should_scroll = true; - } - } - - fn move_selected_last(&mut self) { - if let Some(data) = self.data.as_mut() { - data.move_selected_to_last(); - self.should_scroll = true; - } - } - - fn ui_help(&mut self, ui: &mut egui::Ui) { - ui.collapsing("Help", |ui| { - ui.label( - "- Text is selectable just hover over it for a short time if you want to copy", - ); - ui.label("- Most display settings are only applied on load and will require the data to be reloaded") - }); - } - - #[cfg(not(target_arch = "wasm32"))] - /// Attempts to read the contents of the last loaded file and return it in a loading status otherwise returns an error loading status - fn reload_file(&self) -> LoadingStatus { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("reload_file"); - // TODO 5: Determine if this should spawn a task to do the load - let Some(folder) = self.start_open_path.lock().unwrap().clone() else { - return LoadingStatus::Failed("no staring folder available".into()); - }; - let Some(filename) = self.last_filename.lock().unwrap().clone() else { - return LoadingStatus::Failed("no last filename available".into()); - }; - let file_path = folder.join(filename); - match std::fs::read_to_string(file_path) { - Ok(val) => LoadingStatus::Success(val), - Err(e) => LoadingStatus::Failed(format!("error loading file: {e:?}")), - } - } - - #[cfg(not(target_arch = "wasm32"))] - fn load_most_recent_file(&self) -> LoadingStatus { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("load_most_recent_file"); - // TODO 5: Determine if this should spawn a task to do the load (might be able to reuse the normal load) - let Some(folder) = self.start_open_path.lock().unwrap().clone() else { - return LoadingStatus::Failed("unable to find starting folder".into()); - }; - match get_most_recent_file(&folder) { - Ok(path) => match std::fs::read_to_string(&path) { - Ok(val) => { - *self.last_filename.lock().unwrap() = - Some(PathBuf::from(path.file_name().unwrap())); - LoadingStatus::Success(val) - } - Err(e) => LoadingStatus::Failed(format!("error loading file: {e:?}")), - }, - Err(e) => LoadingStatus::Failed(format!( - "unable to determine most recent file in starting directory '{}'. Error: {e}", - folder.display() - )), - } - } - - /// These shortcuts are always enabled - fn check_global_shortcuts(&mut self, ui: &mut egui::Ui) { - if ui.input_mut(|i| i.consume_shortcut(&self.shortcuts.search)) { - self.focus_search_text_edit(); - } - if ui.input_mut(|i| i.consume_shortcut(&self.shortcuts.auto_scroll)) { - self.should_scroll_to_end_on_load = !self.should_scroll_to_end_on_load; - } - } - - fn navigation_and_filtering_ui(&mut self, ui: &mut egui::Ui) { - ui.horizontal(|ui| { - self.navigation_ui(ui); - ui.separator(); - self.filtering_ui(ui); - }); - ui.horizontal(|ui| { - self.unfilter_ui(ui); - }); - } - - fn filtering_ui(&mut self, ui: &mut egui::Ui) { - if let Some(data) = self.data.as_mut() { - ui.label("Filter:"); - let mut is_filter_enabled = data.filter.is_some(); - ui.checkbox(&mut is_filter_enabled, ""); - match (is_filter_enabled, data.filter.is_some()) { - (false, false) | (true, true) => {} // Already match - (true, false) => data.filter = Some(Default::default()), - (false, true) => { - data.unfilter(); - data.filter = None; - self.should_scroll = true; - } - } - let mut should_apply_filter = false; - if is_filter_enabled && shortcut_button(ui, "Apply", "", &self.shortcuts.apply_filter) { - should_apply_filter = true; - } - - if let Some(filter) = data.filter.as_mut() { - let FilterConfig { - search_key, - filter_on, - is_case_sensitive, - comparator, - } = filter; - - ui.label("Search Key: "); - let mut search_key_text_edit = egui::TextEdit::singleline(search_key).show(ui); - if self.should_focus_search { - self.should_focus_search = false; - - // Set focus on edit - search_key_text_edit.response.request_focus(); - - // Select all text - search_key_text_edit - .state - .cursor - .set_char_range(Some(CCursorRange::two( - CCursor::new(0), - CCursor::new(search_key.len()), - ))); - - // Apply selection changes - search_key_text_edit - .state - .store(ui.ctx(), search_key_text_edit.response.id); - } - if search_key_text_edit.response.lost_focus() - && ui.input(|i| i.key_pressed(egui::Key::Enter)) - { - should_apply_filter = true; - } - - ui.spacing(); - ui.checkbox(is_case_sensitive, "Case Sensitive"); - - ui.spacing(); - egui::ComboBox::from_label("") - .selected_text(format!("{}", comparator)) - .show_ui(ui, |ui| { - ui.selectable_value(comparator, Comparator::LessThan, "Less than"); - ui.selectable_value( - comparator, - Comparator::LessThanEqual, - "Less than equal", - ); - ui.selectable_value(comparator, Comparator::Equal, "Equal"); - ui.selectable_value(comparator, Comparator::GreaterThan, "Greater than"); - ui.selectable_value( - comparator, - Comparator::GreaterThanEqual, - "Greater than equal", - ); - ui.selectable_value(comparator, Comparator::NotEqual, "Not equal"); - ui.selectable_value(comparator, Comparator::Contains, "Contains"); - ui.selectable_value(comparator, Comparator::NotContains, "Not contains"); - }); - - ui.spacing(); - let mut is_any = filter_on.is_any(); - ui.toggle_value(&mut is_any, "Any"); - if is_any && !filter_on.is_any() { - // Toggled on - *filter_on = FilterOn::Any; - } - - let mut is_field = filter_on.is_field(); - ui.toggle_value(&mut is_field, "Field"); - if is_field && !filter_on.is_field() { - // Toggled on - *filter_on = FilterOn::Field(Default::default()); - } - - if let FilterOn::Field(FieldSpecifier { name }) = filter_on { - ui.spacing(); - if ui - .add(egui::TextEdit::singleline(name).hint_text("Name")) - .lost_focus() - && ui.input(|i| i.key_pressed(egui::Key::Enter)) - { - should_apply_filter = true; - } - - let color = if self.should_highlight_field_warning { - ui.visuals().warn_fg_color - } else { - ui.visuals().text_color() - }; - let hint_text = if self.should_highlight_field_warning { - "Click to DIM warning" - } else { - "Click to Highlight warning" - }; - // TODO 4: Add an option to select how fields are filter and not only exact match - if ui - .colored_label(color, "(Field filtering enabled)") - .on_hover_text(hint_text) - .clicked() - { - self.should_highlight_field_warning = !self.should_highlight_field_warning; - }; - } - } - if should_apply_filter { - data.apply_filter(self.data_display_options.common_fields()); - } - } - } - - fn navigation_ui(&mut self, ui: &mut egui::Ui) { - ui.label("Nav:"); - if shortcut_button(ui, "⏪", "First", &self.shortcuts.first) { - self.move_selected_first(); - } - if shortcut_button(ui, "⬆", "Previous", &self.shortcuts.prev) { - self.move_selected_prev(); - } - if shortcut_button(ui, "⬇", "Next", &self.shortcuts.next) { - self.move_selected_next(); - } - if shortcut_button(ui, "⏩", "Last", &self.shortcuts.last) { - self.move_selected_last(); - } - } - fn data_load_ui(&mut self, ui: &mut egui::Ui) { - ui.horizontal(|ui| { - if shortcut_button(ui, "📂 Open log file...", "", &self.shortcuts.open) { - self.loading_status = self.initiate_loading(ui.ctx().clone()); - } - #[cfg(not(target_arch = "wasm32"))] - { - if shortcut_button(ui, "Reload", "", &self.shortcuts.reload) { - self.loading_status = self.reload_file(); - } - if shortcut_button(ui, "Load Most Recent File", "", &self.shortcuts.load_latest) { - self.loading_status = self.load_most_recent_file(); - } - } - if ui.button("Clear Data").clicked() { - self.data = None; - } - - if self.show_last_filename { - if let Some(filename) = self.last_filename.lock().unwrap().as_ref() { - let _label = ui.label(format!("Filename: {}", filename.display())); - #[cfg(not(target_arch = "wasm32"))] - if let Some(folder) = self.start_open_path.lock().unwrap().as_ref() { - _label.on_hover_text(folder.display().to_string()); - } - } - } - if let Some(data) = self.data.as_ref() { - let row_count_text = - match (data.is_filtered(), data.len(), data.total_len_unfiltered()) { - (true, filtered_len, total_len) => format!( - "{} of {}", - as_string_with_separators(filtered_len), - as_string_with_separators(total_len) - ), - (false, _, total_len) => as_string_with_separators(total_len), - }; - ui.label(format!("# Rows: {row_count_text}")); - let size_text = format!("Size: {}", data.file_size_display()); - if self.does_data_exceeded_max_size() { - ui.colored_label(ui.visuals().warn_fg_color, size_text) - .on_hover_text("Save disabled because data size is over max set"); - } else { - ui.label(size_text); - } - } - }); - } - - fn focus_search_text_edit(&mut self) { - if let Some(data) = self.data.as_mut() { - data.filter.get_or_insert(Default::default()); // Create filter if it doesn't exist - self.should_focus_search = true; - } - } - - fn unfilter_ui(&mut self, ui: &mut egui::Ui) { - if let Some(data) = self.data.as_mut() { - if data.is_filtered() { - ui.label(format!("Applied Filter: {}", data.applied_filter_display())); - ui.separator(); - if shortcut_button(ui, "Unfilter", "Clears Filter", &self.shortcuts.unfilter) { - data.unfilter(); - self.should_scroll = true; - } - } - } - } - - fn is_changed_since_last_save(&mut self) -> bool { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("is_changed_since_last_save"); - let as_ron = match ron::to_string(&self) { - Ok(s) => s, - Err(err_msg) => { - error!(?err_msg, "failed to serialize app data"); - return true; - } - }; - let mut hasher = DefaultHasher::new(); - as_ron.hash(&mut hasher); - let new_hash = hasher.finish(); - if let Some(&old_hash) = self.last_save_hash.as_ref() { - if old_hash == new_hash { - return false; - } - } - self.last_save_hash = Some(new_hash); - true - } - - fn should_save(&mut self) -> bool { - !self.does_data_exceeded_max_size() && self.is_changed_since_last_save() - } - - fn does_data_exceeded_max_size(&self) -> bool { - if let (Some(data), Some(max_size)) = (self.data.as_ref(), self.max_data_save_size.as_ref()) - { - &data.file_size_as_bytes > max_size - } else { - false - } - } -} - -#[cfg(not(target_arch = "wasm32"))] -fn get_most_recent_file(folder: &PathBuf) -> anyhow::Result { - let max = std::fs::read_dir(folder) - .context("failed to get directory listing")? - .map(|x| Ok(x.context("failed to open read_dir path")?.path())) - .filter(|x| x.as_ref().is_ok_and(|x| x.is_file())) - .map( - |x: anyhow::Result| -> anyhow::Result<(std::time::SystemTime, PathBuf)> { - let path = x?; - Ok(( - std::fs::metadata(&path) - .with_context(|| format!("failed to read file meta data. Path: {path:?}"))? - .modified() - .with_context(|| format!("failed to get modified time. Path: {path:?}"))?, - path, - )) - }, - ) - .collect::>>()? - .into_iter() - .max(); - if let Some((_, path)) = max { - Ok(path) - } else { - bail!("no files found") - } -} - -#[cfg(not(target_arch = "wasm32"))] -fn execute> + 'static + Send>( - f: F, -) -> poll_promise::Promise> { - poll_promise::Promise::spawn_async(f) -} - -#[cfg(target_arch = "wasm32")] -fn execute> + 'static>( - f: F, -) -> poll_promise::Promise> { - poll_promise::Promise::spawn_local(f) -} - -impl eframe::App for LogViewerApp { - /// Called by the frame work to save state before shutdown. - fn save(&mut self, storage: &mut dyn eframe::Storage) { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("eframe::App::save"); - if self.should_save() { - info!("Saving data"); - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("Saving App State"); - eframe::set_value(storage, eframe::APP_KEY, self); - } else { - debug!("Save skipped"); - } - } - - /// Called each time the UI needs repainting, which may be many times per second. - fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("update_loop"); - egui::TopBottomPanel::top("top_panel").show(ctx, |ui| { - // The top panel is often a good place for a menu bar: - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("top_panel"); - - self.check_global_shortcuts(ui); - - egui::menu::bar(ui, |ui| { - // NOTE: no File->Quit on web pages! - let is_web = cfg!(target_arch = "wasm32"); - if !is_web { - ui.menu_button("File", |ui| { - if ui.button("Quit").clicked() { - ctx.send_viewport_cmd(egui::ViewportCommand::Close); - } - }); - ui.add_space(16.0); - } - - egui::widgets::global_theme_preference_buttons(ui); - }); - }); - - egui::CentralPanel::default().show(ctx, |ui| { - // The central panel the region left after adding TopPanel's and SidePanel's - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("outer_central_panel"); - static HEADING: LazyLock<&'static str> = - LazyLock::new(|| format!("Log Viewer {}", env!("CARGO_PKG_VERSION")).leak()); - ui.heading(*HEADING); - ui.separator(); - self.ui_loading(ui); - ui.separator(); - self.ui_options(ui); - ui.separator(); - self.ui_help(ui); - ui.separator(); - - const MIN_LOG_LINES_SIZE: f32 = 100.0; - let max_details_height = ui.available_height() - MIN_LOG_LINES_SIZE; - - egui::TopBottomPanel::bottom("details_panel") - .resizable(true) - .default_height(200.) - .max_height(max_details_height) - .min_height(60.) - .show_inside(ui, |ui| { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("bottom_panel"); - ui.vertical_centered(|ui| { - ui.heading("Details"); - }); - egui::ScrollArea::horizontal() - .id_salt("details area") - .show(ui, |ui| { - ui.push_id("table details", |ui| self.show_log_details(ui)); - }); - if ui.available_height() > 0.0 { - ui.allocate_space(ui.available_size()); - } - }); - - egui::CentralPanel::default().show_inside(ui, |ui| { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("inner_central_panel"); - egui::ScrollArea::horizontal() - .id_salt("log lines") - .show(ui, |ui| { - ui.push_id("table log lines", |ui| self.show_log_lines(ui)); - }); - }); - }); - } -} - -pub fn calculate_hash(t: &T) -> u64 { - let mut s = DefaultHasher::new(); - t.hash(&mut s); - s.finish() -} - -/// Returns true if the button is clicked or the shortcut is pressed -/// -/// Note: This makes it the case that the code for both the button and the shortcut press will do the same thing and you cannot use the shortcut to bypass the button not showing -fn shortcut_button( - ui: &mut egui::Ui, - caption: impl Into, - hint_msg: &str, - shortcut: &KeyboardShortcut, -) -> bool { - ui.button(caption) - .on_hover_text(shortcut_hint_text(ui, hint_msg, shortcut)) - .clicked() - || ui.input_mut(|i| i.consume_shortcut(shortcut)) -} - -fn shortcut_hint_text(ui: &mut egui::Ui, hint_msg: &str, shortcut: &KeyboardShortcut) -> String { - let space = if hint_msg.is_empty() { "" } else { " " }; - format!("{hint_msg}{space}({})", ui.ctx().format_shortcut(shortcut)) -} - -fn as_string_with_separators(value: usize) -> String { - value - .to_string() - .as_bytes() - .rchunks(3) - .rev() - .map(std::str::from_utf8) - .collect::, _>>() - .unwrap() - .join(",") -} - -fn clean_msg>(msg: S) -> String { - msg.as_ref().replace(r"\n", "\n").replace(r#"\""#, "\"") -} diff --git a/src/app/data.rs b/src/app/data.rs deleted file mode 100644 index 740d920..0000000 --- a/src/app/data.rs +++ /dev/null @@ -1,486 +0,0 @@ -use super::{ - calculate_hash, - data_display_options::{DataDisplayOptions, LevelConversion, RowParseErrorHandling, SizeUnits}, -}; -use anyhow::Context; -use data_iter::DataIter; -use filter::{FieldSpecifier, FilterConfig}; -use serde_json::Value; -use std::{ - borrow::Cow, - collections::{BTreeMap, BTreeSet}, -}; -use tracing::warn; - -mod data_iter; -pub mod filter; - -type RowSlice<'a> = &'a [(String, String)]; - -#[derive(serde::Deserialize, serde::Serialize, Default, Debug, PartialEq, Eq)] -#[serde(default)] -pub struct Data { - pub selected_row: Option, - pub filter: Option, - rows: Vec, - filtered_rows: Option>, - applied_filter: Option, - pub file_size_as_bytes: usize, -} - -#[derive(serde::Deserialize, serde::Serialize, Default, Debug, PartialEq, Eq, Clone)] -pub struct LogRow { - data: BTreeMap, - #[serde(skip)] - cached_display_list: Option, -} - -#[derive(Default, Debug, PartialEq, Eq, Clone)] -struct CachedDisplayInfo { - data: Vec<(String, String)>, - common_fields_hash: u64, -} - -#[derive(Debug, PartialEq, Eq, Clone, Copy)] -pub enum FieldContent<'a> { - Present(&'a serde_json::Value), - Missing, -} - -impl FieldContent<'_> { - pub const TEXT_FOR_EMPTY: &'static str = "[ --- ]"; - - pub fn display(&self) -> String { - // TODO 4: Revisit implementation to see if a more efficient way can be found (should be benchmarked to see if it's worth it) - match self { - FieldContent::Present(val) => { - if let Some(s) = val.as_str() { - s.to_string() - } else { - val.to_string() - } - } - FieldContent::Missing => Self::TEXT_FOR_EMPTY.to_string(), - } - } -} - -impl LogRow { - pub(crate) fn field_value(&self, field_name: &str) -> FieldContent<'_> { - match self.data.get(field_name) { - Some(value) => FieldContent::Present(value), - None => FieldContent::Missing, - } - } - - pub fn as_slice(&mut self, common_fields: &BTreeSet) -> RowSlice<'_> { - self.ensure_cache_is_populated(common_fields); - - &self - .cached_display_list - .get_or_insert_with(|| { - unreachable!("should have been initialized above if it was empty") - }) - .data - } - - fn ensure_cache_is_populated(&mut self, common_fields: &BTreeSet) { - let common_fields_hash = calculate_hash(common_fields); - - if let Some(cache) = self.cached_display_list.as_ref() { - if cache.common_fields_hash != common_fields_hash { - // Hash changed cache no longer valid - self.cached_display_list = None; - } - } - - if self.cached_display_list.is_none() { - // Build data for sorting - let mut data: Vec<(bool, (String, String))> = self - .data - .iter() - .map(|(k, v)| { - ( - common_fields.contains(k), - (k.clone(), FieldContent::Present(v).display()), - ) - }) // Use display to keep formatting consistent - .collect(); - - // Add separator for common fields - data.push(( - true, - ( - format!(" {}", FieldContent::TEXT_FOR_EMPTY), // prefixed with a leading space so it should end up at top of the common section - FieldContent::TEXT_FOR_EMPTY.to_string(), - ), - )); - - // Sort data based on common fields (to group them at the bottom) - data.sort_unstable(); - - // Remove extra info that was used for sorting - let data = data.into_iter().map(|x| x.1).collect(); - - self.cached_display_list = Some(CachedDisplayInfo { - data, - common_fields_hash, - }); - } - } - - /// Adds the value passed at the key if the key does not exist - fn or_insert(&mut self, key: String, value: Value) { - self.data.entry(key).or_insert(value); - } -} - -impl Data { - pub fn file_size_display(&self) -> String { - SizeUnits::Auto.convert_trimmed(self.file_size_as_bytes) - } - - pub fn rows_iter(&self) -> impl Iterator { - DataIter::new(self) - } - - pub fn len(&self) -> usize { - if let Some(filtered) = self.filtered_rows.as_ref() { - filtered.len() - } else { - self.rows.len() - } - } - - pub fn total_len_unfiltered(&self) -> usize { - self.rows.len() - } - - /// If the points are not filtered returns the input otherwise translates it from the filtered array - fn get_real_index(&self, index: usize) -> usize { - if let Some(filtered) = self.filtered_rows.as_ref() { - filtered[index] - } else { - index - } - } - - pub fn selected_row_data_as_slice( - &mut self, - common_fields: &BTreeSet, - ) -> Option> { - let selected_row_index = self.selected_row?; - let real_index = self.get_real_index(selected_row_index); - Some(self.rows[real_index].as_slice(common_fields)) - } - - pub fn selected_row_data_as_slice_with_filter_matching_fields( - &mut self, - common_fields: &BTreeSet, - ) -> Option<(RowSlice<'_>, Vec)> { - // Collect other needed info before taking mutable borrow to appease the borrow checker (couldn't find another readable way) - let is_filtered = self.is_filtered(); - let filter = if is_filtered { - self.applied_filter.clone() - } else { - None - }; - let row_slice = self.selected_row_data_as_slice(common_fields)?; - let matching_fields = if is_filtered { - if let Some(filter) = filter.as_ref() { - matching_fields(row_slice, filter).unwrap_or_default() - } else { - debug_assert!(false, "No filter but is_filtered is true?"); - Vec::new() - } - } else { - Vec::new() - }; - Some((row_slice, matching_fields)) - } - - pub fn move_selected_to_next(&mut self) { - let n = self.len(); - if let Some(selected) = self.selected_row.as_mut() { - if *selected < n - 1 { - *selected += 1; - } else { - // Do nothing already on last row - } - } else { - self.move_selected_to_first(); - } - } - - pub fn move_selected_to_prev(&mut self) { - if let Some(selected) = self.selected_row.as_mut() { - if *selected > 0 { - *selected -= 1; - } else { - // Do nothing already on first row - } - } else { - self.move_selected_to_last() - } - } - - pub fn move_selected_to_first(&mut self) { - if self.len() > 0 { - self.selected_row = Some(0) - } else { - // No rows to select - } - } - - pub fn move_selected_to_last(&mut self) { - let n = self.len(); - if n > 0 { - self.selected_row = Some(n - 1); - } else { - // No rows to select - } - } - - pub fn is_filtered(&self) -> bool { - debug_assert_eq!(self.applied_filter.is_some(), self.filtered_rows.is_some()); - self.filtered_rows.is_some() - } - - pub fn unfilter(&mut self) { - let previous_real_index_selected = self.selected_row.map(|x| self.get_real_index(x)); - self.filtered_rows = None; - self.applied_filter = None; - if let Some(old_selected) = previous_real_index_selected { - self.selected_row = Some(old_selected); - } - } - - pub fn apply_filter(&mut self, common_fields: &BTreeSet) { - if let Some(filter) = self.filter.as_ref() { - let previous_real_index_selected = self.selected_row.map(|x| self.get_real_index(x)); - - self.applied_filter = self.filter.clone(); - self.filtered_rows = Some( - self.rows - .iter_mut() - .enumerate() - .filter_map(|(i, row)| { - if matching_fields(row.as_slice(common_fields), filter).is_some() { - Some(i) - } else { - None - } - }) - .collect(), - ); - if let Some(old_selected) = previous_real_index_selected { - if let Some(filtered) = self.filtered_rows.as_ref() { - self.selected_row = filtered.iter().position(|&idx| idx == old_selected); - } - } - } else { - warn!("Apply called but no filter is available") - } - } - - pub fn take_config(&mut self, other: &mut Self, common_fields: &BTreeSet) { - let is_filtered = other.is_filtered(); - self.filter = other.filter.take(); - if is_filtered { - self.apply_filter(common_fields); - } - if let Some(i) = other.selected_row { - if i < self.len() { - self.selected_row = Some(i); - } - } - } - - pub fn applied_filter_display(&self) -> String { - let Some(FilterConfig { - search_key, - filter_on, - is_case_sensitive, - comparator, - }) = self.applied_filter.as_ref() - else { - debug_assert!(false, "We really shouldn't end up here"); - return "No Filter Applied".to_string(); - }; - format!( - "Search Key: {search_key} | Filter On: {filter_on} | Case Sensitive: {} | Comparator: {comparator}", - if *is_case_sensitive { - "Yes" - } else { - "No" - }) - } - - pub(crate) fn row_heights(&self, text_height: f32) -> impl Iterator { - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - puffin::profile_scope!("calculate row heights"); - // TODO 5: See if this is taking too long and cache value instead of recalculating each frame - self.rows_iter() - .map(|x| { - // TODO 4: Remove hard coded "msg" - (1f32).max(x.field_value("msg").display().lines().count() as f32) * text_height - }) - .collect::>() - .into_iter() - } -} - -/// If the slice of fields and values matches the filter then the indices of the fields that match are returned or None if it does not match -fn matching_fields(fields_and_values: RowSlice<'_>, filter: &FilterConfig) -> Option> { - let FilterConfig { - search_key, - filter_on, - comparator, - is_case_sensitive, - } = filter; - let search_key = if *is_case_sensitive { - search_key - } else { - &search_key.to_lowercase() - }; - let iter = fields_and_values - .iter() - .map(|(k, v)| { - if *is_case_sensitive { - (Cow::Borrowed(k), Cow::Borrowed(v)) - } else { - (Cow::Owned(k.to_lowercase()), Cow::Owned(v.to_lowercase())) - } - }) - .enumerate(); - let result: Vec = match filter_on { - filter::FilterOn::Any => iter - .filter_map(|(i, (_, value))| comparator.apply(search_key, value.as_str()).then_some(i)) - .collect(), - filter::FilterOn::Field(FieldSpecifier { name }) => { - let name = if *is_case_sensitive { - name - } else { - &name.to_lowercase() - }; - iter.filter_map(|(i, (field_name, value))| { - (name == field_name.as_str() && comparator.apply(search_key, value.as_str())) - .then_some(i) - }) - .collect() - } - }; - - if result.is_empty() { - None - } else { - Some(result) - } -} - -impl TryFrom<(&DataDisplayOptions, usize, &str)> for LogRow { - type Error = anyhow::Error; - - fn try_from( - (data_display_options, row_idx_val, value): (&DataDisplayOptions, usize, &str), - ) -> Result { - let row_size_in_bytes = value.len(); - let data = match serde_json::from_str::>(value) { - Ok(data) => data, - Err(e) => match &data_display_options.row_parse_error_handling { - RowParseErrorHandling::AbortOnAnyErrors => { - Err(e).context("Parse Error and mode is Abort On Error")? - } - RowParseErrorHandling::ConvertFailedLines { - raw_line_field_name, - parse_error_field_name, - } => { - let mut result = BTreeMap::new(); - result.insert(raw_line_field_name.clone(), value.into()); - if let Some(err_field) = parse_error_field_name { - result.insert(err_field.clone(), format!("{e:?}").into()); - } - result - } - }, - }; - let mut result = Self { - data, - cached_display_list: None, - }; - if let Some(key) = data_display_options.row_idx_field_name.as_ref() { - result.or_insert(key.to_string(), row_idx_val.into()); - } - if let Some(settings) = data_display_options.level_conversion.as_ref() { - if let Some((key, value)) = level_conversion_to_display(&result, settings) { - result.or_insert(key, value); - } - } - if let Some(config) = data_display_options.row_size_config.as_ref() { - result.or_insert( - config.field_name.clone(), - config.units.convert(row_size_in_bytes).into(), - ); - } - Ok(result) - } -} - -fn level_conversion_to_display( - row: &LogRow, - settings: &LevelConversion, -) -> Option<(String, Value)> { - let FieldContent::Present(raw_value) = row.field_value(&settings.source_field_name) else { - return None; - }; - let raw_value = match raw_value.as_i64() { - Some(x) => x, - None => { - warn!( - "Failed to convert raw for {:?} to i64: {raw_value:?}", - settings.source_field_name - ); - debug_assert!( - false, - "This is not expected to happen. Unable to convert level to string slice" - ); - return None; - } - }; - match settings.convert_map.get(&raw_value) { - Some(converted_value) => Some(( - settings.display_field_name.clone(), - converted_value.clone().into(), - )), - None => { - warn!("Failed to convert raw_value to a displayable log level: {raw_value:?}"); - debug_assert!( - false, - "This is not expected to happen. Unable to convert level to a corresponding display value" - ); - None - } - } -} - -impl TryFrom<(&DataDisplayOptions, &str)> for Data { - type Error = anyhow::Error; - - fn try_from( - (data_display_options, value): (&DataDisplayOptions, &str), - ) -> Result { - let mut result = Data { - file_size_as_bytes: value.len(), - ..Default::default() - }; - for (i, line) in value.lines().enumerate() { - let row = LogRow::try_from((data_display_options, i, line)) - .with_context(|| format!("failed to parse line {}", i + 1))?; - result.rows.push(row); - } - Ok(result) - } -} - -#[cfg(test)] -mod tests; diff --git a/src/app/data/data_iter.rs b/src/app/data/data_iter.rs deleted file mode 100644 index bb1568d..0000000 --- a/src/app/data/data_iter.rs +++ /dev/null @@ -1,70 +0,0 @@ -use super::{Data, LogRow}; - -#[derive(Debug)] -pub struct DataIter<'a> { - pos: usize, - data: &'a Data, -} - -impl<'a> DataIter<'a> { - pub fn new(data: &'a Data) -> Self { - Self { pos: 0, data } - } -} - -impl<'a> Iterator for DataIter<'a> { - type Item = &'a LogRow; - - fn next(&mut self) -> Option { - if self.pos >= self.data.len() { - return None; - } - let real_index = self.data.get_real_index(self.pos); - self.pos += 1; - Some(&self.data.rows[real_index]) - } - - fn nth(&mut self, n: usize) -> Option { - if n < self.pos { - return None; - } - self.pos = n; - self.next() - } -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - #[allow(clippy::iter_nth_zero)] - fn nth_no_reverse() { - let row0 = super::super::tests::create_log_row_no_extra(); - let row1 = super::super::tests::create_log_row_with_extra(); - let data = Data { - rows: vec![row0.clone(), row1.clone()], - ..Default::default() - }; - let mut iter = data.rows_iter(); - assert_eq!(iter.nth(0), Some(&row0)); - assert_eq!(iter.nth(0), None); - assert_eq!(iter.nth(1), Some(&row1)); - assert_eq!(iter.nth(1), None); - assert_eq!(iter.next(), None); - } - - #[test] - fn next_works() { - let row0 = super::super::tests::create_log_row_no_extra(); - let row1 = super::super::tests::create_log_row_with_extra(); - let data = Data { - rows: vec![row0.clone(), row1.clone()], - ..Default::default() - }; - let mut iter = data.rows_iter(); - assert_eq!(iter.next(), Some(&row0)); - assert_eq!(iter.next(), Some(&row1)); - assert_eq!(iter.next(), None); - } -} diff --git a/src/app/data/filter.rs b/src/app/data/filter.rs deleted file mode 100644 index 1c7b2f6..0000000 --- a/src/app/data/filter.rs +++ /dev/null @@ -1,103 +0,0 @@ -use std::fmt::Display; - -#[derive(Debug, Default, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone)] -#[serde(default)] -pub struct FilterConfig { - pub search_key: String, - pub filter_on: FilterOn, - pub is_case_sensitive: bool, - pub comparator: Comparator, -} - -#[derive(Debug, Default, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone)] -pub enum FilterOn { - #[default] - Any, - Field(FieldSpecifier), -} - -#[derive(Debug, Default, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone)] -pub struct FieldSpecifier { - pub name: String, -} - -impl FilterOn { - /// Returns `true` if the filter on is [`Any`]. - /// - /// [`Any`]: FilterOn::Any - #[must_use] - pub fn is_any(&self) -> bool { - matches!(self, Self::Any) - } - - /// Returns `true` if the filter on is [`Field`]. - /// - /// [`Field`]: FilterOn::Field - #[must_use] - pub fn is_field(&self) -> bool { - matches!(self, Self::Field { .. }) - } -} - -#[cfg_attr(test, derive(strum::EnumIter))] -#[derive(Debug, Default, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone, Copy)] -pub enum Comparator { - LessThan, - LessThanEqual, - Equal, - GreaterThan, - GreaterThanEqual, - NotEqual, - #[default] - Contains, - NotContains, -} - -impl Comparator { - pub fn apply(&self, search_key: &str, value: &str) -> bool { - match self { - Comparator::LessThan => value < search_key, - Comparator::LessThanEqual => value <= search_key, - Comparator::Equal => value == search_key, - Comparator::GreaterThan => value > search_key, - Comparator::GreaterThanEqual => value >= search_key, - Comparator::NotEqual => value != search_key, - Comparator::Contains => value.contains(search_key), - Comparator::NotContains => !value.contains(search_key), - } - } -} - -impl Display for Comparator { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - write!( - f, - "{}", - match self { - Comparator::LessThan => "Less Than", - Comparator::LessThanEqual => "Less than equal", - Comparator::Equal => "Equal", - Comparator::GreaterThan => "Greater than", - Comparator::GreaterThanEqual => "Greater than equal", - Comparator::NotEqual => "Not equal", - Comparator::Contains => "Contains", - Comparator::NotContains => "Not contains", - } - ) - } -} - -impl Display for FilterOn { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - match self { - FilterOn::Any => write!(f, "Any"), - FilterOn::Field(name) => write!(f, "[Field Named: {name}]"), - } - } -} - -impl Display for FieldSpecifier { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - self.name.fmt(f) - } -} diff --git a/src/app/data/tests.rs b/src/app/data/tests.rs deleted file mode 100644 index ae4d0d0..0000000 --- a/src/app/data/tests.rs +++ /dev/null @@ -1,261 +0,0 @@ -use std::fmt::{Debug, Display}; - -use filter::Comparator; -use insta::glob; -use pretty_assertions::assert_eq; -use rstest::{fixture, rstest}; -use strum::IntoEnumIterator; - -use crate::app::data_display_options::DataDisplayOptions; - -use super::*; - -const PATH_PROJECT_ROOT: &str = "../../../"; -const PATH_TEST_SAMPLES: &str = "tests/sample_logs/*.*"; - -/// Formats to test serializing with -/// -/// Even though in the application only RON is used for serialization we do round -/// trip testing on Json because it helps identify problems that are format specific -/// and avoid unnecessary debugging -enum SerdeFormat { - Ron, - Json, -} - -#[fixture] -pub(crate) fn insta_settings() -> insta::Settings { - let mut result = insta::Settings::clone_current(); - let cwd = std::env::current_dir().expect("failed to get cwd"); - let path = cwd.join("tests").join("snapshots"); - result.set_snapshot_path(path); - result -} - -#[rstest] -fn deserialize_rows_from_string(insta_settings: insta::Settings) { - glob!(PATH_PROJECT_ROOT, PATH_TEST_SAMPLES, |path| { - let input = std::fs::read_to_string(path).unwrap(); - let data = Data::try_from((&DataDisplayOptions::default(), &input[..])).unwrap(); - let log_filename = path.file_name().unwrap().to_string_lossy().to_string(); - insta_settings.bind(|| insta::assert_ron_snapshot!(format!("{log_filename}_ron"), data)); - insta_settings.bind(|| insta::assert_yaml_snapshot!(format!("{log_filename}_yaml"), data)); - insta_settings - .bind(|| insta::assert_debug_snapshot!(format!("{log_filename}_debug"), data)); - }); -} - -#[rstest] -#[case::ron(SerdeFormat::Ron)] -#[case::json(SerdeFormat::Json)] -fn round_trip_from_samples(#[case] serde_format: SerdeFormat) { - // Function needed because rustfmt doesn't play nicely with formatting long strings in macros - fn fail_with(path: impl Debug, row: usize, e: impl Debug, s: impl Display) -> LogRow { - panic!( - "failed to deserialize back into struct.\nFile: {path:?}\nRow: {row}\nError: {e:?}\nSerialized Data: {s}" - ) - } - - glob!(PATH_PROJECT_ROOT, PATH_TEST_SAMPLES, |path| { - let input = std::fs::read_to_string(path).unwrap(); - let rows_before = Data::try_from((&DataDisplayOptions::default(), &input[..])).unwrap(); - - // Test individual rows - for (i, row_before) in rows_before.rows_iter().enumerate() { - let as_string = match serde_format { - SerdeFormat::Ron => ron::to_string(&row_before).unwrap(), - SerdeFormat::Json => serde_json::to_string(&row_before).unwrap(), - }; - - let row_after: LogRow = match serde_format { - SerdeFormat::Ron => { - ron::from_str(&as_string).unwrap_or_else(|e| fail_with(path, i, e, as_string)) - } - SerdeFormat::Json => serde_json::from_str(&as_string) - .unwrap_or_else(|e| fail_with(path, i, e, as_string)), - }; - assert_eq!(&row_after, row_before); - } - - // Test composition of all rows - let as_string = match serde_format { - SerdeFormat::Ron => ron::to_string(&rows_before).unwrap(), - SerdeFormat::Json => serde_json::to_string(&rows_before).unwrap(), - }; - let rows_after: Data = match serde_format { - SerdeFormat::Ron => ron::from_str(&dbg!(as_string)).unwrap(), - SerdeFormat::Json => serde_json::from_str(&dbg!(as_string)).unwrap(), - }; - assert_eq!(rows_after, rows_before); - }); -} - -pub fn create_log_row_no_extra() -> LogRow { - let mut result = LogRow::default(); - result.data.insert("time".into(), "time value".into()); - result - .data - .insert("otel.name".into(), "HTTP GET /status".into()); - result -} - -pub fn create_log_row_with_extra() -> LogRow { - let mut result = create_log_row_no_extra(); - result.data.insert("http.status_code".into(), 200.into()); - result -} - -#[rstest] -fn round_trip_from_manual( - #[values(SerdeFormat::Ron, SerdeFormat::Json)] serde_format: SerdeFormat, - #[values(create_log_row_no_extra(), create_log_row_with_extra())] before: LogRow, -) { - let as_string = match serde_format { - SerdeFormat::Ron => ron::to_string(&before).unwrap(), - SerdeFormat::Json => serde_json::to_string(&before).unwrap(), - }; - println!("Serialized data:\n{as_string}"); - let after: LogRow = match serde_format { - SerdeFormat::Ron => ron::from_str(&as_string).unwrap(), - SerdeFormat::Json => serde_json::from_str(&as_string).unwrap(), - }; - assert_eq!(after, before); -} - -#[rstest] -fn comparisons_specific_field(insta_settings: insta::Settings) { - let row0 = create_log_row_no_extra(); - let row1 = create_log_row_with_extra(); - let mut data = Data { - rows: vec![row0.clone(), row1.clone()], - ..Default::default() - }; - - data.filter = Some(FilterConfig { - search_key: "200".to_string(), - filter_on: filter::FilterOn::Field(FieldSpecifier { - name: "http.status_code".to_string(), - }), - is_case_sensitive: false, - comparator: Default::default(), - }); - - let display_options = DataDisplayOptions::default(); - let common_fields = display_options.common_fields(); - - for comparator in Comparator::iter() { - data.filter.as_mut().unwrap().comparator = comparator; - data.apply_filter(common_fields); - insta_settings.bind(|| insta::assert_yaml_snapshot!(data)); - } -} - -#[rstest] -fn comparisons_any(insta_settings: insta::Settings) { - let row0 = create_log_row_no_extra(); - let row1 = create_log_row_with_extra(); - let mut data = Data { - rows: vec![row0.clone(), row1.clone()], - ..Default::default() - }; - - data.filter = Some(FilterConfig { - search_key: "20".to_string(), - filter_on: filter::FilterOn::Any, - is_case_sensitive: false, - comparator: Default::default(), - }); - - let display_options = DataDisplayOptions::default(); - let common_fields = display_options.common_fields(); - - for comparator in Comparator::iter() { - data.filter.as_mut().unwrap().comparator = comparator; - data.apply_filter(common_fields); - insta_settings.bind(|| insta::assert_yaml_snapshot!(data)); - } -} - -#[test] -fn selected_maintenance_with_filtering() { - let test_field = String::from("test field"); - let rows = (5..10) - .map(|i| { - let mut row = create_log_row_no_extra(); - row.data.insert(test_field.clone(), i.into()); - row - }) - .collect(); - let mut data = Data { - rows, - ..Default::default() - }; - let display_options = DataDisplayOptions::default(); - let common_fields = display_options.common_fields(); - - // Set "7" as selected - data.selected_row = Some(2); - - // Save selected row from before - let expected = data - .selected_row_data_as_slice(common_fields) - .unwrap() - .to_vec(); - - data.filter = Some(FilterConfig { - search_key: "7".to_string(), - ..Default::default() - }); - data.apply_filter(DataDisplayOptions::default().common_fields()); - - // Test that 7 is still selected - let actual = data - .selected_row_data_as_slice(common_fields) - .unwrap() - .to_vec(); - - assert_eq!(actual, expected); - - // Then reverse - data.unfilter(); - - // Test that 7 is still selected - let actual = data - .selected_row_data_as_slice(common_fields) - .unwrap() - .to_vec(); - - assert_eq!(actual, expected); -} - -#[test] -fn selected_unselected_when_not_present() { - let test_field = String::from("test field"); - let rows = (5..10) - .map(|i| { - let mut row = create_log_row_no_extra(); - row.data.insert(test_field.clone(), i.into()); - row - }) - .collect(); - let mut data = Data { - rows, - ..Default::default() - }; - let display_options = DataDisplayOptions::default(); - let common_fields = display_options.common_fields(); - - // Set "7" as selected - data.selected_row = Some(2); - - // Filter for 6, so 7 is not included - data.filter = Some(FilterConfig { - search_key: "6".to_string(), - ..Default::default() - }); - data.apply_filter(DataDisplayOptions::default().common_fields()); - - let actual = data.selected_row_data_as_slice(common_fields); - - assert!(actual.is_none()); -} diff --git a/src/app/data_display_options.rs b/src/app/data_display_options.rs deleted file mode 100644 index b3a4a92..0000000 --- a/src/app/data_display_options.rs +++ /dev/null @@ -1,273 +0,0 @@ -use egui::{Color32, WidgetText}; -use std::{ - collections::{BTreeMap, BTreeSet}, - fmt::Display, -}; - -#[derive(serde::Deserialize, serde::Serialize, Debug, PartialEq, Eq)] -#[serde(default)] // if we add new fields, give them default values when deserializing old state -pub struct DataDisplayOptions { - main_list_fields: Vec, - - /// Lists fields to show last as they are not unique to a request - common_fields: BTreeSet, - - /// The field to use to highlight other related log entries - /// - /// WARNING: This must be a valid index into the list as this is assumed in method implementations - emphasize_if_matching_field_idx: Option, - - /// Fields that should be colored based on their value. Key is field name - pub colored_fields: BTreeMap, - - /// When set adds a field with this name and populates it with the row numbers (Skips record if field name already exists) - pub row_idx_field_name: Option, - - /// Controls how errors during file loading are treated - pub row_parse_error_handling: RowParseErrorHandling, - - /// Used for optionally converting message levels to strings - pub level_conversion: Option, - - /// Used for optionally including the size of messages - pub row_size_config: Option, -} - -#[derive(Default, serde::Deserialize, serde::Serialize, Debug, PartialEq, Eq)] -#[serde(default)] -pub struct FieldColoringRules { - /// Matches a field value to color - pub value_color_map: BTreeMap, -} - -#[derive(serde::Deserialize, serde::Serialize, Debug, PartialEq, Eq)] -pub enum RowParseErrorHandling { - AbortOnAnyErrors, - ConvertFailedLines { - raw_line_field_name: String, - /// If set the error message from the failure is placed in this field - parse_error_field_name: Option, - }, -} - -#[derive(serde::Deserialize, serde::Serialize, Debug, PartialEq, Eq)] -#[serde(default)] -pub struct LevelConversion { - /// Skips record if field name already exists - pub display_field_name: String, - /// Skips conversion if source field cannot be found - pub source_field_name: String, - pub convert_map: BTreeMap, -} - -#[derive(serde::Deserialize, serde::Serialize, Debug, PartialEq, Eq)] -#[serde(default)] -pub struct RowSizeConfig { - pub field_name: String, - pub units: SizeUnits, -} - -#[derive(Default, serde::Deserialize, serde::Serialize, Debug, PartialEq, Eq, Clone, Copy)] -pub enum SizeUnits { - Bytes, - KB, - MB, - GB, - TB, - #[default] - Auto, -} - -impl SizeUnits { - fn to_concrete(self, row_size_in_bytes: usize) -> Self { - if !matches!(self, Self::Auto) { - // Easy case where type is specified - return self; - } - - // Determine which unit to use when using auto - let units = [Self::Bytes, Self::KB, Self::MB, Self::GB, Self::TB]; - let mut last_index = 0; - let row_size_in_bytes = row_size_in_bytes as f64; - for (i, unit) in units.iter().enumerate().skip(1) { - if (row_size_in_bytes / unit.scalar()) >= 1.0 { - last_index = i; - } else { - // Last was as correct unit - break; - } - } - units[last_index] - } - - /// Returns the scalar for that unit - /// - /// Panics: if unit is [`Self::Auto`] - fn scalar(&self) -> f64 { - match self { - SizeUnits::Bytes => 1.0, - SizeUnits::KB => 1024.0, - SizeUnits::MB => 1024.0 * 1024.0, - SizeUnits::GB => 1024.0 * 1024.0 * 1024.0, - SizeUnits::TB => 1024.0 * 1024.0 * 1024.0 * 1024.0, - SizeUnits::Auto => { - unreachable!("precondition violated: Auto does not have a scalar") - } - } - } - - pub(crate) fn convert(&self, row_size_in_bytes: usize) -> String { - let concrete_unit = self.to_concrete(row_size_in_bytes); - let scalar = concrete_unit.scalar(); - let result = row_size_in_bytes as f64 / scalar; - format!("{result:0>9.4} {concrete_unit}") - } - - pub fn convert_trimmed(&self, row_size_in_bytes: usize) -> String { - self.convert(row_size_in_bytes) - .trim_matches('0') - .to_string() - } - - pub fn as_str(&self) -> &'static str { - match self { - SizeUnits::Bytes => "Bytes", - SizeUnits::KB => "KB", - SizeUnits::MB => "MB", - SizeUnits::GB => "GB", - SizeUnits::TB => "TB", - SizeUnits::Auto => "Auto", - } - } -} - -impl DataDisplayOptions { - pub fn main_list_fields(&self) -> &[String] { - &self.main_list_fields - } - pub fn emphasize_if_matching_field_idx(&self) -> &Option { - &self.emphasize_if_matching_field_idx - } - pub fn common_fields(&self) -> &BTreeSet { - &self.common_fields - } -} - -impl Default for DataDisplayOptions { - fn default() -> Self { - Self { - // TODO 3: Add ability to show, select and reorder selected fields - main_list_fields: [ - "row#", - "level_str", - "row_size", - "time", - "request_id", - "otel.name", - "msg", - ] - .into_iter() - .map(String::from) - .collect(), - common_fields: [ - "elapsed_milliseconds", - "file", - "hostname", - "http.flavor", - "http.host", - "http.method", - "http.route", - "http.scheme", - "http.target", - "http.user_agent", - "level", - "line", - "name", - "otel.kind", - "pid", - "req", - "request_id", - "res", - "target", - "time", - "v", - ] - .into_iter() - .map(String::from) - .collect(), - emphasize_if_matching_field_idx: Some(4), - row_idx_field_name: Some("row#".to_string()), - row_size_config: Some(Default::default()), - row_parse_error_handling: Default::default(), - level_conversion: Some(Default::default()), - colored_fields: [( - "level_str".to_string(), - FieldColoringRules { - value_color_map: [ - ("Trace".to_string(), Color32::from_rgb(150, 100, 200)), - ("Debug".to_string(), Color32::from_rgb(80, 140, 205)), - ("Info".to_string(), Color32::from_rgb(15, 175, 85)), - ("Warn".to_string(), Color32::from_rgb(210, 210, 20)), - ("Error".to_string(), Color32::from_rgb(220, 105, 105)), - ("Fatal".to_string(), Color32::from_rgb(255, 20, 20)), - ] - .into_iter() - .collect(), - }, - )] - .into_iter() - .collect(), - } - } -} - -impl Default for RowParseErrorHandling { - fn default() -> Self { - Self::ConvertFailedLines { - raw_line_field_name: "msg".into(), - parse_error_field_name: Some("parse_err".into()), - } - } -} - -impl Default for LevelConversion { - fn default() -> Self { - // See bunyan levels https://github.com/trentm/node-bunyan?tab=readme-ov-file#levels and note rust only goes up to Error - let convert_map = vec![ - (60, "Fatal".to_string()), - (50, "Error".to_string()), - (40, "Warn".to_string()), - (30, "Info".to_string()), - (20, "Debug".to_string()), - (10, "Trace".to_string()), - ] - .into_iter() - .collect(); - Self { - display_field_name: "level_str".into(), - source_field_name: "level".into(), - convert_map, - } - } -} - -impl Display for SizeUnits { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - write!(f, "{}", self.as_str()) - } -} - -impl From for WidgetText { - fn from(value: SizeUnits) -> Self { - value.as_str().into() - } -} - -impl Default for RowSizeConfig { - fn default() -> Self { - Self { - field_name: "row_size".to_string(), - units: SizeUnits::KB, - } - } -} diff --git a/src/app/shortcut.rs b/src/app/shortcut.rs deleted file mode 100644 index af229fc..0000000 --- a/src/app/shortcut.rs +++ /dev/null @@ -1,35 +0,0 @@ -use egui::{KeyboardShortcut, Modifiers}; - -#[derive(Debug, serde::Deserialize, serde::Serialize)] -#[serde(default)] -pub struct Shortcuts { - pub prev: KeyboardShortcut, - pub next: KeyboardShortcut, - pub first: KeyboardShortcut, - pub last: KeyboardShortcut, - pub unfilter: KeyboardShortcut, - pub open: KeyboardShortcut, - pub reload: KeyboardShortcut, - pub load_latest: KeyboardShortcut, - pub apply_filter: KeyboardShortcut, - pub search: KeyboardShortcut, - pub auto_scroll: KeyboardShortcut, -} - -impl Default for Shortcuts { - fn default() -> Self { - Self { - prev: KeyboardShortcut::new(Modifiers::NONE, egui::Key::ArrowUp), - next: KeyboardShortcut::new(Modifiers::NONE, egui::Key::ArrowDown), - first: KeyboardShortcut::new(Modifiers::CTRL, egui::Key::Home), - last: KeyboardShortcut::new(Modifiers::CTRL, egui::Key::End), - unfilter: KeyboardShortcut::new(Modifiers::NONE, egui::Key::Escape), - open: KeyboardShortcut::new(Modifiers::CTRL, egui::Key::O), - reload: KeyboardShortcut::new(Modifiers::NONE, egui::Key::F5), - load_latest: KeyboardShortcut::new(Modifiers::NONE, egui::Key::F6), - apply_filter: KeyboardShortcut::new(Modifiers::NONE, egui::Key::F7), - search: KeyboardShortcut::new(Modifiers::CTRL, egui::Key::F), - auto_scroll: KeyboardShortcut::new(Modifiers::NONE, egui::Key::F8), - } - } -} diff --git a/src/lib.rs b/src/lib.rs deleted file mode 100644 index fd6eec6..0000000 --- a/src/lib.rs +++ /dev/null @@ -1,7 +0,0 @@ -#![warn(clippy::all, rust_2018_idioms)] - -mod app; -pub use app::LogViewerApp; - -// TODO 4: Add button to set to current value if a field is selected -// TODO 4: Support auto reload (look into watching for changes) https://watchexec.github.io/ diff --git a/src/main.rs b/src/main.rs deleted file mode 100644 index 02b0efd..0000000 --- a/src/main.rs +++ /dev/null @@ -1,117 +0,0 @@ -#![warn(clippy::all, rust_2018_idioms)] -#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release - -// When compiling natively: -#[cfg(not(target_arch = "wasm32"))] -#[tokio::main] -async fn main() -> eframe::Result<()> { - use tracing_subscriber::{ - fmt::{self, format::FmtSpan}, - prelude::*, - EnvFilter, - }; - - tracing_subscriber::registry() - .with(fmt::layer().with_span_events(FmtSpan::ACTIVE)) - .with(EnvFilter::try_from_default_env().unwrap_or_else(|_| { - EnvFilter::new(if cfg!(debug_assertions) { - "zbus=warn,info" - } else { - "warn" - }) - })) - .init(); - - let native_options = eframe::NativeOptions { - viewport: egui::ViewportBuilder::default() - .with_inner_size([800.0, 600.0]) - .with_min_inner_size([400.0, 400.0]) - .with_icon( - eframe::icon_data::from_png_bytes(&include_bytes!("../assets/icon-256.png")[..]) - .expect("Failed to load icon"), - ), - ..Default::default() - }; - #[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] - start_puffin_server(); - - eframe::run_native( - "Log Viewer", - native_options, - Box::new(|cc| Ok(Box::new(log_viewer::LogViewerApp::new(cc)))), - ) -} - -// When compiling to web using trunk: -#[cfg(target_arch = "wasm32")] -fn main() { - use eframe::wasm_bindgen::JsCast as _; - - // Redirect `log` message to `console.log` and friends: - eframe::WebLogger::init(log::LevelFilter::Debug).ok(); - - let web_options = eframe::WebOptions::default(); - - wasm_bindgen_futures::spawn_local(async { - let document = web_sys::window() - .expect("No window") - .document() - .expect("No document"); - - let canvas = document - .get_element_by_id("the_canvas_id") - .expect("Failed to find the_canvas_id") - .dyn_into::() - .expect("the_canvas_id was not a HtmlCanvasElement"); - - let start_result = eframe::WebRunner::new() - .start( - canvas, - web_options, - Box::new(|cc| Ok(Box::new(log_viewer::LogViewerApp::new(cc)))), - ) - .await; - - // Remove the loading text and spinner: - if let Some(loading_text) = document.get_element_by_id("loading_text") { - match start_result { - Ok(_) => { - loading_text.remove(); - } - Err(e) => { - loading_text.set_inner_html( - "

The app has crashed. See the developer console for details.

", - ); - panic!("Failed to start eframe: {e:?}"); - } - } - } - }); -} - -#[cfg(all(not(target_arch = "wasm32"), feature = "profiling"))] -fn start_puffin_server() { - puffin::set_scopes_on(true); // tell puffin to collect data - - match puffin_http::Server::new("127.0.0.1:8585") { - Ok(puffin_server) => { - tracing::info!( - "Run: cargo install puffin_viewer && puffin_viewer --url 127.0.0.1:8585" - ); - - std::process::Command::new("puffin_viewer") - .arg("--url") - .arg("127.0.0.1:8585") - .spawn() - .ok(); - - // We can store the server if we want, but in this case we just want - // it to keep running. Dropping it closes the server, so let's not drop it! - #[allow(clippy::mem_forget)] - std::mem::forget(puffin_server); - } - Err(err) => { - tracing::error!("Failed to start puffin server: {err}"); - } - }; -} diff --git a/assets/sw.js b/sw.js similarity index 100% rename from assets/sw.js rename to sw.js diff --git a/tests/sample_logs/long.log b/tests/sample_logs/long.log deleted file mode 100644 index 91416e2..0000000 --- a/tests/sample_logs/long.log +++ /dev/null @@ -1,81 +0,0 @@ -{"v":0,"name":"my_server","msg":"Server address is: 127.0.0.1:8000","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:11.961915483Z","target":"my_server::startup","line":34,"file":"crates/server/src/startup.rs"} -{"v":0,"name":"my_server","msg":"starting 8 workers","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:11.962339028Z","target":"actix_server::builder","line":240,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/builder.rs"} -{"v":0,"name":"my_server","msg":"Tokio runtime found; starting in existing Tokio runtime","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:11.962427666Z","target":"actix_server::server","line":197,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/server.rs"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:21.163518462Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.scheme":"http","http.flavor":"1.1","http.method":"GET","http.route":"/status","http.host":"127.0.0.1:8000","http.target":"/status","http.client_ip":"127.0.0.1","request_id":"4dd8dcd4-c5a6-400d-b6ba-b29658abe7e4","otel.kind":"server","otel.name":"HTTP GET /status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:21.170432285Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.scheme":"http","http.status_code":200,"http.flavor":"1.1","http.method":"GET","elapsed_milliseconds":6,"http.route":"/status","http.host":"127.0.0.1:8000","http.target":"/status","http.client_ip":"127.0.0.1","request_id":"4dd8dcd4-c5a6-400d-b6ba-b29658abe7e4","otel.kind":"server","otel.status_code":"OK","otel.name":"HTTP GET /status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:21.224469025Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.scheme":"http","otel.kind":"server","http.target":"/favicon.ico","otel.name":"HTTP GET ","http.host":"127.0.0.1:8000","http.flavor":"1.1","http.method":"GET","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","request_id":"2f3521ae-a8ea-43b6-9c6b-1a44d36845f0","http.route":""} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:21.224813634Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.scheme":"http","otel.kind":"server","http.status_code":200,"otel.status_code":"OK","elapsed_milliseconds":0,"http.target":"/favicon.ico","otel.name":"HTTP GET ","http.host":"127.0.0.1:8000","http.flavor":"1.1","http.method":"GET","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","request_id":"2f3521ae-a8ea-43b6-9c6b-1a44d36845f0","http.route":""} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:27.735320535Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.method":"GET","http.host":"127.0.0.1:8000","http.scheme":"http","otel.name":"HTTP GET /status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.client_ip":"127.0.0.1","http.flavor":"1.1","http.target":"/status","request_id":"51bb624d-8933-46b0-b5f3-13749cdcfb65","http.route":"/status","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:27.73652712Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.method":"GET","http.host":"127.0.0.1:8000","http.scheme":"http","http.status_code":200,"otel.name":"HTTP GET /status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.client_ip":"127.0.0.1","http.flavor":"1.1","http.target":"/status","otel.status_code":"OK","request_id":"51bb624d-8933-46b0-b5f3-13749cdcfb65","elapsed_milliseconds":1,"http.route":"/status","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:28.778516388Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.host":"127.0.0.1:8000","otel.kind":"server","http.scheme":"http","otel.name":"HTTP GET /status","request_id":"96758627-0b02-494b-9b5a-201886e1f811","http.client_ip":"127.0.0.1","http.route":"/status","http.method":"GET","http.target":"/status","http.flavor":"1.1"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:28.780296567Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.host":"127.0.0.1:8000","otel.kind":"server","http.status_code":200,"http.scheme":"http","otel.name":"HTTP GET /status","request_id":"96758627-0b02-494b-9b5a-201886e1f811","http.client_ip":"127.0.0.1","http.route":"/status","elapsed_milliseconds":1,"http.method":"GET","http.target":"/status","http.flavor":"1.1","otel.status_code":"OK"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:29.752816316Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.route":"/status","http.flavor":"1.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","http.host":"127.0.0.1:8000","http.target":"/status","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","otel.kind":"server","http.method":"GET","request_id":"86fb5ce6-8f6b-49cb-b834-0cfaf9ad9ed6"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:29.754506839Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.status_code":"OK","elapsed_milliseconds":1,"http.route":"/status","http.flavor":"1.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","http.host":"127.0.0.1:8000","http.target":"/status","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","otel.kind":"server","http.method":"GET","request_id":"86fb5ce6-8f6b-49cb-b834-0cfaf9ad9ed6","http.status_code":200} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:30.528781299Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.target":"/status","http.method":"GET","request_id":"da6a2caf-621b-4cd2-90fd-c67b0fe951b7","http.flavor":"1.1","http.host":"127.0.0.1:8000","otel.kind":"server","http.route":"/status","http.scheme":"http"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:30.530387153Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","otel.status_code":"OK","http.target":"/status","http.method":"GET","request_id":"da6a2caf-621b-4cd2-90fd-c67b0fe951b7","http.flavor":"1.1","elapsed_milliseconds":1,"http.host":"127.0.0.1:8000","http.status_code":200,"otel.kind":"server","http.route":"/status","http.scheme":"http"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:31.01154897Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","request_id":"c12cd3d3-b232-4327-9ee3-ad680ff493e2","http.route":"/status","http.target":"/status","otel.name":"HTTP GET /status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","http.host":"127.0.0.1:8000","http.flavor":"1.1","otel.kind":"server","http.client_ip":"127.0.0.1","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:31.013404537Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","request_id":"c12cd3d3-b232-4327-9ee3-ad680ff493e2","http.route":"/status","http.target":"/status","otel.name":"HTTP GET /status","http.status_code":200,"http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","elapsed_milliseconds":1,"http.scheme":"http","otel.status_code":"OK","http.host":"127.0.0.1:8000","http.flavor":"1.1","otel.kind":"server","http.client_ip":"127.0.0.1","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:31.476792941Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","request_id":"dfb6d617-b933-4fca-8c0d-1da09d19afed","http.target":"/status","http.host":"127.0.0.1:8000","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.scheme":"http","http.route":"/status","otel.kind":"server","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:31.478740965Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","request_id":"dfb6d617-b933-4fca-8c0d-1da09d19afed","elapsed_milliseconds":1,"http.target":"/status","otel.status_code":"OK","http.host":"127.0.0.1:8000","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.status_code":200,"http.scheme":"http","http.route":"/status","otel.kind":"server","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:31.909142641Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","http.method":"GET","http.target":"/status","otel.name":"HTTP GET /status","otel.kind":"server","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.route":"/status","http.scheme":"http","request_id":"2b96d8ce-db51-406a-9280-095e751d1ac8","http.client_ip":"127.0.0.1","http.host":"127.0.0.1:8000"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:31.911001241Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","http.method":"GET","http.target":"/status","otel.name":"HTTP GET /status","otel.kind":"server","otel.status_code":"OK","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","elapsed_milliseconds":1,"http.route":"/status","http.scheme":"http","request_id":"2b96d8ce-db51-406a-9280-095e751d1ac8","http.client_ip":"127.0.0.1","http.host":"127.0.0.1:8000","http.status_code":200} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:32.398038641Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","request_id":"952e04e8-1c0d-4b69-9ee1-63ddd390cb61","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","http.method":"GET","http.route":"/status","http.host":"127.0.0.1:8000","http.target":"/status","otel.name":"HTTP GET /status","http.flavor":"1.1","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:32.398942635Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","request_id":"952e04e8-1c0d-4b69-9ee1-63ddd390cb61","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.status_code":"OK","http.scheme":"http","http.status_code":200,"elapsed_milliseconds":0,"http.method":"GET","http.route":"/status","http.host":"127.0.0.1:8000","http.target":"/status","otel.name":"HTTP GET /status","http.flavor":"1.1","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:32.753169442Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.name":"HTTP GET /status","otel.kind":"server","http.route":"/status","http.scheme":"http","request_id":"8de12498-a0f2-42cf-b989-e8fd2b8728bf","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.host":"127.0.0.1:8000","http.target":"/status","http.flavor":"1.1","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:32.753910825Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.name":"HTTP GET /status","otel.kind":"server","http.route":"/status","http.scheme":"http","otel.status_code":"OK","elapsed_milliseconds":0,"http.status_code":200,"request_id":"8de12498-a0f2-42cf-b989-e8fd2b8728bf","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.host":"127.0.0.1:8000","http.target":"/status","http.flavor":"1.1","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:33.189998435Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.method":"GET","http.host":"127.0.0.1:8000","request_id":"f84020d7-1137-494b-88d5-0fae03fbd53b","http.route":"/status","http.flavor":"1.1","http.target":"/status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.client_ip":"127.0.0.1","http.scheme":"http","otel.name":"HTTP GET /status","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:33.190858115Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.status_code":"OK","http.method":"GET","http.host":"127.0.0.1:8000","request_id":"f84020d7-1137-494b-88d5-0fae03fbd53b","http.route":"/status","http.status_code":200,"elapsed_milliseconds":0,"http.flavor":"1.1","http.target":"/status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.client_ip":"127.0.0.1","http.scheme":"http","otel.name":"HTTP GET /status","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:33.581415707Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.route":"/status","http.scheme":"http","http.method":"GET","http.target":"/status","request_id":"862b4783-d633-40d3-8ed6-0d6fbd51b590","http.host":"127.0.0.1:8000","http.flavor":"1.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:33.58330603Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.status_code":200,"otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.route":"/status","http.scheme":"http","http.method":"GET","http.target":"/status","request_id":"862b4783-d633-40d3-8ed6-0d6fbd51b590","otel.status_code":"OK","elapsed_milliseconds":1,"http.host":"127.0.0.1:8000","http.flavor":"1.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:33.995029867Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.kind":"server","http.method":"GET","request_id":"74a2f98c-a9dc-479b-b0f8-863e7ff34d3a","http.host":"127.0.0.1:8000","http.route":"/status","http.flavor":"1.1","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.target":"/status","otel.name":"HTTP GET /status","http.scheme":"http"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:33.995775333Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.status_code":"OK","otel.kind":"server","http.status_code":200,"http.method":"GET","request_id":"74a2f98c-a9dc-479b-b0f8-863e7ff34d3a","elapsed_milliseconds":0,"http.host":"127.0.0.1:8000","http.route":"/status","http.flavor":"1.1","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.target":"/status","otel.name":"HTTP GET /status","http.scheme":"http"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:34.49601321Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.name":"HTTP GET /status","http.target":"/status","request_id":"198ad2b0-9b55-420a-8912-e3122170b760","http.host":"127.0.0.1:8000","http.flavor":"1.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.kind":"server","http.client_ip":"127.0.0.1","http.method":"GET","http.route":"/status","http.scheme":"http"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:34.498318841Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.name":"HTTP GET /status","http.status_code":200,"http.target":"/status","request_id":"198ad2b0-9b55-420a-8912-e3122170b760","otel.status_code":"OK","http.host":"127.0.0.1:8000","http.flavor":"1.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.kind":"server","elapsed_milliseconds":2,"http.client_ip":"127.0.0.1","http.method":"GET","http.route":"/status","http.scheme":"http"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:34.933587244Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.method":"GET","http.route":"/status","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","request_id":"9d866454-2d22-414b-aab3-e7a32d73035b","http.host":"127.0.0.1:8000","http.scheme":"http","http.flavor":"1.1","http.target":"/status","otel.kind":"server","otel.name":"HTTP GET /status"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:34.935651543Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.method":"GET","otel.status_code":"OK","http.route":"/status","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","request_id":"9d866454-2d22-414b-aab3-e7a32d73035b","elapsed_milliseconds":1,"http.host":"127.0.0.1:8000","http.status_code":200,"http.scheme":"http","http.flavor":"1.1","http.target":"/status","otel.kind":"server","otel.name":"HTTP GET /status"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:35.404631082Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.scheme":"http","http.target":"/status","http.host":"127.0.0.1:8000","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","request_id":"25b1c7b3-75d7-4f85-bab6-920b1b3f4435","http.method":"GET","http.route":"/status","http.flavor":"1.1","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:35.406396297Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","elapsed_milliseconds":1,"otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.scheme":"http","http.target":"/status","otel.status_code":"OK","http.host":"127.0.0.1:8000","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","request_id":"25b1c7b3-75d7-4f85-bab6-920b1b3f4435","http.status_code":200,"http.method":"GET","http.route":"/status","http.flavor":"1.1","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:35.908410809Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.host":"127.0.0.1:8000","http.method":"GET","otel.kind":"server","http.scheme":"http","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.flavor":"1.1","http.target":"/status","otel.name":"HTTP GET /status","http.route":"/status","request_id":"bd28760e-f8be-4285-b3fa-b935de5e3cce"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:35.909930198Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.host":"127.0.0.1:8000","http.method":"GET","otel.kind":"server","http.status_code":200,"http.scheme":"http","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.flavor":"1.1","http.target":"/status","otel.name":"HTTP GET /status","otel.status_code":"OK","http.route":"/status","elapsed_milliseconds":1,"request_id":"bd28760e-f8be-4285-b3fa-b935de5e3cce"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:36.406646686Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.target":"/status","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","otel.kind":"server","http.scheme":"http","http.client_ip":"127.0.0.1","http.flavor":"1.1","http.method":"GET","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","request_id":"d7410116-e47f-44db-8e95-65ae6d731aa3","http.route":"/status"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:36.408148172Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.status_code":200,"elapsed_milliseconds":1,"http.target":"/status","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","otel.kind":"server","otel.status_code":"OK","http.scheme":"http","http.client_ip":"127.0.0.1","http.flavor":"1.1","http.method":"GET","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","request_id":"d7410116-e47f-44db-8e95-65ae6d731aa3","http.route":"/status"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:36.883330358Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.kind":"server","http.flavor":"1.1","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","http.method":"GET","http.route":"/status","http.scheme":"http","http.client_ip":"127.0.0.1","http.target":"/status","request_id":"1718b374-a08d-491c-8802-6054905141ea"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:36.884516393Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.status_code":200,"http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.kind":"server","http.flavor":"1.1","http.host":"127.0.0.1:8000","otel.status_code":"OK","elapsed_milliseconds":1,"otel.name":"HTTP GET /status","http.method":"GET","http.route":"/status","http.scheme":"http","http.client_ip":"127.0.0.1","http.target":"/status","request_id":"1718b374-a08d-491c-8802-6054905141ea"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:37.414535794Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.flavor":"1.1","http.route":"/status","http.host":"127.0.0.1:8000","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","otel.kind":"server","request_id":"52288c2d-ea91-48c5-9db9-1b7e134a3915","http.target":"/status","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:37.416158356Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","elapsed_milliseconds":1,"http.flavor":"1.1","http.route":"/status","http.host":"127.0.0.1:8000","http.status_code":200,"http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","otel.kind":"server","request_id":"52288c2d-ea91-48c5-9db9-1b7e134a3915","http.target":"/status","otel.status_code":"OK","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:37.988422018Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.target":"/status","request_id":"b362e638-1e2a-4184-84d9-fb39c3cfa5c9","otel.kind":"server","http.route":"/status","http.host":"127.0.0.1:8000","http.method":"GET","http.scheme":"http","otel.name":"HTTP GET /status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.flavor":"1.1","http.client_ip":"127.0.0.1"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:37.990135478Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.target":"/status","request_id":"b362e638-1e2a-4184-84d9-fb39c3cfa5c9","otel.kind":"server","http.route":"/status","http.host":"127.0.0.1:8000","http.method":"GET","http.status_code":200,"http.scheme":"http","otel.name":"HTTP GET /status","otel.status_code":"OK","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","elapsed_milliseconds":1,"http.flavor":"1.1","http.client_ip":"127.0.0.1"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:38.516440225Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","otel.kind":"server","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","request_id":"fe545736-0993-4bbd-8395-b5be9fe6ccd4","http.target":"/status","http.route":"/status","http.method":"GET","http.scheme":"http","http.client_ip":"127.0.0.1","http.host":"127.0.0.1:8000"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:38.518258022Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","otel.status_code":"OK","elapsed_milliseconds":1,"otel.kind":"server","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","request_id":"fe545736-0993-4bbd-8395-b5be9fe6ccd4","http.target":"/status","http.status_code":200,"http.route":"/status","http.method":"GET","http.scheme":"http","http.client_ip":"127.0.0.1","http.host":"127.0.0.1:8000"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:39.063656597Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.method":"GET","http.scheme":"http","http.target":"/status","http.client_ip":"127.0.0.1","request_id":"63d31d2b-bbfc-4f01-90b3-80e53d407abe","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.flavor":"1.1","http.route":"/status","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:39.065560988Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.status_code":200,"http.method":"GET","http.scheme":"http","http.target":"/status","http.client_ip":"127.0.0.1","request_id":"63d31d2b-bbfc-4f01-90b3-80e53d407abe","otel.status_code":"OK","elapsed_milliseconds":1,"http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.flavor":"1.1","http.route":"/status","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:39.677814726Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","http.scheme":"http","http.target":"/status","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","http.route":"/status","otel.kind":"server","request_id":"ea4e5992-7566-4b3e-bd3e-39e4a6fe9db6","http.client_ip":"127.0.0.1","http.method":"GET","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:39.678891214Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","http.scheme":"http","http.target":"/status","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","http.route":"/status","otel.kind":"server","request_id":"ea4e5992-7566-4b3e-bd3e-39e4a6fe9db6","http.status_code":200,"otel.status_code":"OK","elapsed_milliseconds":1,"http.client_ip":"127.0.0.1","http.method":"GET","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:40.233335145Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","request_id":"4639d2b0-dfbc-404a-b51a-82aa4743972a","http.route":"/status","http.target":"/status","http.flavor":"1.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.method":"GET","http.scheme":"http","http.host":"127.0.0.1:8000","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:40.235457041Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.status_code":200,"elapsed_milliseconds":2,"request_id":"4639d2b0-dfbc-404a-b51a-82aa4743972a","http.route":"/status","http.target":"/status","http.flavor":"1.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","http.client_ip":"127.0.0.1","http.method":"GET","otel.status_code":"OK","http.scheme":"http","http.host":"127.0.0.1:8000","otel.kind":"server"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:40.809624727Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","request_id":"521e581e-8fbc-4876-bcb6-0754c97423ef","http.flavor":"1.1","http.scheme":"http","http.target":"/status","http.method":"GET","http.route":"/status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","otel.kind":"server","http.host":"127.0.0.1:8000","http.client_ip":"127.0.0.1"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:02:40.811254162Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","request_id":"521e581e-8fbc-4876-bcb6-0754c97423ef","http.flavor":"1.1","http.scheme":"http","http.target":"/status","http.method":"GET","http.route":"/status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","otel.name":"HTTP GET /status","http.status_code":200,"otel.kind":"server","http.host":"127.0.0.1:8000","http.client_ip":"127.0.0.1","elapsed_milliseconds":1,"otel.status_code":"OK"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:06.191856068Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.kind":"server","http.target":"/status","http.method":"GET","http.route":"/status","request_id":"6113381e-76af-49bb-bca8-7e07cf3b6c5c","http.host":"127.0.0.1:8000","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","otel.name":"HTTP GET /status","http.flavor":"1.1"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - EVENT] ping on idle connection returned error: error communicating with database: connection aborted","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:06.192024502Z","target":"log","line":null,"file":null,"log.target":"sqlx_core::pool::inner","log.module_path":"sqlx_core::pool::inner","log.line":432,"log.file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/pool/inner.rs","otel.kind":"server","http.target":"/status","http.method":"GET","http.route":"/status","request_id":"6113381e-76af-49bb-bca8-7e07cf3b6c5c","http.host":"127.0.0.1:8000","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","otel.name":"HTTP GET /status","http.flavor":"1.1"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:06.797748362Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.target":"/status","request_id":"b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","http.route":"/status","http.scheme":"http","otel.kind":"server","http.flavor":"1.1","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:07.444854732Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","http.target":"/status","http.host":"127.0.0.1:8000","http.route":"/status","otel.kind":"server","http.scheme":"http","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.method":"GET","otel.name":"HTTP GET /status","request_id":"8a19c638-9b4e-4dd6-8f00-f2d213fca243"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection","level":50,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:08.193165123Z","target":"my_server::routes::status","line":60,"file":"crates/server/src/routes/status.rs","otel.kind":"server","http.target":"/status","http.method":"GET","http.route":"/status","request_id":"6113381e-76af-49bb-bca8-7e07cf3b6c5c","http.host":"127.0.0.1:8000","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","otel.name":"HTTP GET /status","http.flavor":"1.1"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:08.19338919Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","otel.kind":"server","http.target":"/status","http.method":"GET","otel.status_code":"OK","http.route":"/status","elapsed_milliseconds":2001,"request_id":"6113381e-76af-49bb-bca8-7e07cf3b6c5c","http.host":"127.0.0.1:8000","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.status_code":200,"http.scheme":"http","otel.name":"HTTP GET /status","http.flavor":"1.1"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection","level":50,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:08.799070853Z","target":"my_server::routes::status","line":60,"file":"crates/server/src/routes/status.rs","http.target":"/status","request_id":"b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","http.route":"/status","http.scheme":"http","otel.kind":"server","http.flavor":"1.1","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:08.799252303Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.target":"/status","request_id":"b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.host":"127.0.0.1:8000","otel.name":"HTTP GET /status","http.status_code":200,"otel.status_code":"OK","elapsed_milliseconds":2001,"http.route":"/status","http.scheme":"http","otel.kind":"server","http.flavor":"1.1","http.method":"GET"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection","level":50,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:09.446331651Z","target":"my_server::routes::status","line":60,"file":"crates/server/src/routes/status.rs","http.flavor":"1.1","http.target":"/status","http.host":"127.0.0.1:8000","http.route":"/status","otel.kind":"server","http.scheme":"http","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.method":"GET","otel.name":"HTTP GET /status","request_id":"8a19c638-9b4e-4dd6-8f00-f2d213fca243"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:09.446655074Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.flavor":"1.1","http.status_code":200,"http.target":"/status","http.host":"127.0.0.1:8000","otel.status_code":"OK","http.route":"/status","elapsed_milliseconds":2001,"otel.kind":"server","http.scheme":"http","http.client_ip":"127.0.0.1","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.method":"GET","otel.name":"HTTP GET /status","request_id":"8a19c638-9b4e-4dd6-8f00-f2d213fca243"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - START]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:13.082901829Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.client_ip":"127.0.0.1","http.route":"/status","otel.name":"HTTP GET /status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","http.flavor":"1.1","http.target":"/status","otel.kind":"server","http.method":"GET","http.host":"127.0.0.1:8000","request_id":"d4a6f3a2-671b-4cb2-94c4-094867c46345"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection","level":50,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:15.084438959Z","target":"my_server::routes::status","line":60,"file":"crates/server/src/routes/status.rs","http.client_ip":"127.0.0.1","http.route":"/status","otel.name":"HTTP GET /status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","http.flavor":"1.1","http.target":"/status","otel.kind":"server","http.method":"GET","http.host":"127.0.0.1:8000","request_id":"d4a6f3a2-671b-4cb2-94c4-094867c46345"} -{"v":0,"name":"my_server","msg":"[HTTP REQUEST - END]","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:15.084681044Z","target":"tracing_actix_web::root_span_builder","line":40,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs","http.status_code":200,"http.client_ip":"127.0.0.1","http.route":"/status","otel.name":"HTTP GET /status","http.user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0","http.scheme":"http","http.flavor":"1.1","http.target":"/status","otel.kind":"server","otel.status_code":"OK","elapsed_milliseconds":2001,"http.method":"GET","http.host":"127.0.0.1:8000","request_id":"d4a6f3a2-671b-4cb2-94c4-094867c46345"} -{"v":0,"name":"my_server","msg":"SIGINT received; starting forced shutdown","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.993587646Z","target":"actix_server::server","line":319,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/server.rs"} -{"v":0,"name":"my_server","msg":"accept thread stopped","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.993775955Z","target":"actix_server::accept","line":143,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/accept.rs"} -{"v":0,"name":"my_server","msg":"shutting down idle worker","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.993775787Z","target":"actix_server::worker","line":595,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"} -{"v":0,"name":"my_server","msg":"shutting down idle worker","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.993775779Z","target":"actix_server::worker","line":595,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"} -{"v":0,"name":"my_server","msg":"shutting down idle worker","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.993775827Z","target":"actix_server::worker","line":595,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"} -{"v":0,"name":"my_server","msg":"shutting down idle worker","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.993783793Z","target":"actix_server::worker","line":595,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"} -{"v":0,"name":"my_server","msg":"shutting down idle worker","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.993808637Z","target":"actix_server::worker","line":595,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"} -{"v":0,"name":"my_server","msg":"shutting down idle worker","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.994068372Z","target":"actix_server::worker","line":595,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"} -{"v":0,"name":"my_server","msg":"shutting down idle worker","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.994080138Z","target":"actix_server::worker","line":595,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"} -{"v":0,"name":"my_server","msg":"shutting down idle worker","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:26.994147513Z","target":"actix_server::worker","line":595,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"} -{"v":0,"name":"my_server","msg":"API has exited","level":30,"hostname":"my_pc","pid":201399,"time":"2024-02-10T06:03:27.295589706Z","target":"my_server","line":31,"file":"crates/server/src/main.rs"} diff --git a/tests/sample_logs/short.log b/tests/sample_logs/short.log deleted file mode 100644 index ff6d94d..0000000 --- a/tests/sample_logs/short.log +++ /dev/null @@ -1,2 +0,0 @@ -{"v":0,"name":"my_server","msg":"Server address is: 127.0.0.1:8000","level":30,"hostname":"my_pc","pid":50401,"time":"2024-02-10T03:13:04.191299188Z","target":"my_server::startup","line":34,"file":"crates/server/src/startup.rs"} -{"v":0,"name":"my_server","msg":"starting 8 workers","level":30,"hostname":"my_pc","pid":50401,"time":"2024-02-10T03:13:04.191610465Z","target":"actix_server::builder","line":240,"file":"/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/builder.rs"} diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-2.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-2.snap deleted file mode 100644 index 1d396a3..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-2.snap +++ /dev/null @@ -1,25 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: LessThanEqual -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: [] -applied_filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: LessThanEqual -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-3.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-3.snap deleted file mode 100644 index 315b577..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-3.snap +++ /dev/null @@ -1,25 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: Equal -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: [] -applied_filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: Equal -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-4.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-4.snap deleted file mode 100644 index 84bc9ff..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-4.snap +++ /dev/null @@ -1,27 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: GreaterThan -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: - - 0 - - 1 -applied_filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: GreaterThan -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-5.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-5.snap deleted file mode 100644 index 3a43b23..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-5.snap +++ /dev/null @@ -1,27 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: GreaterThanEqual -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: - - 0 - - 1 -applied_filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: GreaterThanEqual -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-6.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-6.snap deleted file mode 100644 index 9c7680e..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-6.snap +++ /dev/null @@ -1,27 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: NotEqual -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: - - 0 - - 1 -applied_filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: NotEqual -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-7.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-7.snap deleted file mode 100644 index cfbd81b..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-7.snap +++ /dev/null @@ -1,26 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: Contains -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: - - 1 -applied_filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: Contains -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-8.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any-8.snap deleted file mode 100644 index 98b4d8d..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any-8.snap +++ /dev/null @@ -1,27 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: NotContains -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: - - 0 - - 1 -applied_filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: NotContains -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_any.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_any.snap deleted file mode 100644 index 14b6391..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_any.snap +++ /dev/null @@ -1,25 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: LessThan -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: [] -applied_filter: - search_key: "20" - filter_on: Any - is_case_sensitive: false - comparator: LessThan -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-2.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-2.snap deleted file mode 100644 index 504dd1b..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-2.snap +++ /dev/null @@ -1,30 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: LessThanEqual -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: - - 1 -applied_filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: LessThanEqual -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-3.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-3.snap deleted file mode 100644 index 33b99e6..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-3.snap +++ /dev/null @@ -1,30 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: Equal -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: - - 1 -applied_filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: Equal -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-4.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-4.snap deleted file mode 100644 index b51b3c0..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-4.snap +++ /dev/null @@ -1,29 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: GreaterThan -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: [] -applied_filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: GreaterThan -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-5.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-5.snap deleted file mode 100644 index 0d41884..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-5.snap +++ /dev/null @@ -1,30 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: GreaterThanEqual -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: - - 1 -applied_filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: GreaterThanEqual -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-6.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-6.snap deleted file mode 100644 index 3708474..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-6.snap +++ /dev/null @@ -1,29 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: NotEqual -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: [] -applied_filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: NotEqual -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-7.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-7.snap deleted file mode 100644 index 991a3dd..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-7.snap +++ /dev/null @@ -1,30 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: Contains -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: - - 1 -applied_filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: Contains -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-8.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-8.snap deleted file mode 100644 index a9279f0..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field-8.snap +++ /dev/null @@ -1,29 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: NotContains -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: [] -applied_filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: NotContains -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field.snap b/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field.snap deleted file mode 100644 index 08843af..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__comparisons_specific_field.snap +++ /dev/null @@ -1,29 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: LessThan -rows: - - data: - otel.name: HTTP GET /status - time: time value - - data: - http.status_code: 200 - otel.name: HTTP GET /status - time: time value -filtered_rows: [] -applied_filter: - search_key: "200" - filter_on: - Field: - name: http.status_code - is_case_sensitive: false - comparator: LessThan -file_size_as_bytes: 0 diff --git a/tests/snapshots/log_viewer__app__data__tests__long.log_debug.snap b/tests/snapshots/log_viewer__app__data__tests__long.log_debug.snap deleted file mode 100644 index 0bca189..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__long.log_debug.snap +++ /dev/null @@ -1,2305 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -Data { - selected_row: None, - filter: None, - rows: [ - LogRow { - data: { - "file": String("crates/server/src/startup.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(34), - "msg": String("Server address is: 127.0.0.1:8000"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(0), - "row_size": String("0000.2236 KB"), - "target": String("my_server::startup"), - "time": String("2024-02-10T06:02:11.961915483Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/builder.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(240), - "msg": String("starting 8 workers"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(1), - "row_size": String("0000.2803 KB"), - "target": String("actix_server::builder"), - "time": String("2024-02-10T06:02:11.962339028Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/server.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(197), - "msg": String("Tokio runtime found; starting in existing Tokio runtime"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(2), - "row_size": String("0000.3145 KB"), - "target": String("actix_server::server"), - "time": String("2024-02-10T06:02:11.962427666Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("4dd8dcd4-c5a6-400d-b6ba-b29658abe7e4"), - "row#": Number(3), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:21.163518462Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(6), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("4dd8dcd4-c5a6-400d-b6ba-b29658abe7e4"), - "row#": Number(4), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:21.170432285Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String(""), - "http.scheme": String("http"), - "http.target": String("/favicon.ico"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET "), - "pid": Number(201399), - "request_id": String("2f3521ae-a8ea-43b6-9c6b-1a44d36845f0"), - "row#": Number(5), - "row_size": String("0000.6641 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:21.224469025Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(0), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String(""), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/favicon.ico"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET "), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("2f3521ae-a8ea-43b6-9c6b-1a44d36845f0"), - "row#": Number(6), - "row_size": String("0000.7324 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:21.224813634Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("51bb624d-8933-46b0-b5f3-13749cdcfb65"), - "row#": Number(7), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:27.735320535Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("51bb624d-8933-46b0-b5f3-13749cdcfb65"), - "row#": Number(8), - "row_size": String("0000.7402 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:27.73652712Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("96758627-0b02-494b-9b5a-201886e1f811"), - "row#": Number(9), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:28.778516388Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("96758627-0b02-494b-9b5a-201886e1f811"), - "row#": Number(10), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:28.780296567Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("86fb5ce6-8f6b-49cb-b834-0cfaf9ad9ed6"), - "row#": Number(11), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:29.752816316Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("86fb5ce6-8f6b-49cb-b834-0cfaf9ad9ed6"), - "row#": Number(12), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:29.754506839Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("da6a2caf-621b-4cd2-90fd-c67b0fe951b7"), - "row#": Number(13), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:30.528781299Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("da6a2caf-621b-4cd2-90fd-c67b0fe951b7"), - "row#": Number(14), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:30.530387153Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("c12cd3d3-b232-4327-9ee3-ad680ff493e2"), - "row#": Number(15), - "row_size": String("0000.6719 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:31.01154897Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("c12cd3d3-b232-4327-9ee3-ad680ff493e2"), - "row#": Number(16), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:31.013404537Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("dfb6d617-b933-4fca-8c0d-1da09d19afed"), - "row#": Number(17), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:31.476792941Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("dfb6d617-b933-4fca-8c0d-1da09d19afed"), - "row#": Number(18), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:31.478740965Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("2b96d8ce-db51-406a-9280-095e751d1ac8"), - "row#": Number(19), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:31.909142641Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("2b96d8ce-db51-406a-9280-095e751d1ac8"), - "row#": Number(20), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:31.911001241Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("952e04e8-1c0d-4b69-9ee1-63ddd390cb61"), - "row#": Number(21), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:32.398038641Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(0), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("952e04e8-1c0d-4b69-9ee1-63ddd390cb61"), - "row#": Number(22), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:32.398942635Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("8de12498-a0f2-42cf-b989-e8fd2b8728bf"), - "row#": Number(23), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:32.753169442Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(0), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("8de12498-a0f2-42cf-b989-e8fd2b8728bf"), - "row#": Number(24), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:32.753910825Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("f84020d7-1137-494b-88d5-0fae03fbd53b"), - "row#": Number(25), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:33.189998435Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(0), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("f84020d7-1137-494b-88d5-0fae03fbd53b"), - "row#": Number(26), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:33.190858115Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("862b4783-d633-40d3-8ed6-0d6fbd51b590"), - "row#": Number(27), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:33.581415707Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("862b4783-d633-40d3-8ed6-0d6fbd51b590"), - "row#": Number(28), - "row_size": String("0000.7402 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:33.58330603Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("74a2f98c-a9dc-479b-b0f8-863e7ff34d3a"), - "row#": Number(29), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:33.995029867Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(0), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("74a2f98c-a9dc-479b-b0f8-863e7ff34d3a"), - "row#": Number(30), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:33.995775333Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("198ad2b0-9b55-420a-8912-e3122170b760"), - "row#": Number(31), - "row_size": String("0000.6719 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:34.49601321Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(2), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("198ad2b0-9b55-420a-8912-e3122170b760"), - "row#": Number(32), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:34.498318841Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("9d866454-2d22-414b-aab3-e7a32d73035b"), - "row#": Number(33), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:34.933587244Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("9d866454-2d22-414b-aab3-e7a32d73035b"), - "row#": Number(34), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:34.935651543Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("25b1c7b3-75d7-4f85-bab6-920b1b3f4435"), - "row#": Number(35), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:35.404631082Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("25b1c7b3-75d7-4f85-bab6-920b1b3f4435"), - "row#": Number(36), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:35.406396297Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("bd28760e-f8be-4285-b3fa-b935de5e3cce"), - "row#": Number(37), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:35.908410809Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("bd28760e-f8be-4285-b3fa-b935de5e3cce"), - "row#": Number(38), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:35.909930198Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("d7410116-e47f-44db-8e95-65ae6d731aa3"), - "row#": Number(39), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:36.406646686Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("d7410116-e47f-44db-8e95-65ae6d731aa3"), - "row#": Number(40), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:36.408148172Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("1718b374-a08d-491c-8802-6054905141ea"), - "row#": Number(41), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:36.883330358Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("1718b374-a08d-491c-8802-6054905141ea"), - "row#": Number(42), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:36.884516393Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("52288c2d-ea91-48c5-9db9-1b7e134a3915"), - "row#": Number(43), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:37.414535794Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("52288c2d-ea91-48c5-9db9-1b7e134a3915"), - "row#": Number(44), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:37.416158356Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("b362e638-1e2a-4184-84d9-fb39c3cfa5c9"), - "row#": Number(45), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:37.988422018Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("b362e638-1e2a-4184-84d9-fb39c3cfa5c9"), - "row#": Number(46), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:37.990135478Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("fe545736-0993-4bbd-8395-b5be9fe6ccd4"), - "row#": Number(47), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:38.516440225Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("fe545736-0993-4bbd-8395-b5be9fe6ccd4"), - "row#": Number(48), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:38.518258022Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("63d31d2b-bbfc-4f01-90b3-80e53d407abe"), - "row#": Number(49), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:39.063656597Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("63d31d2b-bbfc-4f01-90b3-80e53d407abe"), - "row#": Number(50), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:39.065560988Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("ea4e5992-7566-4b3e-bd3e-39e4a6fe9db6"), - "row#": Number(51), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:39.677814726Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("ea4e5992-7566-4b3e-bd3e-39e4a6fe9db6"), - "row#": Number(52), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:39.678891214Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("4639d2b0-dfbc-404a-b51a-82aa4743972a"), - "row#": Number(53), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:40.233335145Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(2), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("4639d2b0-dfbc-404a-b51a-82aa4743972a"), - "row#": Number(54), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:40.235457041Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("521e581e-8fbc-4876-bcb6-0754c97423ef"), - "row#": Number(55), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:40.809624727Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(1), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("521e581e-8fbc-4876-bcb6-0754c97423ef"), - "row#": Number(56), - "row_size": String("0000.7412 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:02:40.811254162Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("6113381e-76af-49bb-bca8-7e07cf3b6c5c"), - "row#": Number(57), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:03:06.191856068Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": Null, - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Null, - "log.file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/pool/inner.rs"), - "log.line": Number(432), - "log.module_path": String("sqlx_core::pool::inner"), - "log.target": String("sqlx_core::pool::inner"), - "msg": String("[HTTP REQUEST - EVENT] ping on idle connection returned error: error communicating with database: connection aborted"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("6113381e-76af-49bb-bca8-7e07cf3b6c5c"), - "row#": Number(58), - "row_size": String("0000.8291 KB"), - "target": String("log"), - "time": String("2024-02-10T06:03:06.192024502Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29"), - "row#": Number(59), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:03:06.797748362Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("8a19c638-9b4e-4dd6-8f00-f2d213fca243"), - "row#": Number(60), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:03:07.444854732Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("crates/server/src/routes/status.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(50), - "level_str": String("Error"), - "line": Number(60), - "msg": String("[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("6113381e-76af-49bb-bca8-7e07cf3b6c5c"), - "row#": Number(61), - "row_size": String("0000.6719 KB"), - "target": String("my_server::routes::status"), - "time": String("2024-02-10T06:03:08.193165123Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(2001), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("6113381e-76af-49bb-bca8-7e07cf3b6c5c"), - "row#": Number(62), - "row_size": String("0000.7432 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:03:08.19338919Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("crates/server/src/routes/status.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(50), - "level_str": String("Error"), - "line": Number(60), - "msg": String("[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29"), - "row#": Number(63), - "row_size": String("0000.6719 KB"), - "target": String("my_server::routes::status"), - "time": String("2024-02-10T06:03:08.799070853Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(2001), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29"), - "row#": Number(64), - "row_size": String("0000.7441 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:03:08.799252303Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("crates/server/src/routes/status.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(50), - "level_str": String("Error"), - "line": Number(60), - "msg": String("[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("8a19c638-9b4e-4dd6-8f00-f2d213fca243"), - "row#": Number(65), - "row_size": String("0000.6719 KB"), - "target": String("my_server::routes::status"), - "time": String("2024-02-10T06:03:09.446331651Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(2001), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("8a19c638-9b4e-4dd6-8f00-f2d213fca243"), - "row#": Number(66), - "row_size": String("0000.7441 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:03:09.446655074Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - START]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("d4a6f3a2-671b-4cb2-94c4-094867c46345"), - "row#": Number(67), - "row_size": String("0000.6729 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:03:13.082901829Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("crates/server/src/routes/status.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(50), - "level_str": String("Error"), - "line": Number(60), - "msg": String("[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "pid": Number(201399), - "request_id": String("d4a6f3a2-671b-4cb2-94c4-094867c46345"), - "row#": Number(68), - "row_size": String("0000.6719 KB"), - "target": String("my_server::routes::status"), - "time": String("2024-02-10T06:03:15.084438959Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "elapsed_milliseconds": Number(2001), - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs"), - "hostname": String("my_pc"), - "http.client_ip": String("127.0.0.1"), - "http.flavor": String("1.1"), - "http.host": String("127.0.0.1:8000"), - "http.method": String("GET"), - "http.route": String("/status"), - "http.scheme": String("http"), - "http.status_code": Number(200), - "http.target": String("/status"), - "http.user_agent": String("Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(40), - "msg": String("[HTTP REQUEST - END]"), - "name": String("my_server"), - "otel.kind": String("server"), - "otel.name": String("HTTP GET /status"), - "otel.status_code": String("OK"), - "pid": Number(201399), - "request_id": String("d4a6f3a2-671b-4cb2-94c4-094867c46345"), - "row#": Number(69), - "row_size": String("0000.7441 KB"), - "target": String("tracing_actix_web::root_span_builder"), - "time": String("2024-02-10T06:03:15.084681044Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/server.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(319), - "msg": String("SIGINT received; starting forced shutdown"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(70), - "row_size": String("0000.3008 KB"), - "target": String("actix_server::server"), - "time": String("2024-02-10T06:03:26.993587646Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/accept.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(143), - "msg": String("accept thread stopped"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(71), - "row_size": String("0000.2812 KB"), - "target": String("actix_server::accept"), - "time": String("2024-02-10T06:03:26.993775955Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(595), - "msg": String("shutting down idle worker"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(72), - "row_size": String("0000.2852 KB"), - "target": String("actix_server::worker"), - "time": String("2024-02-10T06:03:26.993775787Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(595), - "msg": String("shutting down idle worker"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(73), - "row_size": String("0000.2852 KB"), - "target": String("actix_server::worker"), - "time": String("2024-02-10T06:03:26.993775779Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(595), - "msg": String("shutting down idle worker"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(74), - "row_size": String("0000.2852 KB"), - "target": String("actix_server::worker"), - "time": String("2024-02-10T06:03:26.993775827Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(595), - "msg": String("shutting down idle worker"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(75), - "row_size": String("0000.2852 KB"), - "target": String("actix_server::worker"), - "time": String("2024-02-10T06:03:26.993783793Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(595), - "msg": String("shutting down idle worker"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(76), - "row_size": String("0000.2852 KB"), - "target": String("actix_server::worker"), - "time": String("2024-02-10T06:03:26.993808637Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(595), - "msg": String("shutting down idle worker"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(77), - "row_size": String("0000.2852 KB"), - "target": String("actix_server::worker"), - "time": String("2024-02-10T06:03:26.994068372Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(595), - "msg": String("shutting down idle worker"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(78), - "row_size": String("0000.2852 KB"), - "target": String("actix_server::worker"), - "time": String("2024-02-10T06:03:26.994080138Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(595), - "msg": String("shutting down idle worker"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(79), - "row_size": String("0000.2852 KB"), - "target": String("actix_server::worker"), - "time": String("2024-02-10T06:03:26.994147513Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("crates/server/src/main.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(31), - "msg": String("API has exited"), - "name": String("my_server"), - "pid": Number(201399), - "row#": Number(80), - "row_size": String("0000.1934 KB"), - "target": String("my_server"), - "time": String("2024-02-10T06:03:27.295589706Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - ], - filtered_rows: None, - applied_filter: None, - file_size_as_bytes: 52527, -} diff --git a/tests/snapshots/log_viewer__app__data__tests__long.log_ron.snap b/tests/snapshots/log_viewer__app__data__tests__long.log_ron.snap deleted file mode 100644 index f1f6801..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__long.log_ron.snap +++ /dev/null @@ -1,2224 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -Data( - selected_row: None, - filter: None, - rows: [ - LogRow( - data: { - "file": "crates/server/src/startup.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 34, - "msg": "Server address is: 127.0.0.1:8000", - "name": "my_server", - "pid": 201399, - "row#": 0, - "row_size": "0000.2236 KB", - "target": "my_server::startup", - "time": "2024-02-10T06:02:11.961915483Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/builder.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 240, - "msg": "starting 8 workers", - "name": "my_server", - "pid": 201399, - "row#": 1, - "row_size": "0000.2803 KB", - "target": "actix_server::builder", - "time": "2024-02-10T06:02:11.962339028Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/server.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 197, - "msg": "Tokio runtime found; starting in existing Tokio runtime", - "name": "my_server", - "pid": 201399, - "row#": 2, - "row_size": "0000.3145 KB", - "target": "actix_server::server", - "time": "2024-02-10T06:02:11.962427666Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "4dd8dcd4-c5a6-400d-b6ba-b29658abe7e4", - "row#": 3, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:21.163518462Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 6, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "4dd8dcd4-c5a6-400d-b6ba-b29658abe7e4", - "row#": 4, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:21.170432285Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "", - "http.scheme": "http", - "http.target": "/favicon.ico", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET ", - "pid": 201399, - "request_id": "2f3521ae-a8ea-43b6-9c6b-1a44d36845f0", - "row#": 5, - "row_size": "0000.6641 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:21.224469025Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 0, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/favicon.ico", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET ", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "2f3521ae-a8ea-43b6-9c6b-1a44d36845f0", - "row#": 6, - "row_size": "0000.7324 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:21.224813634Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "51bb624d-8933-46b0-b5f3-13749cdcfb65", - "row#": 7, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:27.735320535Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "51bb624d-8933-46b0-b5f3-13749cdcfb65", - "row#": 8, - "row_size": "0000.7402 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:27.73652712Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "96758627-0b02-494b-9b5a-201886e1f811", - "row#": 9, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:28.778516388Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "96758627-0b02-494b-9b5a-201886e1f811", - "row#": 10, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:28.780296567Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "86fb5ce6-8f6b-49cb-b834-0cfaf9ad9ed6", - "row#": 11, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:29.752816316Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "86fb5ce6-8f6b-49cb-b834-0cfaf9ad9ed6", - "row#": 12, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:29.754506839Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "da6a2caf-621b-4cd2-90fd-c67b0fe951b7", - "row#": 13, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:30.528781299Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "da6a2caf-621b-4cd2-90fd-c67b0fe951b7", - "row#": 14, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:30.530387153Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "c12cd3d3-b232-4327-9ee3-ad680ff493e2", - "row#": 15, - "row_size": "0000.6719 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:31.01154897Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "c12cd3d3-b232-4327-9ee3-ad680ff493e2", - "row#": 16, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:31.013404537Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "dfb6d617-b933-4fca-8c0d-1da09d19afed", - "row#": 17, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:31.476792941Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "dfb6d617-b933-4fca-8c0d-1da09d19afed", - "row#": 18, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:31.478740965Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "2b96d8ce-db51-406a-9280-095e751d1ac8", - "row#": 19, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:31.909142641Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "2b96d8ce-db51-406a-9280-095e751d1ac8", - "row#": 20, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:31.911001241Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "952e04e8-1c0d-4b69-9ee1-63ddd390cb61", - "row#": 21, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:32.398038641Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 0, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "952e04e8-1c0d-4b69-9ee1-63ddd390cb61", - "row#": 22, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:32.398942635Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "8de12498-a0f2-42cf-b989-e8fd2b8728bf", - "row#": 23, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:32.753169442Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 0, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "8de12498-a0f2-42cf-b989-e8fd2b8728bf", - "row#": 24, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:32.753910825Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "f84020d7-1137-494b-88d5-0fae03fbd53b", - "row#": 25, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:33.189998435Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 0, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "f84020d7-1137-494b-88d5-0fae03fbd53b", - "row#": 26, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:33.190858115Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "862b4783-d633-40d3-8ed6-0d6fbd51b590", - "row#": 27, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:33.581415707Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "862b4783-d633-40d3-8ed6-0d6fbd51b590", - "row#": 28, - "row_size": "0000.7402 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:33.58330603Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "74a2f98c-a9dc-479b-b0f8-863e7ff34d3a", - "row#": 29, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:33.995029867Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 0, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "74a2f98c-a9dc-479b-b0f8-863e7ff34d3a", - "row#": 30, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:33.995775333Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "198ad2b0-9b55-420a-8912-e3122170b760", - "row#": 31, - "row_size": "0000.6719 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:34.49601321Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 2, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "198ad2b0-9b55-420a-8912-e3122170b760", - "row#": 32, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:34.498318841Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "9d866454-2d22-414b-aab3-e7a32d73035b", - "row#": 33, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:34.933587244Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "9d866454-2d22-414b-aab3-e7a32d73035b", - "row#": 34, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:34.935651543Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "25b1c7b3-75d7-4f85-bab6-920b1b3f4435", - "row#": 35, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:35.404631082Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "25b1c7b3-75d7-4f85-bab6-920b1b3f4435", - "row#": 36, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:35.406396297Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "bd28760e-f8be-4285-b3fa-b935de5e3cce", - "row#": 37, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:35.908410809Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "bd28760e-f8be-4285-b3fa-b935de5e3cce", - "row#": 38, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:35.909930198Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "d7410116-e47f-44db-8e95-65ae6d731aa3", - "row#": 39, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:36.406646686Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "d7410116-e47f-44db-8e95-65ae6d731aa3", - "row#": 40, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:36.408148172Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "1718b374-a08d-491c-8802-6054905141ea", - "row#": 41, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:36.883330358Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "1718b374-a08d-491c-8802-6054905141ea", - "row#": 42, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:36.884516393Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "52288c2d-ea91-48c5-9db9-1b7e134a3915", - "row#": 43, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:37.414535794Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "52288c2d-ea91-48c5-9db9-1b7e134a3915", - "row#": 44, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:37.416158356Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "b362e638-1e2a-4184-84d9-fb39c3cfa5c9", - "row#": 45, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:37.988422018Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "b362e638-1e2a-4184-84d9-fb39c3cfa5c9", - "row#": 46, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:37.990135478Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "fe545736-0993-4bbd-8395-b5be9fe6ccd4", - "row#": 47, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:38.516440225Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "fe545736-0993-4bbd-8395-b5be9fe6ccd4", - "row#": 48, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:38.518258022Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "63d31d2b-bbfc-4f01-90b3-80e53d407abe", - "row#": 49, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:39.063656597Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "63d31d2b-bbfc-4f01-90b3-80e53d407abe", - "row#": 50, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:39.065560988Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "ea4e5992-7566-4b3e-bd3e-39e4a6fe9db6", - "row#": 51, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:39.677814726Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "ea4e5992-7566-4b3e-bd3e-39e4a6fe9db6", - "row#": 52, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:39.678891214Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "4639d2b0-dfbc-404a-b51a-82aa4743972a", - "row#": 53, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:40.233335145Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 2, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "4639d2b0-dfbc-404a-b51a-82aa4743972a", - "row#": 54, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:40.235457041Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "521e581e-8fbc-4876-bcb6-0754c97423ef", - "row#": 55, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:40.809624727Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 1, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "521e581e-8fbc-4876-bcb6-0754c97423ef", - "row#": 56, - "row_size": "0000.7412 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:02:40.811254162Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "6113381e-76af-49bb-bca8-7e07cf3b6c5c", - "row#": 57, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:03:06.191856068Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": (), - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": (), - "log.file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/pool/inner.rs", - "log.line": 432, - "log.module_path": "sqlx_core::pool::inner", - "log.target": "sqlx_core::pool::inner", - "msg": "[HTTP REQUEST - EVENT] ping on idle connection returned error: error communicating with database: connection aborted", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "6113381e-76af-49bb-bca8-7e07cf3b6c5c", - "row#": 58, - "row_size": "0000.8291 KB", - "target": "log", - "time": "2024-02-10T06:03:06.192024502Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29", - "row#": 59, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:03:06.797748362Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "8a19c638-9b4e-4dd6-8f00-f2d213fca243", - "row#": 60, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:03:07.444854732Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "crates/server/src/routes/status.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 50, - "level_str": "Error", - "line": 60, - "msg": "[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "6113381e-76af-49bb-bca8-7e07cf3b6c5c", - "row#": 61, - "row_size": "0000.6719 KB", - "target": "my_server::routes::status", - "time": "2024-02-10T06:03:08.193165123Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 2001, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "6113381e-76af-49bb-bca8-7e07cf3b6c5c", - "row#": 62, - "row_size": "0000.7432 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:03:08.19338919Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "crates/server/src/routes/status.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 50, - "level_str": "Error", - "line": 60, - "msg": "[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29", - "row#": 63, - "row_size": "0000.6719 KB", - "target": "my_server::routes::status", - "time": "2024-02-10T06:03:08.799070853Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 2001, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29", - "row#": 64, - "row_size": "0000.7441 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:03:08.799252303Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "crates/server/src/routes/status.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 50, - "level_str": "Error", - "line": 60, - "msg": "[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "8a19c638-9b4e-4dd6-8f00-f2d213fca243", - "row#": 65, - "row_size": "0000.6719 KB", - "target": "my_server::routes::status", - "time": "2024-02-10T06:03:09.446331651Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 2001, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "8a19c638-9b4e-4dd6-8f00-f2d213fca243", - "row#": 66, - "row_size": "0000.7441 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:03:09.446655074Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - START]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "d4a6f3a2-671b-4cb2-94c4-094867c46345", - "row#": 67, - "row_size": "0000.6729 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:03:13.082901829Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "crates/server/src/routes/status.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 50, - "level_str": "Error", - "line": 60, - "msg": "[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "pid": 201399, - "request_id": "d4a6f3a2-671b-4cb2-94c4-094867c46345", - "row#": 68, - "row_size": "0000.6719 KB", - "target": "my_server::routes::status", - "time": "2024-02-10T06:03:15.084438959Z", - "v": 0, - }, - ), - LogRow( - data: { - "elapsed_milliseconds": 2001, - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs", - "hostname": "my_pc", - "http.client_ip": "127.0.0.1", - "http.flavor": "1.1", - "http.host": "127.0.0.1:8000", - "http.method": "GET", - "http.route": "/status", - "http.scheme": "http", - "http.status_code": 200, - "http.target": "/status", - "http.user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0", - "level": 30, - "level_str": "Info", - "line": 40, - "msg": "[HTTP REQUEST - END]", - "name": "my_server", - "otel.kind": "server", - "otel.name": "HTTP GET /status", - "otel.status_code": "OK", - "pid": 201399, - "request_id": "d4a6f3a2-671b-4cb2-94c4-094867c46345", - "row#": 69, - "row_size": "0000.7441 KB", - "target": "tracing_actix_web::root_span_builder", - "time": "2024-02-10T06:03:15.084681044Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/server.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 319, - "msg": "SIGINT received; starting forced shutdown", - "name": "my_server", - "pid": 201399, - "row#": 70, - "row_size": "0000.3008 KB", - "target": "actix_server::server", - "time": "2024-02-10T06:03:26.993587646Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/accept.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 143, - "msg": "accept thread stopped", - "name": "my_server", - "pid": 201399, - "row#": 71, - "row_size": "0000.2812 KB", - "target": "actix_server::accept", - "time": "2024-02-10T06:03:26.993775955Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 595, - "msg": "shutting down idle worker", - "name": "my_server", - "pid": 201399, - "row#": 72, - "row_size": "0000.2852 KB", - "target": "actix_server::worker", - "time": "2024-02-10T06:03:26.993775787Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 595, - "msg": "shutting down idle worker", - "name": "my_server", - "pid": 201399, - "row#": 73, - "row_size": "0000.2852 KB", - "target": "actix_server::worker", - "time": "2024-02-10T06:03:26.993775779Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 595, - "msg": "shutting down idle worker", - "name": "my_server", - "pid": 201399, - "row#": 74, - "row_size": "0000.2852 KB", - "target": "actix_server::worker", - "time": "2024-02-10T06:03:26.993775827Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 595, - "msg": "shutting down idle worker", - "name": "my_server", - "pid": 201399, - "row#": 75, - "row_size": "0000.2852 KB", - "target": "actix_server::worker", - "time": "2024-02-10T06:03:26.993783793Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 595, - "msg": "shutting down idle worker", - "name": "my_server", - "pid": 201399, - "row#": 76, - "row_size": "0000.2852 KB", - "target": "actix_server::worker", - "time": "2024-02-10T06:03:26.993808637Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 595, - "msg": "shutting down idle worker", - "name": "my_server", - "pid": 201399, - "row#": 77, - "row_size": "0000.2852 KB", - "target": "actix_server::worker", - "time": "2024-02-10T06:03:26.994068372Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 595, - "msg": "shutting down idle worker", - "name": "my_server", - "pid": 201399, - "row#": 78, - "row_size": "0000.2852 KB", - "target": "actix_server::worker", - "time": "2024-02-10T06:03:26.994080138Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 595, - "msg": "shutting down idle worker", - "name": "my_server", - "pid": 201399, - "row#": 79, - "row_size": "0000.2852 KB", - "target": "actix_server::worker", - "time": "2024-02-10T06:03:26.994147513Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "crates/server/src/main.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 31, - "msg": "API has exited", - "name": "my_server", - "pid": 201399, - "row#": 80, - "row_size": "0000.1934 KB", - "target": "my_server", - "time": "2024-02-10T06:03:27.295589706Z", - "v": 0, - }, - ), - ], - filtered_rows: None, - applied_filter: None, - file_size_as_bytes: 52527, -) diff --git a/tests/snapshots/log_viewer__app__data__tests__long.log_yaml.snap b/tests/snapshots/log_viewer__app__data__tests__long.log_yaml.snap deleted file mode 100644 index 9671971..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__long.log_yaml.snap +++ /dev/null @@ -1,1978 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: ~ -rows: - - data: - file: crates/server/src/startup.rs - hostname: my_pc - level: 30 - level_str: Info - line: 34 - msg: "Server address is: 127.0.0.1:8000" - name: my_server - pid: 201399 - "row#": 0 - row_size: 0000.2236 KB - target: "my_server::startup" - time: "2024-02-10T06:02:11.961915483Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/builder.rs - hostname: my_pc - level: 30 - level_str: Info - line: 240 - msg: starting 8 workers - name: my_server - pid: 201399 - "row#": 1 - row_size: 0000.2803 KB - target: "actix_server::builder" - time: "2024-02-10T06:02:11.962339028Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/server.rs - hostname: my_pc - level: 30 - level_str: Info - line: 197 - msg: Tokio runtime found; starting in existing Tokio runtime - name: my_server - pid: 201399 - "row#": 2 - row_size: 0000.3145 KB - target: "actix_server::server" - time: "2024-02-10T06:02:11.962427666Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 4dd8dcd4-c5a6-400d-b6ba-b29658abe7e4 - "row#": 3 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:21.163518462Z" - v: 0 - - data: - elapsed_milliseconds: 6 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 4dd8dcd4-c5a6-400d-b6ba-b29658abe7e4 - "row#": 4 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:21.170432285Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: "" - http.scheme: http - http.target: /favicon.ico - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: "HTTP GET " - pid: 201399 - request_id: 2f3521ae-a8ea-43b6-9c6b-1a44d36845f0 - "row#": 5 - row_size: 0000.6641 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:21.224469025Z" - v: 0 - - data: - elapsed_milliseconds: 0 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: "" - http.scheme: http - http.status_code: 200 - http.target: /favicon.ico - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: "HTTP GET " - otel.status_code: OK - pid: 201399 - request_id: 2f3521ae-a8ea-43b6-9c6b-1a44d36845f0 - "row#": 6 - row_size: 0000.7324 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:21.224813634Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 51bb624d-8933-46b0-b5f3-13749cdcfb65 - "row#": 7 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:27.735320535Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 51bb624d-8933-46b0-b5f3-13749cdcfb65 - "row#": 8 - row_size: 0000.7402 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:27.73652712Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 96758627-0b02-494b-9b5a-201886e1f811 - "row#": 9 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:28.778516388Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 96758627-0b02-494b-9b5a-201886e1f811 - "row#": 10 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:28.780296567Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 86fb5ce6-8f6b-49cb-b834-0cfaf9ad9ed6 - "row#": 11 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:29.752816316Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 86fb5ce6-8f6b-49cb-b834-0cfaf9ad9ed6 - "row#": 12 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:29.754506839Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: da6a2caf-621b-4cd2-90fd-c67b0fe951b7 - "row#": 13 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:30.528781299Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: da6a2caf-621b-4cd2-90fd-c67b0fe951b7 - "row#": 14 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:30.530387153Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: c12cd3d3-b232-4327-9ee3-ad680ff493e2 - "row#": 15 - row_size: 0000.6719 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:31.01154897Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: c12cd3d3-b232-4327-9ee3-ad680ff493e2 - "row#": 16 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:31.013404537Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: dfb6d617-b933-4fca-8c0d-1da09d19afed - "row#": 17 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:31.476792941Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: dfb6d617-b933-4fca-8c0d-1da09d19afed - "row#": 18 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:31.478740965Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 2b96d8ce-db51-406a-9280-095e751d1ac8 - "row#": 19 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:31.909142641Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 2b96d8ce-db51-406a-9280-095e751d1ac8 - "row#": 20 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:31.911001241Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 952e04e8-1c0d-4b69-9ee1-63ddd390cb61 - "row#": 21 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:32.398038641Z" - v: 0 - - data: - elapsed_milliseconds: 0 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 952e04e8-1c0d-4b69-9ee1-63ddd390cb61 - "row#": 22 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:32.398942635Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 8de12498-a0f2-42cf-b989-e8fd2b8728bf - "row#": 23 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:32.753169442Z" - v: 0 - - data: - elapsed_milliseconds: 0 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 8de12498-a0f2-42cf-b989-e8fd2b8728bf - "row#": 24 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:32.753910825Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: f84020d7-1137-494b-88d5-0fae03fbd53b - "row#": 25 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:33.189998435Z" - v: 0 - - data: - elapsed_milliseconds: 0 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: f84020d7-1137-494b-88d5-0fae03fbd53b - "row#": 26 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:33.190858115Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 862b4783-d633-40d3-8ed6-0d6fbd51b590 - "row#": 27 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:33.581415707Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 862b4783-d633-40d3-8ed6-0d6fbd51b590 - "row#": 28 - row_size: 0000.7402 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:33.58330603Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 74a2f98c-a9dc-479b-b0f8-863e7ff34d3a - "row#": 29 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:33.995029867Z" - v: 0 - - data: - elapsed_milliseconds: 0 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 74a2f98c-a9dc-479b-b0f8-863e7ff34d3a - "row#": 30 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:33.995775333Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 198ad2b0-9b55-420a-8912-e3122170b760 - "row#": 31 - row_size: 0000.6719 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:34.49601321Z" - v: 0 - - data: - elapsed_milliseconds: 2 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 198ad2b0-9b55-420a-8912-e3122170b760 - "row#": 32 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:34.498318841Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 9d866454-2d22-414b-aab3-e7a32d73035b - "row#": 33 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:34.933587244Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 9d866454-2d22-414b-aab3-e7a32d73035b - "row#": 34 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:34.935651543Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 25b1c7b3-75d7-4f85-bab6-920b1b3f4435 - "row#": 35 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:35.404631082Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 25b1c7b3-75d7-4f85-bab6-920b1b3f4435 - "row#": 36 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:35.406396297Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: bd28760e-f8be-4285-b3fa-b935de5e3cce - "row#": 37 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:35.908410809Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: bd28760e-f8be-4285-b3fa-b935de5e3cce - "row#": 38 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:35.909930198Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: d7410116-e47f-44db-8e95-65ae6d731aa3 - "row#": 39 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:36.406646686Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: d7410116-e47f-44db-8e95-65ae6d731aa3 - "row#": 40 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:36.408148172Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 1718b374-a08d-491c-8802-6054905141ea - "row#": 41 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:36.883330358Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 1718b374-a08d-491c-8802-6054905141ea - "row#": 42 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:36.884516393Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 52288c2d-ea91-48c5-9db9-1b7e134a3915 - "row#": 43 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:37.414535794Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 52288c2d-ea91-48c5-9db9-1b7e134a3915 - "row#": 44 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:37.416158356Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: b362e638-1e2a-4184-84d9-fb39c3cfa5c9 - "row#": 45 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:37.988422018Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: b362e638-1e2a-4184-84d9-fb39c3cfa5c9 - "row#": 46 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:37.990135478Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: fe545736-0993-4bbd-8395-b5be9fe6ccd4 - "row#": 47 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:38.516440225Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: fe545736-0993-4bbd-8395-b5be9fe6ccd4 - "row#": 48 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:38.518258022Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 63d31d2b-bbfc-4f01-90b3-80e53d407abe - "row#": 49 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:39.063656597Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 63d31d2b-bbfc-4f01-90b3-80e53d407abe - "row#": 50 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:39.065560988Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: ea4e5992-7566-4b3e-bd3e-39e4a6fe9db6 - "row#": 51 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:39.677814726Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: ea4e5992-7566-4b3e-bd3e-39e4a6fe9db6 - "row#": 52 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:39.678891214Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 4639d2b0-dfbc-404a-b51a-82aa4743972a - "row#": 53 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:40.233335145Z" - v: 0 - - data: - elapsed_milliseconds: 2 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 4639d2b0-dfbc-404a-b51a-82aa4743972a - "row#": 54 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:40.235457041Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 521e581e-8fbc-4876-bcb6-0754c97423ef - "row#": 55 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:40.809624727Z" - v: 0 - - data: - elapsed_milliseconds: 1 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 521e581e-8fbc-4876-bcb6-0754c97423ef - "row#": 56 - row_size: 0000.7412 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:02:40.811254162Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 6113381e-76af-49bb-bca8-7e07cf3b6c5c - "row#": 57 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:03:06.191856068Z" - v: 0 - - data: - file: ~ - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: ~ - log.file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-core-0.6.3/src/pool/inner.rs - log.line: 432 - log.module_path: "sqlx_core::pool::inner" - log.target: "sqlx_core::pool::inner" - msg: "[HTTP REQUEST - EVENT] ping on idle connection returned error: error communicating with database: connection aborted" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 6113381e-76af-49bb-bca8-7e07cf3b6c5c - "row#": 58 - row_size: 0000.8291 KB - target: log - time: "2024-02-10T06:03:06.192024502Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29 - "row#": 59 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:03:06.797748362Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 8a19c638-9b4e-4dd6-8f00-f2d213fca243 - "row#": 60 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:03:07.444854732Z" - v: 0 - - data: - file: crates/server/src/routes/status.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 50 - level_str: Error - line: 60 - msg: "[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 6113381e-76af-49bb-bca8-7e07cf3b6c5c - "row#": 61 - row_size: 0000.6719 KB - target: "my_server::routes::status" - time: "2024-02-10T06:03:08.193165123Z" - v: 0 - - data: - elapsed_milliseconds: 2001 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 6113381e-76af-49bb-bca8-7e07cf3b6c5c - "row#": 62 - row_size: 0000.7432 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:03:08.19338919Z" - v: 0 - - data: - file: crates/server/src/routes/status.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 50 - level_str: Error - line: 60 - msg: "[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29 - "row#": 63 - row_size: 0000.6719 KB - target: "my_server::routes::status" - time: "2024-02-10T06:03:08.799070853Z" - v: 0 - - data: - elapsed_milliseconds: 2001 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: b675eec1-4b4f-4ba1-be5f-5dfb65f1ce29 - "row#": 64 - row_size: 0000.7441 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:03:08.799252303Z" - v: 0 - - data: - file: crates/server/src/routes/status.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 50 - level_str: Error - line: 60 - msg: "[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: 8a19c638-9b4e-4dd6-8f00-f2d213fca243 - "row#": 65 - row_size: 0000.6719 KB - target: "my_server::routes::status" - time: "2024-02-10T06:03:09.446331651Z" - v: 0 - - data: - elapsed_milliseconds: 2001 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: 8a19c638-9b4e-4dd6-8f00-f2d213fca243 - "row#": 66 - row_size: 0000.7441 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:03:09.446655074Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - START]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: d4a6f3a2-671b-4cb2-94c4-094867c46345 - "row#": 67 - row_size: 0000.6729 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:03:13.082901829Z" - v: 0 - - data: - file: crates/server/src/routes/status.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 50 - level_str: Error - line: 60 - msg: "[HTTP REQUEST - EVENT] Error for \"Connect to Database\" - pool timed out while waiting for an open connection" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - pid: 201399 - request_id: d4a6f3a2-671b-4cb2-94c4-094867c46345 - "row#": 68 - row_size: 0000.6719 KB - target: "my_server::routes::status" - time: "2024-02-10T06:03:15.084438959Z" - v: 0 - - data: - elapsed_milliseconds: 2001 - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-actix-web-0.6.2/src/root_span_builder.rs - hostname: my_pc - http.client_ip: 127.0.0.1 - http.flavor: "1.1" - http.host: "127.0.0.1:8000" - http.method: GET - http.route: /status - http.scheme: http - http.status_code: 200 - http.target: /status - http.user_agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" - level: 30 - level_str: Info - line: 40 - msg: "[HTTP REQUEST - END]" - name: my_server - otel.kind: server - otel.name: HTTP GET /status - otel.status_code: OK - pid: 201399 - request_id: d4a6f3a2-671b-4cb2-94c4-094867c46345 - "row#": 69 - row_size: 0000.7441 KB - target: "tracing_actix_web::root_span_builder" - time: "2024-02-10T06:03:15.084681044Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/server.rs - hostname: my_pc - level: 30 - level_str: Info - line: 319 - msg: SIGINT received; starting forced shutdown - name: my_server - pid: 201399 - "row#": 70 - row_size: 0000.3008 KB - target: "actix_server::server" - time: "2024-02-10T06:03:26.993587646Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/accept.rs - hostname: my_pc - level: 30 - level_str: Info - line: 143 - msg: accept thread stopped - name: my_server - pid: 201399 - "row#": 71 - row_size: 0000.2812 KB - target: "actix_server::accept" - time: "2024-02-10T06:03:26.993775955Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs - hostname: my_pc - level: 30 - level_str: Info - line: 595 - msg: shutting down idle worker - name: my_server - pid: 201399 - "row#": 72 - row_size: 0000.2852 KB - target: "actix_server::worker" - time: "2024-02-10T06:03:26.993775787Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs - hostname: my_pc - level: 30 - level_str: Info - line: 595 - msg: shutting down idle worker - name: my_server - pid: 201399 - "row#": 73 - row_size: 0000.2852 KB - target: "actix_server::worker" - time: "2024-02-10T06:03:26.993775779Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs - hostname: my_pc - level: 30 - level_str: Info - line: 595 - msg: shutting down idle worker - name: my_server - pid: 201399 - "row#": 74 - row_size: 0000.2852 KB - target: "actix_server::worker" - time: "2024-02-10T06:03:26.993775827Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs - hostname: my_pc - level: 30 - level_str: Info - line: 595 - msg: shutting down idle worker - name: my_server - pid: 201399 - "row#": 75 - row_size: 0000.2852 KB - target: "actix_server::worker" - time: "2024-02-10T06:03:26.993783793Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs - hostname: my_pc - level: 30 - level_str: Info - line: 595 - msg: shutting down idle worker - name: my_server - pid: 201399 - "row#": 76 - row_size: 0000.2852 KB - target: "actix_server::worker" - time: "2024-02-10T06:03:26.993808637Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs - hostname: my_pc - level: 30 - level_str: Info - line: 595 - msg: shutting down idle worker - name: my_server - pid: 201399 - "row#": 77 - row_size: 0000.2852 KB - target: "actix_server::worker" - time: "2024-02-10T06:03:26.994068372Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs - hostname: my_pc - level: 30 - level_str: Info - line: 595 - msg: shutting down idle worker - name: my_server - pid: 201399 - "row#": 78 - row_size: 0000.2852 KB - target: "actix_server::worker" - time: "2024-02-10T06:03:26.994080138Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/worker.rs - hostname: my_pc - level: 30 - level_str: Info - line: 595 - msg: shutting down idle worker - name: my_server - pid: 201399 - "row#": 79 - row_size: 0000.2852 KB - target: "actix_server::worker" - time: "2024-02-10T06:03:26.994147513Z" - v: 0 - - data: - file: crates/server/src/main.rs - hostname: my_pc - level: 30 - level_str: Info - line: 31 - msg: API has exited - name: my_server - pid: 201399 - "row#": 80 - row_size: 0000.1934 KB - target: my_server - time: "2024-02-10T06:03:27.295589706Z" - v: 0 -filtered_rows: ~ -applied_filter: ~ -file_size_as_bytes: 52527 diff --git a/tests/snapshots/log_viewer__app__data__tests__short.log_debug.snap b/tests/snapshots/log_viewer__app__data__tests__short.log_debug.snap deleted file mode 100644 index 8aff777..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__short.log_debug.snap +++ /dev/null @@ -1,49 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -Data { - selected_row: None, - filter: None, - rows: [ - LogRow { - data: { - "file": String("crates/server/src/startup.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(34), - "msg": String("Server address is: 127.0.0.1:8000"), - "name": String("my_server"), - "pid": Number(50401), - "row#": Number(0), - "row_size": String("0000.2227 KB"), - "target": String("my_server::startup"), - "time": String("2024-02-10T03:13:04.191299188Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - LogRow { - data: { - "file": String("/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/builder.rs"), - "hostname": String("my_pc"), - "level": Number(30), - "level_str": String("Info"), - "line": Number(240), - "msg": String("starting 8 workers"), - "name": String("my_server"), - "pid": Number(50401), - "row#": Number(1), - "row_size": String("0000.2793 KB"), - "target": String("actix_server::builder"), - "time": String("2024-02-10T03:13:04.191610465Z"), - "v": Number(0), - }, - cached_display_list: None, - }, - ], - filtered_rows: None, - applied_filter: None, - file_size_as_bytes: 516, -} diff --git a/tests/snapshots/log_viewer__app__data__tests__short.log_ron.snap b/tests/snapshots/log_viewer__app__data__tests__short.log_ron.snap deleted file mode 100644 index 7edf033..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__short.log_ron.snap +++ /dev/null @@ -1,47 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -Data( - selected_row: None, - filter: None, - rows: [ - LogRow( - data: { - "file": "crates/server/src/startup.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 34, - "msg": "Server address is: 127.0.0.1:8000", - "name": "my_server", - "pid": 50401, - "row#": 0, - "row_size": "0000.2227 KB", - "target": "my_server::startup", - "time": "2024-02-10T03:13:04.191299188Z", - "v": 0, - }, - ), - LogRow( - data: { - "file": "/home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/builder.rs", - "hostname": "my_pc", - "level": 30, - "level_str": "Info", - "line": 240, - "msg": "starting 8 workers", - "name": "my_server", - "pid": 50401, - "row#": 1, - "row_size": "0000.2793 KB", - "target": "actix_server::builder", - "time": "2024-02-10T03:13:04.191610465Z", - "v": 0, - }, - ), - ], - filtered_rows: None, - applied_filter: None, - file_size_as_bytes: 516, -) diff --git a/tests/snapshots/log_viewer__app__data__tests__short.log_yaml.snap b/tests/snapshots/log_viewer__app__data__tests__short.log_yaml.snap deleted file mode 100644 index 12d1b63..0000000 --- a/tests/snapshots/log_viewer__app__data__tests__short.log_yaml.snap +++ /dev/null @@ -1,38 +0,0 @@ ---- -source: src/app/data/tests.rs -expression: data ---- -selected_row: ~ -filter: ~ -rows: - - data: - file: crates/server/src/startup.rs - hostname: my_pc - level: 30 - level_str: Info - line: 34 - msg: "Server address is: 127.0.0.1:8000" - name: my_server - pid: 50401 - "row#": 0 - row_size: 0000.2227 KB - target: "my_server::startup" - time: "2024-02-10T03:13:04.191299188Z" - v: 0 - - data: - file: /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-server-2.3.0/src/builder.rs - hostname: my_pc - level: 30 - level_str: Info - line: 240 - msg: starting 8 workers - name: my_server - pid: 50401 - "row#": 1 - row_size: 0000.2793 KB - target: "actix_server::builder" - time: "2024-02-10T03:13:04.191610465Z" - v: 0 -filtered_rows: ~ -applied_filter: ~ -file_size_as_bytes: 516