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