feat: Add Brain Monitor dashboard and live API stats
This commit is contained in:
1 parent
3239e32866
commit
18fd05bb11
10 files changed
+672
-80
No files matched your search
@@ -0,0 +1,312 @@
|
||||
Blocking waiting for file lock on package cache
|
||||
Blocking waiting for file lock on package cache
|
||||
Compiling proc-macro2 v1.0.107
|
||||
Compiling quote v1.0.47
|
||||
Compiling unicode-ident v1.0.24
|
||||
Compiling getrandom v0.4.3
|
||||
Compiling serde_core v1.0.229
|
||||
Checking windows-link v0.2.1
|
||||
Compiling cfg-if v1.0.4
|
||||
Compiling shlex v2.0.1
|
||||
Compiling find-msvc-tools v0.1.12
|
||||
Checking smallvec v1.16.0
|
||||
Checking stable_deref_trait v1.2.1
|
||||
Checking windows-sys v0.61.2
|
||||
Checking pin-project-lite v0.2.17
|
||||
Checking futures-core v0.3.34
|
||||
Checking memchr v2.8.3
|
||||
Checking itoa v1.0.18
|
||||
Compiling serde v1.0.229
|
||||
Checking bytes v1.12.1
|
||||
Checking once_cell v1.21.4
|
||||
Checking futures-sink v0.3.34
|
||||
Compiling parking_lot_core v0.9.12
|
||||
Checking scopeguard v1.2.0
|
||||
Checking slab v0.4.12
|
||||
Checking mio v1.2.3
|
||||
Checking socket2 v0.6.5
|
||||
Checking log v0.4.34
|
||||
Checking futures-channel v0.3.34
|
||||
Compiling version_check v0.9.5
|
||||
Compiling jobserver v0.1.35
|
||||
Checking lock_api v0.4.14
|
||||
Compiling zmij v1.0.23
|
||||
Checking futures-task v0.3.34
|
||||
Checking futures-io v0.3.34
|
||||
Compiling num-conv v0.2.2
|
||||
Compiling time-core v0.1.9
|
||||
Compiling cc v1.4.5
|
||||
Compiling autocfg v1.5.1
|
||||
Checking deranged v0.5.8
|
||||
Checking http v1.5.0
|
||||
Checking tracing-core v0.1.36
|
||||
Compiling syn v3.0.5
|
||||
Compiling syn v2.0.119
|
||||
Checking percent-encoding v2.3.2
|
||||
Checking litemap v0.8.3
|
||||
Compiling time-macros v0.2.32
|
||||
Checking writeable v0.6.4
|
||||
Checking powerfmt v0.2.0
|
||||
Checking equivalent v1.0.2
|
||||
Checking parking_lot v0.12.5
|
||||
Checking utf8_iter v1.0.4
|
||||
Compiling icu_normalizer_data v2.3.0
|
||||
Compiling icu_properties_data v2.3.0
|
||||
Checking fnv v1.0.7
|
||||
Compiling serde_json v1.0.151
|
||||
Checking http-body v1.1.0
|
||||
Checking hashbrown v0.17.1
|
||||
Compiling httparse v1.10.1
|
||||
Checking base64 v0.22.1
|
||||
Compiling synstructure v0.13.2
|
||||
Checking tower-service v0.3.3
|
||||
Compiling ring v0.17.14
|
||||
Compiling num-traits v0.2.19
|
||||
Checking indexmap v2.14.2
|
||||
Checking time v0.3.55
|
||||
Checking try-lock v0.2.5
|
||||
Compiling serde_derive v1.0.229
|
||||
Compiling zerovec-derive v0.11.6
|
||||
Compiling tokio-macros v2.7.2
|
||||
Compiling zerofrom-derive v0.1.7
|
||||
Compiling yoke-derive v0.8.2
|
||||
Compiling displaydoc v0.2.7
|
||||
Compiling futures-macro v0.3.34
|
||||
Compiling tracing-attributes v0.1.31
|
||||
Compiling zeroize_derive v1.5.0
|
||||
Checking tokio v1.53.1
|
||||
Compiling libc v0.2.189
|
||||
Checking atomic-waker v1.1.2
|
||||
Checking futures-util v0.3.34
|
||||
Checking subtle v2.6.1
|
||||
Checking zerofrom v0.1.8
|
||||
Checking want v0.3.1
|
||||
Checking zeroize v1.9.0
|
||||
Checking tracing v0.1.44
|
||||
Checking form_urlencoded v1.2.2
|
||||
Checking yoke v0.8.3
|
||||
Checking getrandom v0.2.17
|
||||
Checking httpdate v1.0.3
|
||||
Checking untrusted v0.9.0
|
||||
Checking rustls-pki-types v1.15.1
|
||||
Compiling generic-array v0.14.7
|
||||
Checking sync_wrapper v1.0.2
|
||||
Checking tower-layer v0.3.3
|
||||
Checking tokio-util v0.7.19
|
||||
Checking zerovec v0.11.8
|
||||
Checking zerotrie v0.2.5
|
||||
Compiling rustls v0.23.44
|
||||
Compiling pkg-config v0.3.34
|
||||
Checking ipnet v2.12.2
|
||||
Compiling async-trait v0.1.92
|
||||
Compiling cmake v0.1.58
|
||||
Compiling cookie v0.18.2
|
||||
Checking h2 v0.4.19
|
||||
Checking tinystr v0.8.4
|
||||
Checking potential_utf v0.1.6
|
||||
Compiling dunce v1.0.5
|
||||
Checking mime v0.3.17
|
||||
Compiling zstd-sys v2.1.0+zstd.1.5.7
|
||||
Compiling unicase v2.9.0
|
||||
Checking icu_locale_core v2.3.0
|
||||
Compiling thiserror v2.0.20
|
||||
Checking icu_collections v2.3.0
|
||||
Compiling fs_extra v1.3.0
|
||||
Compiling crossbeam-utils v0.8.23
|
||||
Checking typenum v1.20.1
|
||||
Compiling mime_guess v2.0.5
|
||||
Checking hyper v1.11.1
|
||||
Checking tower v0.5.3
|
||||
Checking rustls-webpki v0.103.15
|
||||
Checking icu_provider v2.3.1
|
||||
Compiling thiserror-impl v2.0.20
|
||||
Compiling aws-lc-sys v0.45.0
|
||||
Checking http-body-util v0.1.5
|
||||
Checking icu_normalizer v2.3.0
|
||||
Checking icu_properties v2.3.0
|
||||
Checking hyper-util v0.1.20
|
||||
Compiling litrs v1.0.0
|
||||
Checking ryu v1.0.23
|
||||
Checking psl-types v2.0.11
|
||||
Checking either v1.18.0
|
||||
Compiling crunchy v0.2.4
|
||||
Checking idna_adapter v1.2.2
|
||||
Checking serde_urlencoded v0.7.1
|
||||
Compiling document-features v0.2.12
|
||||
Checking idna v1.1.0
|
||||
Checking webpki-roots v1.0.9
|
||||
Compiling ident_case v1.0.1
|
||||
Checking tokio-rustls v0.26.5
|
||||
Checking byteorder v1.5.0
|
||||
Checking url v2.5.8
|
||||
Checking publicsuffix v2.3.0
|
||||
Checking bitflags v2.13.1
|
||||
Compiling crossbeam-epoch v0.9.21
|
||||
Compiling windows_x86_64_msvc v0.52.6
|
||||
Compiling zstd-safe v7.3.0
|
||||
Checking regex-syntax v0.8.11
|
||||
Compiling strsim v0.11.1
|
||||
Checking hyper-rustls v0.27.9
|
||||
Checking cookie_store v0.22.1
|
||||
Checking tower-http v0.6.11
|
||||
Compiling darling_core v0.24.1
|
||||
Checking block-buffer v0.10.4
|
||||
Checking crypto-common v0.1.7
|
||||
Checking num-integer v0.1.47
|
||||
Checking ownedbytes v0.9.0
|
||||
Compiling crossbeam-deque v0.8.8
|
||||
Compiling typeid v1.0.3
|
||||
Checking once_cell_polyfill v1.70.2
|
||||
Compiling aws-lc-rs v1.18.1
|
||||
Checking utf8parse v0.2.2
|
||||
Compiling prettyplease v0.3.0
|
||||
Checking anstyle v1.0.14
|
||||
Checking tantivy-common v0.11.0
|
||||
Checking anstyle-parse v1.0.0
|
||||
Compiling darling_macro v0.24.1
|
||||
Checking anstyle-wincon v3.0.11
|
||||
Checking num-bigint v0.4.8
|
||||
Checking digest v0.10.7
|
||||
Checking reqwest v0.12.28
|
||||
Checking bitpacking v0.9.3
|
||||
Checking futures-executor v0.3.34
|
||||
Compiling fs-err v3.3.1
|
||||
Checking anstyle-query v1.1.5
|
||||
Compiling rayon-core v1.13.0
|
||||
Checking colorchoice v1.0.5
|
||||
Checking is_terminal_polyfill v1.70.2
|
||||
Checking utf8-ranges v1.0.5
|
||||
Compiling rustversion v1.0.23
|
||||
Checking untrusted v0.7.1
|
||||
Compiling erased-serde v0.4.10
|
||||
Checking futures v0.3.34
|
||||
Checking tantivy-bitpacker v0.10.0
|
||||
Checking anstream v1.0.0
|
||||
Checking zstd v0.13.3
|
||||
Checking tantivy-fst v0.5.0
|
||||
Checking simple_asn1 v0.6.4
|
||||
Checking windows-targets v0.52.6
|
||||
Compiling darling v0.24.1
|
||||
Checking uuid v1.26.0
|
||||
Checking itertools v0.14.0
|
||||
Checking tokio-stream v0.1.19
|
||||
Checking rust-mcp-schema v2.0.0
|
||||
Checking pem v3.0.6
|
||||
Compiling crc32fast v1.5.1
|
||||
Checking minimal-lexical v0.2.1
|
||||
Checking signature v2.2.0
|
||||
Checking murmurhash32 v0.3.1
|
||||
Checking clap_lex v1.1.0
|
||||
Compiling heck v0.5.0
|
||||
Checking cpufeatures v0.2.17
|
||||
Checking allocator-api2 v0.2.21
|
||||
Checking foldhash v0.2.0
|
||||
Compiling typetag v0.2.23
|
||||
Compiling winapi v0.3.9
|
||||
Checking nom v7.1.3
|
||||
Checking tantivy-stacker v0.7.0
|
||||
Checking sha2 v0.10.9
|
||||
Compiling clap_derive v4.6.4
|
||||
Checking tantivy-sstable v0.7.0
|
||||
Checking hashbrown v0.16.1
|
||||
Checking clap_builder v4.6.6
|
||||
Compiling rust-mcp-macros v2.0.0
|
||||
Compiling bon-macros v3.10.1
|
||||
Checking rust-mcp-transport v2.0.0
|
||||
Checking windows-sys v0.59.0
|
||||
Checking hmac v0.12.1
|
||||
Checking regex-automata v0.4.18
|
||||
Checking axum-core v0.5.6
|
||||
Checking ordered-float v5.5.0
|
||||
Compiling typetag-impl v0.2.23
|
||||
Checking serde_path_to_error v0.1.20
|
||||
Checking fastrand v2.5.0
|
||||
Checking inventory v0.3.24
|
||||
Checking downcast-rs v2.0.2
|
||||
Checking matchit v0.8.4
|
||||
Checking fastdivide v0.4.2
|
||||
Checking option-ext v0.2.0
|
||||
Checking base64 v0.23.1
|
||||
Checking fs4 v0.13.1
|
||||
Checking arc-swap v1.9.2
|
||||
Checking tantivy-columnar v0.7.0
|
||||
Checking dirs-sys v0.5.0
|
||||
Checking tempfile v3.27.0
|
||||
Checking clap v4.6.6
|
||||
Checking regex v1.13.1
|
||||
Checking tantivy-query-grammar v0.26.0
|
||||
Checking axum v0.8.9
|
||||
Checking rayon v1.12.0
|
||||
Checking axum-server v0.8.0
|
||||
Checking lru v0.16.4
|
||||
Checking crossbeam-channel v0.5.17
|
||||
Checking rust-stemmers v1.2.0
|
||||
Checking sketches-ddsketch v0.4.1
|
||||
Checking tantivy-tokenizer-api v0.7.0
|
||||
Checking measure_time v0.9.0
|
||||
Checking aho-corasick v1.1.5
|
||||
Checking htmlescape v0.3.1
|
||||
Checking lz4_flex v0.13.1
|
||||
Checking bon v3.10.1
|
||||
Checking memmap2 v0.9.11
|
||||
Checking datasketches v0.2.0
|
||||
Checking levenshtein_automata v0.2.1
|
||||
Checking rustc-hash v2.1.3
|
||||
Checking oneshot v0.1.13
|
||||
Checking census v0.4.2
|
||||
Checking dirs v6.0.0
|
||||
Checking glob v0.3.4
|
||||
Checking mcp-memory-stub v0.1.0 (C:\Users\reazul.ashraf\workspace\rust\mcp-memory\stub)
|
||||
Checking tantivy v0.26.1
|
||||
warning: this can be `std::io::Error::other(_)`
|
||||
--> stub\src\main.rs:76:72
|
||||
|
|
||||
76 | let stream = resp.bytes_stream().map(|res| res.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e)));
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#io_other_error
|
||||
= note: `#[warn(clippy::io_other_error)]` on by default
|
||||
help: use `std::io::Error::other`
|
||||
|
|
||||
76 - let stream = resp.bytes_stream().map(|res| res.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e)));
|
||||
76 + let stream = resp.bytes_stream().map(|res| res.map_err(|e| std::io::Error::other(e)));
|
||||
|
|
||||
|
||||
warning: stripping a prefix manually
|
||||
--> stub\src\main.rs:93:40
|
||||
|
|
||||
93 | println!("{}", &trimmed[6..]);
|
||||
| ^^^^^^^^^^^^^
|
||||
|
|
||||
note: the prefix was tested here
|
||||
--> stub\src\main.rs:91:24
|
||||
|
|
||||
91 | } else if trimmed.starts_with("data: ") {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#manual_strip
|
||||
= note: `#[warn(clippy::manual_strip)]` on by default
|
||||
help: try using the `strip_prefix` method
|
||||
|
|
||||
91 ~ } else if let Some(<stripped>) = trimmed.strip_prefix("data: ") {
|
||||
92 | if is_message {
|
||||
93 ~ println!("{}", <stripped>);
|
||||
94 | is_message = false;
|
||||
95 | } else if is_endpoint {
|
||||
96 ~ let ep = <stripped>;
|
||||
|
|
||||
|
||||
warning: redundant pattern matching
|
||||
--> stub\src\main.rs:117:16
|
||||
|
|
||||
117 | if let Err(_) = std::net::TcpStream::connect(cli.target.replace("http://", "").replace("https://", "")) {
|
||||
| ^^^^^^
|
||||
|
|
||||
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#redundant_pattern_matching
|
||||
= note: `#[warn(clippy::redundant_pattern_matching)]` on by default
|
||||
help: consider using `is_err()`
|
||||
|
|
||||
117 - if let Err(_) = std::net::TcpStream::connect(cli.target.replace("http://", "").replace("https://", "")) {
|
||||
117 + if std::net::TcpStream::connect(cli.target.replace("http://", "").replace("https://", "")).is_err() {
|
||||
|
|
||||
|
||||
warning: `mcp-memory-stub` (bin "mcp-memory-stub") generated 3 warnings (run `cargo clippy --fix --bin "mcp-memory-stub" -p mcp-memory-stub -- ` to apply 2 suggestions)
|
||||
Reference in new issue
Block a user