[package]
name = "extendr-api"
description = "Safe and user friendly bindings to the R programming language."
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
[dependencies]
extendr-ffi = { workspace = true }
extendr-macros = { workspace = true }
once_cell = "1.21.3"
paste = "1.0.15"
either = { version = "1.8.1", optional = true }
libc = { version = "0.2", optional = true }
ndarray = { version = "0.16.1", optional = true }
num-complex = { version = "0.4.6", optional = true }
serde = { version = "1.0.219", features = ["derive"], optional = true }
faer = { version = "0.20.2", optional = true }
[dev-dependencies]
extendr-engine = { path = "../extendr-engine" }
rstest = "0.22.0"
[features]
result_list = []
result_condition = []
full-functionality = [
"graphics",
"either",
"ndarray",
"faer",
"num-complex",
"serde",
]
non-api = ["extendr-ffi/non-api"]
graphics = ["libc"]
tests-minimal = []
tests = ["tests-minimal", "ndarray", "faer", "serde", "num-complex", "either"]
tests-graphics = ["tests-minimal", "graphics"]
tests-all = ["tests", "graphics"]
[package.metadata.docs.rs]
features = ["full-functionality"]
[[test]]
name = "non_api_tests"
required-features = ["non-api"]