[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"