[package]
edition = "2024"
name = "convolve-rs"
version = "1.0.2"
authors = ["Alec Thomson"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of beamcon from RACS-tools: smooth FITS images and cubes to a common beam via UV-plane (FFT) convolution"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/alecthomson/convolve-rs"
[features]
abi3 = [
"python",
"pyo3/abi3-py310",
]
python = [
"dep:pyo3",
"dep:numpy",
]
stubgen = [
"python",
"dep:pyo3-stub-gen",
]
[lib]
name = "convolve_rs"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "convolvers"
path = "src/main.rs"
[[test]]
name = "miriad_compat"
path = "tests/miriad_compat.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.fitsio]
version = "0.21"
features = ["fitsio-src"]
[dependencies.indicatif]
version = "0.17"
features = ["rayon"]
[dependencies.ndarray]
version = "0.16"
[dependencies.numpy]
version = "0.26"
optional = true
[dependencies.pyo3]
version = "0.26"
features = ["extension-module"]
optional = true
[dependencies.pyo3-stub-gen]
version = "0.22.3"
optional = true
[dependencies.rayon]
version = "1"
[dependencies.realfft]
version = "3"
[dependencies.rustfft]
version = "6"
[dependencies.thiserror]
version = "1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]