Files
rustytorch/crates/specialized/rtx-science/Cargo.toml
T
Omar Sobh 16161bb9df deps: align all 56 per-crate Cargo.toml files to thiserror v2
The workspace root was upgraded to thiserror = "2" in an earlier commit,
but 56 per-crate Cargo.toml files still independently declared "1.0".
These crates do not use workspace.dependencies inheritance for thiserror.
All updated to thiserror = "2" for complete fleet alignment.

Includes: rtx-backend, rtx-tensor, rtx-losses, rtx-backend-cuda/rocm/metal,
all training crates (rtx-auto, rtx-rl, rtx-distributed, rtx-federated, etc.),
specialized crates (rtx-science, rtx-platform, rtx-nmf, rtx-neuro-*),
production crates (rtx-streaming, rtx-serving-api), and all demo crates.

cargo check --workspace: PASSES.
2026-04-26 11:45:14 -07:00

90 lines
2.3 KiB
TOML

[package]
name = "rtx-science"
version = "1.0.0"
edition.workspace = true
rust-version = "1.92"
authors = ["Claude AI Assistant"]
license = "MIT"
description = "Physics-informed neural networks and scientific computing for RTX"
keywords = ["machine-learning", "scientific-computing", "physics", "chemistry", "materials"]
categories = ["science", "algorithms", "mathematics"]
[dependencies]
# Essential async and error handling
tokio = { version = "1.0", features = ["full"] }
anyhow = "1.0"
thiserror = "2"
tracing = "0.1"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Mathematics and linear algebra
nalgebra.workspace = true
num-complex = "0.4"
rand = "0.8"
rand_distr = "0.4"
# Concurrency and parallelism
rayon = "1.8"
parking_lot = "0.12"
crossbeam = "0.8"
futures = "0.3"
async-trait = "0.1"
# Collections and indexing
indexmap = "2.0"
dashmap = "6.0"
# Additional scientific computing dependencies
approx = "0.5"
ndarray = "0.16"
ndarray-linalg = { version = "0.16", features = ["openblas-static"] }
sprs = "0.11" # Sparse matrices
itertools = "0.13"
statrs.workspace = true
ode_solvers = "0.3" # ODE solvers
rustfft = "6.0" # Fast Fourier Transform
lapack = "0.19" # Linear Algebra Package
derive_more = "0.99"
# RTX dependencies for cuSOLVER acceleration
rtx-tensor.workspace = true
rtx-autograd.workspace = true
rtx-memory.workspace = true
# rtx-distributed.workspace = true # Temporarily disabled due to NCCL compilation issues
# Graph neural networks
petgraph = "0.6"
[dev-dependencies]
tokio-test = "0.4"
proptest = "1.4"
criterion = { version = "0.5", features = ["html_reports"] }
tempfile = "3.0"
[features]
default = ["pinn", "chemistry", "biology", "materials", "computing"]
# Core features
pinn = [] # Physics-informed neural networks
chemistry = [] # Chemistry applications
biology = [] # Biology applications
materials = [] # Materials science
computing = [] # Scientific computing infrastructure
# Optional integrations
cuda-enhanced = [] # Enhanced CUDA kernels
distributed-sci = [] # Distributed scientific computing
[[bench]]
name = "science_bench"
harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints]
workspace = true