ryft-core 0.0.1

Core abstractions of the Ryft library.
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"
name = "ryft-core"
version = "0.0.1"
authors = ["Emmanouil Antonios Platanios <e.a.platanios@gmail.com>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "CHANGELOG.md",
    "README.md",
    "../../LICENSE-APACHE",
    "../../LICENSE-MIT",
    "../../NOTICE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core abstractions of the Ryft library."
readme = "README.md"
keywords = [
    "ryft",
    "tracing",
    "autodiff",
    "compiler",
    "machine-learning",
]
categories = [
    "compilers",
    "hardware-support",
    "mathematics",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/eaplatanios/ryft"

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "Unreleased"
replace = "{{version}}"
min = 1

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "Release Date"
replace = "{{date}}"
min = 1

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- next-header -->"
replace = """
<!-- next-header -->
## [Unreleased] - Release Date
"""
exactly = 1

[features]
cuda-12 = ["ryft-pjrt/cuda-12"]
cuda-13 = ["ryft-pjrt/cuda-13"]
default = ["xla"]
metal = ["ryft-pjrt/metal"]
neuron = ["ryft-pjrt/neuron"]
rocm-7 = ["ryft-pjrt/rocm-7"]
tpu = ["ryft-pjrt/tpu"]
xla = [
    "ryft-mlir",
    "ryft-pjrt",
]

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

[dependencies.dyn-clone]
version = "1.0.20"

[dependencies.half]
version = "2.7.1"

[dependencies.paste]
version = "1.0.15"

[dependencies.ryft-macros]
version = "0.0.1"
default-features = false

[dependencies.ryft-mlir]
version = "0.0.1"
optional = true
default-features = false

[dependencies.ryft-pjrt]
version = "0.0.1"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"