subsume 0.2.1

Geometric region embeddings (boxes, cones, octagons, Gaussians, hyperbolic intervals, sheaf networks) for subsumption, entailment, and logical query answering
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 = "subsume"
version = "0.2.1"
authors = ["Arc <attobop@gmail.com>"]
build = false
include = [
    "/src/**/*.rs",
    "/examples/**/*.rs",
    "/docs/katex-header.html",
    "/Cargo.toml",
    "/LICENSE-*",
    "/README.md",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Geometric region embeddings (boxes, cones, octagons, Gaussians, hyperbolic intervals, sheaf networks) for subsumption, entailment, and logical query answering"
documentation = "https://docs.rs/subsume"
readme = "README.md"
keywords = [
    "embeddings",
    "box-embeddings",
    "geometric",
    "subsumption",
    "ontology",
]
categories = [
    "science",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/subsume"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
    "--html-in-header",
    "docs/katex-header.html",
]

[features]
candle-backend = ["dep:candle-core"]
default = ["ndarray-backend"]
ndarray-backend = [
    "dep:ndarray",
    "dep:serde_json",
    "rand",
    "dep:hyperball",
    "dep:skel",
]
rand = ["dep:rand"]

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

[[example]]
name = "box_training"
path = "examples/box_training.rs"

[[example]]
name = "cone_training"
path = "examples/cone_training.rs"

[[example]]
name = "containment_hierarchy"
path = "examples/containment_hierarchy.rs"

[[example]]
name = "el_training"
path = "examples/el_training.rs"

[[example]]
name = "fuzzy_query"
path = "examples/fuzzy_query.rs"

[[example]]
name = "gumbel_box_exploration"
path = "examples/gumbel_box_exploration.rs"

[[example]]
name = "octagon_demo"
path = "examples/octagon_demo.rs"

[[example]]
name = "query2box"
path = "examples/query2box.rs"

[[example]]
name = "taxobell_demo"
path = "examples/taxobell_demo.rs"

[[example]]
name = "taxobell_training"
path = "examples/taxobell_training.rs"
required-features = ["candle-backend"]

[dependencies.candle-core]
version = "0.9"
optional = true

[dependencies.hyperball]
version = "0.1.3"
optional = true

[dependencies.ndarray]
version = "0.16"
features = ["serde-1"]
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.skel]
version = "0.1.1"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy.correctness]
level = "deny"
priority = -1

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"