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