[build-dependencies.cc]
version = "1"
[dependencies.env_logger]
default-features = false
optional = true
version = "0.11"
[dependencies.log]
optional = true
version = "0.4"
[dependencies.num-complex]
optional = true
version = "0.4.5"
[dependencies.once_cell]
version = "1"
[dependencies.rustversion]
version = "1.0"
[dependencies.savvy-ffi]
version = "0.8.3-rc.2"
[dependencies.savvy-macro]
version = "0.8.3-rc.2"
[features]
altrep = ["savvy-ffi/altrep"]
complex = ["num-complex", "savvy-ffi/complex"]
default = []
logger = ["log", "env_logger"]
savvy-test = []
use-custom-error = []
[lib]
name = "savvy"
path = "src/lib.rs"
[package]
authors = ["Hiroaki Yutani"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "A simple R extension interface"
edition = "2021"
exclude = ["/book", "/R-package", "README.qmd"]
license = "MIT"
name = "savvy"
readme = "README.md"
repository = "https://github.com/yutannihilation/savvy/"
rust-version = "1.65.0"
version = "0.8.3-rc.2"
[package.metadata.dist]
dist = false
[package.metadata.docs.rs]
features = ["complex", "altrep", "logger"]
[package.metadata.release]
tag = true
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
min = 1
replace = "v{{version}}"
search = "Unreleased"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "...{{tag_name}}"
search = '\.\.\.HEAD'
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
min = 1
replace = "{{date}}"
search = "ReleaseDate"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = """
<!-- next-header -->
## [Unreleased] (ReleaseDate)
"""
search = "<!-- next-header -->"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = """
<!-- next-url -->
[Unreleased]: https://github.com/yutannihilation/savvy/compare/{{tag_name}}...HEAD"""
search = "<!-- next-url -->"
[profile.dist]
inherits = "release"
lto = "thin"