pelt 0.3.1

Changepoint detection with Pruned Exact Linear Time
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"
rust-version = "1.91.0"
name = "pelt"
version = "0.3.1"
authors = ["Thomas Versteeg <t.versteeg@cemsbv.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Changepoint detection with Pruned Exact Linear Time"
documentation = "https://docs.rs/pelt/"
readme = "README.md"
keywords = ["changepoint"]
categories = ["mathematics"]
license = "MPL-2.0"
repository = "https://github.com/cemsbv/pelt"

[features]
default = ["rayon"]
python = [
    "dep:numpy",
    "dep:pyo3",
]
rayon = ["dep:rayon"]

[lib]
name = "pelt"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"
doctest = false

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

[[test]]
name = "common"
path = "tests/common.rs"

[[test]]
name = "signals"
path = "tests/signals.rs"

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies.branches]
version = "0.4.4"
default-features = false

[dependencies.ndarray]
version = "0.17.2"
default-features = false

[dependencies.numpy]
version = "0.28.0"
optional = true

[dependencies.pyo3]
version = "0.28.2"
features = [
    "extension-module",
    "abi3-py311",
]
optional = true

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

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.smallvec]
version = "2.0.0-alpha.12"

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.csv]
version = "1.4.0"

[dev-dependencies.ndarray-csv]
version = "0.5.4"

[lints.clippy]
dbg_macro = "warn"
decimal_literal_representation = "warn"
deref_by_slicing = "warn"
float_cmp_const = "warn"
format_push_string = "warn"
get_unwrap = "warn"
if_then_some_else_none = "warn"
lossy_float_literal = "warn"
min_ident_chars = "warn"
missing_assert_message = "warn"
missing_asserts_for_indexing = "warn"
missing_docs_in_private_items = "warn"
mutex_atomic = "warn"
negative_feature_names = "warn"
non_zero_suggestions = "warn"
panic_in_result_fn = "warn"
partial_pub_fields = "warn"
pub_without_shorthand = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_feature_names = "warn"
redundant_pub_crate = "allow"
renamed_function_params = "warn"
self_named_module_files = "warn"
semicolon_outside_block = "warn"
str_to_string = "warn"
string_lit_chars_any = "warn"
try_err = "warn"
unseparated_literal_suffix = "warn"
unused_trait_names = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
verbose_file_reads = "warn"
wildcard_dependencies = "warn"

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

[profile.profiling]
debug = 2
inherits = "release"
strip = false

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"