# 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"
name = "scirs2-interpolate"
version = "0.1.0-rc.4"
authors = ["SciRS2 Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interpolation module for SciRS2 (scirs2-interpolate)"
readme = "README.md"
keywords = [
    "interpolation",
    "spline",
    "scientific",
    "scipy",
    "numerical",
]
categories = [
    "science",
    "mathematics",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cool-japan/scirs"

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

[features]
default = []
linalg = []
parallel = ["scirs2-core/parallel"]
scipy-comparison = [
    "pyo3",
    "numpy",
]
serde = ["dep:serde"]
simd = ["scirs2-core/simd"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "performance_regression"
path = "benches/performance_regression.rs"

[[bench]]
name = "scipy_comparison"
path = "benches/scipy_comparison.rs"

[[bench]]
name = "simd_validation"
path = "benches/simd_validation.rs"

[dependencies.fastrand]
version = "2.3.0"

[dependencies.num_cpus]
version = "1.17.0"

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

[dependencies.ordered-float]
version = "5.1.0"

[dependencies.pyo3]
version = "0.27.2"
features = ["auto-initialize"]
optional = true

[dependencies.scirs2-core]
version = "0.1.0-rc.4"
features = [
    "simd",
    "parallel",
    "random",
    "array",
]

[dependencies.scirs2-linalg]
version = "0.1.0-rc.4"

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

[dependencies.statrs]
version = "0.18.0"

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.approx]
version = "0.5.1"

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

[dev-dependencies.plotters]
version = "0.3.7"

[lints.rust]
dead_code = "allow"
mismatched_lifetime_syntaxes = "allow"
unknown_lints = "allow"
unpredictable_function_pointer_comparisons = "allow"
unused_imports = "allow"
unused_mut = "allow"
unused_variables = "allow"
