ffai-core 0.7.1

FFai shared types, engine traits, and the engine registry
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.95"
name = "ffai-core"
version = "0.7.1"
authors = ["Remade With Rust"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FFai shared types, engine traits, and the engine registry"
readme = "README.md"
keywords = [
    "ai",
    "inference",
    "candle",
    "machine-learning",
    "toolkit",
]
categories = [
    "multimedia",
    "science",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Remade-With-Rust/FFai"
resolver = "2"

[features]
cuda = ["candle-core/cuda"]
metal = ["candle-core/metal"]

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

[dependencies.candle-core]
version = "0.11"

[dependencies.rayon]
version = "1"

[dependencies.thiserror]
version = "2"

[lints.clippy]
cast_precision_loss = "allow"
excessive_precision = "allow"
format_push_string = "allow"
inline_always = "allow"
items_after_statements = "allow"
missing_errors_doc = "allow"
option_if_let_else = "allow"
struct_excessive_bools = "allow"
suboptimal_flops = "allow"
too_long_first_doc_paragraph = "allow"

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

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

[lints.rust]
unsafe_code = "warn"