irithyll-core 0.3.0

Core types and inference engine for irithyll streaming ML — no_std, loss functions, observation trait, f32 + int16 packed formats, branch-free traversal
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.75"
name = "irithyll-core"
version = "0.3.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and inference engine for irithyll streaming ML — no_std, loss functions, observation trait, f32 + int16 packed formats, branch-free traversal"
readme = false
keywords = [
    "machine-learning",
    "inference",
    "no-std",
    "embedded",
    "decision-trees",
]
categories = [
    "algorithms",
    "no-std",
    "embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/evilrat420/irithyll"

[package.metadata.docs.rs]
features = [
    "alloc",
    "std",
    "serde",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = []
default = []
embedded-bench = [
    "dep:cortex-m-rt",
    "dep:cortex-m-semihosting",
    "dep:panic-halt",
]
serde = ["dep:serde"]
std = ["alloc"]

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

[[example]]
name = "cortex_m_bench"
path = "examples/cortex_m_bench.rs"
required-features = ["embedded-bench"]

[[example]]
name = "cortex_m_hello"
path = "examples/cortex_m_hello.rs"
required-features = ["embedded-bench"]

[dependencies.cortex-m-rt]
version = "0.7"
optional = true

[dependencies.cortex-m-semihosting]
version = "0.5"
optional = true

[dependencies.libm]
version = "0.2"

[dependencies.panic-halt]
version = "1.0"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false