ronn-core 0.1.0

Core runtime engine for RONN - fundamental tensor operations, data types, and session management
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 = "2024"
rust-version = "1.90.0"
name = "ronn-core"
version = "0.1.0"
authors = ["Brock Claussen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core runtime engine for RONN - fundamental tensor operations, data types, and session management"
homepage = "https://github.com/Narcoleptic-Fox/RONN"
documentation = "https://docs.rs/ronn"
readme = false
keywords = [
    "ml",
    "inference",
    "onnx",
    "brain-inspired",
    "runtime",
]
categories = [
    "science",
    "algorithms",
    "wasm",
]
license = "MIT"
repository = "https://github.com/Narcoleptic-Fox/RONN"
resolver = "2"

[features]
default = []
gpu = ["candle-core/cuda"]

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

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "property_tests"
path = "tests/property_tests.rs"

[[test]]
name = "session_tests"
path = "tests/session_tests.rs"

[[test]]
name = "tensor_arithmetic_tests"
path = "tests/tensor_arithmetic_tests.rs"

[[test]]
name = "tensor_matrix_tests"
path = "tests/tensor_matrix_tests.rs"

[[test]]
name = "tensor_reduction_tests"
path = "tests/tensor_reduction_tests.rs"

[[test]]
name = "tensor_shape_tests"
path = "tests/tensor_shape_tests.rs"

[[test]]
name = "test_utils"
path = "tests/test_utils.rs"

[[bench]]
name = "tensor_benchmarks"
path = "benches/tensor_benchmarks.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.candle-core]
version = "0.9"
default-features = false

[dependencies.candle-nn]
version = "0.9"
default-features = false

[dependencies.dashmap]
version = "5.5"

[dependencies.half]
version = "2.6"

[dependencies.once_cell]
version = "1.19"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.uuid]
version = "1.6"
features = [
    "v4",
    "serde",
]

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

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.proptest]
version = "1.4"

[lints.clippy]
absurd_extreme_comparisons = "allow"
approx_constant = "allow"
assertions_on_constants = "allow"
clone_on_ref_ptr = "allow"
cloned_ref_to_slice_refs = "allow"
collapsible_if = "allow"
comparison_to_empty = "allow"
derivable_impls = "allow"
enum_variant_names = "allow"
expect_fun_call = "allow"
field_reassign_with_default = "allow"
for_kv_map = "allow"
format_in_format_args = "allow"
get_first = "allow"
identity_op = "allow"
iter_kv_map = "allow"
len_zero = "allow"
let_and_return = "allow"
manual_div_ceil = "allow"
manual_is_multiple_of = "allow"
manual_range_contains = "allow"
map_clone = "allow"
map_entry = "allow"
needless_question_mark = "allow"
new_without_default = "allow"
or_fun_call = "allow"
redundant_closure = "allow"
should_implement_trait = "allow"
too_many_arguments = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
unnecessary_cast = "allow"
unnecessary_wraps = "allow"
unwrap_or_default = "allow"
upper_case_acronyms = "allow"
useless_vec = "allow"
wildcard_imports = "allow"
wrong_self_convention = "allow"

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

[lints.rust]
dead_code = "allow"
for_loops_over_fallibles = "allow"
missing_docs = "allow"
private_interfaces = "allow"
unused_comparisons = "allow"
unused_imports = "allow"
unused_mut = "warn"
unused_unsafe = "allow"
unused_variables = "allow"