survival 1.2.13

A high-performance survival analysis library written in Rust with Python bindings
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.93"
name = "survival"
version = "1.2.13"
authors = ["Cameron Lyons <cameron.lyons2@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance survival analysis library written in Rust with Python bindings"
readme = "README.md"
keywords = [
    "survival-analysis",
    "statistics",
    "biostatistics",
    "cox-regression",
]
categories = [
    "science",
    "mathematics",
]
license = "MIT"
repository = "https://github.com/Cameron-Lyons/survival"

[features]
cuda = []
default = []
extension-module = ["pyo3/extension-module"]

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

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

[dependencies.burn]
version = "0.20.1"
features = [
    "autodiff",
    "ndarray",
]

[dependencies.faer]
version = "0.24.0"

[dependencies.fastrand]
version = "2.3.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.ndarray]
version = "0.17.2"
features = ["rayon"]

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.numpy]
version = "0.28.0"

[dependencies.pulp]
version = "0.22.2"

[dependencies.pyo3]
version = "0.28.2"

[dependencies.rayon]
version = "1.11.0"

[dependencies.wide]
version = "1.1.1"

[dev-dependencies.divan]
version = "0.1.21"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.149"

[build-dependencies.pyo3-build-config]
version = "0.28.2"
features = ["resolve-config"]

[profile.bench]
debug = 2
inherits = "release"

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

[profile.release-native]
inherits = "release"