# 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 = "cubecl-ir"
version = "0.10.0-pre.3"
authors = [
    "nathanielsimard <nathaniel.simard.42@gmail.com>",
    "louisfd <louisfd94@gmail.com",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Intermediate representation for CubeCL"
readme = "README.md"
keywords = []
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/cubecl/tree/main/crates/cubecl-ir"
resolver = "2"

[features]
default = [
    "serde",
    "std",
]
serde = [
    "dep:serde",
    "hashbrown/serde",
    "enumset/serde",
]
std = []
tracing = ["cubecl-common/tracing"]

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

[dependencies.cubecl-common]
version = "=0.10.0-pre.3"
features = [
    "fp4",
    "fp8",
]
default-features = false

[dependencies.cubecl-macros-internal]
version = "=0.10.0-pre.3"

[dependencies.derive-new]
version = "0.7.0"
default-features = false

[dependencies.derive_more]
version = "2"
features = ["from"]
default-features = false

[dependencies.enumset]
version = "1.1.10"
default-features = false

[dependencies.float-ord]
version = "0.3"

[dependencies.fnv]
version = "1"

[dependencies.foldhash]
version = "0.2"
default-features = false

[dependencies.half]
version = "2.5"
features = [
    "alloc",
    "num-traits",
    "serde",
]
default-features = false

[dependencies.hashbrown]
version = "0.16"

[dependencies.num-traits]
version = "0.2.19"
features = ["libm"]
default-features = false

[dependencies.portable-atomic]
version = "1.11"
features = ["serde"]
default-features = false

[dependencies.serde]
version = "1.0.204"
features = [
    "derive",
    "alloc",
    "rc",
]
optional = true
default-features = false

[dependencies.variadics_please]
version = "1"

[lints.clippy]
doc_markdown = "warn"

[lints.rust]
warnings = "warn"

[lints.rustdoc]
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"
