sheaf 0.1.5

Hierarchical structure, community detection, reconciliation, and conformal prediction
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.80"
name = "sheaf"
version = "0.1.5"
authors = ["Arc <attobop@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hierarchical structure, community detection, reconciliation, and conformal prediction"
homepage = "https://github.com/arclabs561/sheaf"
documentation = "https://docs.rs/sheaf"
readme = "README.md"
keywords = [
    "clustering",
    "community",
    "hierarchy",
    "conformal",
]
categories = [
    "algorithms",
    "science",
    "mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/sheaf"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
clump = ["dep:clump"]
cluster = [
    "std",
    "ndarray",
    "rand",
    "rand_distr",
    "clump",
    "dep:kodama",
]
community = [
    "std",
    "petgraph",
    "rand",
]
default = ["std"]
full = [
    "cluster",
    "community",
    "summarize",
    "parallel",
    "serde",
    "knn-graph",
    "spectral-faer",
    "spectral-sparse",
    "rkhs",
    "wass",
    "kuji",
]
knn-graph = [
    "community",
    "vicinity",
]
kuji = ["dep:kuji"]
metrics = []
parallel = ["rayon"]
rkhs = [
    "dep:rkhs",
    "ndarray",
]
serde = ["dep:serde"]
spectral = [
    "lapl",
    "ndarray",
    "rkhs",
    "kuji",
]
spectral-faer = [
    "spectral",
    "lapl/faer",
]
spectral-sparse = [
    "spectral",
    "lapl/sparse",
]
std = []
summarize = ["std"]
wass = [
    "dep:wass",
    "ndarray",
]

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

[[example]]
name = "clustering_comparison"
path = "examples/clustering_comparison.rs"
required-features = ["cluster"]

[[example]]
name = "embedding_clustering"
path = "examples/embedding_clustering.rs"
required-features = ["knn-graph"]

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

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

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

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

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

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

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

[dependencies.clump]
version = "0.5"
optional = true

[dependencies.faer]
version = "0.19"

[dependencies.kodama]
version = "0.3"
optional = true

[dependencies.kuji]
version = "0.1.7"
optional = true

[dependencies.lapl]
version = "0.1.0"
optional = true

[dependencies.ndarray]
version = "0.16"
optional = true

[dependencies.ndarray-linalg]
version = "0.16"
optional = true

[dependencies.petgraph]
version = "0.6"
optional = true

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

[dependencies.rand_distr]
version = "0.5"
optional = true

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.rkhs]
version = "0.1.0"
optional = true

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

[dependencies.thiserror]
version = "2.0"

[dependencies.vicinity]
version = "0.1.0"
optional = true

[dependencies.wass]
version = "0.1"
optional = true

[dev-dependencies.clump]
version = "0.5"

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

[dev-dependencies.lapl]
version = "0.1.1"

[dev-dependencies.ndarray]
version = "0.16"

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

[dev-dependencies.rmt]
version = "0.1"

[lints.clippy]
doc_markdown = "allow"
empty_loop = "deny"
expect_used = "warn"
large_enum_variant = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
mutex_atomic = "warn"
never_loop = "warn"
too_many_arguments = "allow"
type_complexity = "allow"
unwrap_in_result = "deny"
unwrap_used = "warn"
wrong_self_convention = "allow"

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

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

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

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

[lints.clippy.restriction]
level = "allow"
priority = -1

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

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

[lints.rust]
missing_docs = "warn"
semicolon_in_expressions_from_macros = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unsafe_op_in_unsafe_fn = "warn"
unstable_features = "deny"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_results = "warn"
variant_size_differences = "warn"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.nonstandard_style]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1