[package]
edition = "2021"
name = "trustformers-debug"
version = "0.1.4"
authors = ["COOLJAPAN OU (Team KitaSan) <contact@cooljapan.tech>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Advanced debugging tools for TrustformeRS models"
homepage = "https://github.com/cool-japan/trustformers"
documentation = "https://docs.rs/trustformers-debug"
readme = "README.md"
keywords = [
"debugging",
"tensor",
"gradient",
"ml",
"diagnostics",
]
categories = [
"development-tools",
"science",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/trustformers"
[features]
atomics = []
cuda = []
default = []
gif = [
"dep:gif",
"image",
]
headless = []
rocm = []
tpu = []
video = [
"gif",
"image",
"ffmpeg-next",
]
visual = [
"plotters",
"ratatui",
"crossterm",
]
wasm = [
"wasm-bindgen",
"wasm-bindgen-futures",
"js-sys",
"web-sys",
]
[lib]
name = "trustformers_debug"
path = "src/lib.rs"
[[example]]
name = "advanced_debugging_demo"
path = "examples/advanced_debugging_demo.rs"
[[example]]
name = "cross_module_integration_demo"
path = "examples/cross_module_integration_demo.rs"
[[example]]
name = "debug_session_demo"
path = "examples/debug_session_demo.rs"
[[example]]
name = "distributed_profiling_demo"
path = "examples/distributed_profiling_demo.rs"
[[example]]
name = "llm_debugging_demo"
path = "examples/llm_debugging_demo.rs"
[[example]]
name = "mlflow_integration_demo"
path = "examples/mlflow_integration_demo.rs"
[[example]]
name = "neural_network_debugging_demo"
path = "examples/neural_network_debugging_demo.rs"
[[example]]
name = "performance_tuning_demo"
path = "examples/performance_tuning_demo.rs"
[[example]]
name = "visualization_demo"
path = "examples/visualization_demo.rs"
[[example]]
name = "visualization_plugins_demo"
path = "examples/visualization_plugins_demo.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[dependencies.anyhow]
version = "1.0.103"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"serde",
]
[dependencies.crossterm]
version = "0.29"
optional = true
[dependencies.ffmpeg-next]
version = "8.1"
optional = true
[dependencies.futures]
version = "0.3.32"
[dependencies.gif]
version = "0.14"
optional = true
[dependencies.half]
version = "2.7.1"
features = ["serde"]
[dependencies.image]
version = "0.25.10"
optional = true
[dependencies.indexmap]
version = "2.14"
features = [
"serde",
"serde",
]
[dependencies.js-sys]
version = "0.3.103"
optional = true
[dependencies.md5]
version = "0.8"
[dependencies.nalgebra]
version = "0.35.0"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.oxiarc-archive]
version = "0.3.3"
[dependencies.oxisql-sqlite-compat]
version = "0.3"
features = ["blocking"]
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.plotters]
version = "0.3"
features = [
"bitmap_backend",
"bitmap_encoder",
"bitmap_gif",
"svg_backend",
"chrono",
"ab_glyph",
"image",
"deprecated_items",
"all_series",
"all_elements",
"full_palette",
"colormaps",
]
optional = true
default-features = false
[dependencies.ratatui]
version = "0.30"
optional = true
[dependencies.regex]
version = "1.12.4"
[dependencies.scirs2-core]
version = "0.6.0"
features = [
"array",
"simd",
"parallel",
"linalg",
"memory_efficient",
"array_protocol",
"random",
"serialization",
"gpu",
]
default-features = false
[dependencies.serde]
version = "1.0.228"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.statrs]
version = "0.18"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52.3"
features = [
"full",
"full",
]
[dependencies.tokio-stream]
version = "0.1"
features = [
"sync",
"sync",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]
[dependencies.trustformers-core]
version = "0.1.4"
default-features = false
[dependencies.uuid]
version = "1.23.4"
features = [
"v4",
"serde",
"v4",
"serde",
]
[dependencies.wasm-bindgen]
version = "0.2.126"
features = ["serde-serialize"]
optional = true
[dependencies.wasm-bindgen-futures]
version = "0.4.76"
optional = true
[dependencies.web-sys]
version = "0.3.103"
features = [
"console",
"Navigator",
"Performance",
"PerformanceTiming",
"Window",
"Worker",
"WorkerGlobalScope",
"WorkerOptions",
"WorkerType",
"MessageEvent",
"MessagePort",
"DedicatedWorkerGlobalScope",
"BroadcastChannel",
"ServiceWorker",
"ServiceWorkerContainer",
"ServiceWorkerRegistration",
"ServiceWorkerGlobalScope",
"CacheStorage",
"Cache",
"Request",
"Response",
"Headers",
"RequestInit",
"Event",
"IdbFactory",
"IdbDatabase",
"IdbTransaction",
"IdbObjectStore",
"IdbRequest",
"IdbCursor",
"IdbKeyRange",
"IdbVersionChangeEvent",
"IdbOpenDbRequest",
"DomException",
"Document",
"Element",
"HtmlElement",
"CustomElementRegistry",
"ShadowRoot",
"ShadowRootMode",
"DomTokenList",
"CssStyleDeclaration",
"CanvasRenderingContext2d",
"WebGlRenderingContext",
"WebGl2RenderingContext",
"HtmlCanvasElement",
"HtmlSelectElement",
"HtmlInputElement",
"HtmlTextAreaElement",
"OffscreenCanvas",
"CustomEvent",
"CustomEventInit",
"Touch",
"TouchEvent",
"TouchList",
"Blob",
"File",
"FileReader",
"HtmlVideoElement",
"ImageBitmap",
"ImageData",
"MediaDevices",
"MediaStream",
"MediaStreamTrack",
"MediaDeviceInfo",
"MediaDeviceKind",
"MediaStreamConstraints",
"MediaTrackConstraints",
"MediaTrackSettings",
"VideoTrack",
"EventTarget",
"GpuDevice",
"GpuBuffer",
"GpuTexture",
"GpuCommandEncoder",
"GpuBindGroup",
"GpuPipelineLayout",
"GpuRenderPipeline",
"GpuComputePipeline",
"GpuShaderModule",
"GpuAdapter",
"GpuQueue",
"Geolocation",
"RequestMode",
"ResponseInit",
"Screen",
"ScreenOrientation",
"Storage",
"StorageManager",
"NodeList",
"HtmlCollection",
]
optional = true
[dev-dependencies.criterion]
version = "0.8.2"
features = [
"html_reports",
"async_tokio",
]
[dev-dependencies.tempfile]
version = "3.27"
[dev-dependencies.tokio-test]
version = "0.4"
[lints.clippy]
all = "warn"
[lints.rust]
dead_code = "warn"
deprecated = "warn"
unused_assignments = "warn"
unused_imports = "warn"
unused_mut = "warn"
unused_variables = "warn"