torsh-functional 0.1.0

Functional programming utilities for ToRSh tensors
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.77"
name = "torsh-functional"
version = "0.1.0"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Functional programming utilities for ToRSh tensors"
homepage = "https://github.com/cool-japan/torsh/"
documentation = "https://docs.rs/torsh-functional"
readme = "README.md"
keywords = [
    "deep-learning",
    "functional",
    "tensor-ops",
    "machine-learning",
    "pytorch",
]
categories = [
    "science",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/torsh/"

[features]
default = []
simd = [
    "dep:torsh-backend",
    "dep:wide",
]

[lib]
name = "torsh_functional"
path = "src/lib.rs"

[dependencies.num-traits]
version = "0.2"

[dependencies.once_cell]
version = "1.21"

[dependencies.oxifft]
version = "0.1.3"

[dependencies.rayon]
version = "1.10"

[dependencies.scirs2-autograd]
version = "0.2.0"

[dependencies.scirs2-core]
version = "0.2.0"
features = [
    "simd",
    "parallel",
    "memory_management",
    "serialization",
    "oxicode",
    "oxiblas-blas",
    "oxiblas-lapack",
    "oxiblas-ndarray",
    "validation",
    "types",
    "random",
]

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.torsh-backend]
version = "0.1.0"
features = ["simd"]
optional = true

[dependencies.torsh-core]
version = "0.1.0"

[dependencies.torsh-linalg]
version = "0.1.0"

[dependencies.torsh-special]
version = "0.1.0"

[dependencies.torsh-tensor]
version = "0.1.0"

[dependencies.wide]
version = "0.7"
optional = true

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[lints.clippy]
expect_used = "allow"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "allow"
similar_names = "allow"
too_many_lines = "allow"
unwrap_used = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "allow"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
dead_code = "warn"
unreachable_code = "warn"
unsafe_code = "allow"
unused_imports = "warn"
unused_variables = "warn"