[package]
edition = "2021"
rust-version = "1.65"
name = "extendr-api"
version = "0.8.2"
authors = [
"andy-thomason <andy@andythomason.com>",
"Thomas Down",
"Mossa Merhi Reimert <mossa@sund.ku.dk>",
"Josiah Parry <josiah.parry@gmail.com>",
"Claus O. Wilke <wilke@austin.utexas.edu>",
"Hiroaki Yutani",
"Ilia A. Kosenkov <ilia.kosenkov@outlook.com>",
"Michael Milton <michael.r.milton@gmail.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe and user friendly bindings to the R programming language."
readme = "README.md"
license = "MIT"
repository = "https://github.com/extendr/extendr"
[package.metadata.docs.rs]
features = ["full-functionality"]
[features]
full-functionality = [
"graphics",
"either",
"ndarray",
"faer",
"num-complex",
"serde",
]
graphics = ["libc"]
non-api = ["extendr-ffi/non-api"]
result_condition = []
result_list = []
tests = [
"tests-minimal",
"ndarray",
"faer",
"serde",
"num-complex",
"either",
]
tests-all = [
"tests",
"graphics",
]
tests-graphics = [
"tests-minimal",
"graphics",
]
tests-minimal = []
[lib]
name = "extendr_api"
path = "src/lib.rs"
[[test]]
name = "altrep_tests"
path = "tests/altrep_tests.rs"
[[test]]
name = "call_tests"
path = "tests/call_tests.rs"
[[test]]
name = "dataframe_tests"
path = "tests/dataframe_tests.rs"
[[test]]
name = "debug_tests"
path = "tests/debug_tests.rs"
[[test]]
name = "derive_into_list"
path = "tests/derive_into_list.rs"
[[test]]
name = "deserializer_tests"
path = "tests/deserializer_tests.rs"
[[test]]
name = "extendr_macro"
path = "tests/extendr_macro.rs"
[[test]]
name = "extendr_module_tests"
path = "tests/extendr_module_tests.rs"
[[test]]
name = "externalptr_tests"
path = "tests/externalptr_tests.rs"
[[test]]
name = "features"
path = "tests/features.rs"
[[test]]
name = "from_iterator_tests"
path = "tests/from_iterator_tests.rs"
[[test]]
name = "graphics_tests"
path = "tests/graphics_tests.rs"
[[test]]
name = "into_iterator_tests"
path = "tests/into_iterator_tests.rs"
[[test]]
name = "io_tests"
path = "tests/io_tests.rs"
[[test]]
name = "issue-397-memory-allocation"
path = "tests/issue-397-memory-allocation.rs"
[[test]]
name = "macro_tests"
path = "tests/macro_tests.rs"
[[test]]
name = "na_tests"
path = "tests/na_tests.rs"
[[test]]
name = "ndarray_try_from_tests"
path = "tests/ndarray_try_from_tests.rs"
[[test]]
name = "non_api_tests"
path = "tests/non_api_tests.rs"
required-features = ["non-api"]
[[test]]
name = "rng_tests"
path = "tests/rng_tests.rs"
[[test]]
name = "scalar_ordering_tests"
path = "tests/scalar_ordering_tests.rs"
[[test]]
name = "scalar_tests"
path = "tests/scalar_tests.rs"
[[test]]
name = "serializer_tests"
path = "tests/serializer_tests.rs"
[[test]]
name = "try_from_tests"
path = "tests/try_from_tests.rs"
[[test]]
name = "vector_tests"
path = "tests/vector_tests.rs"
[dependencies.either]
version = "1.8.1"
optional = true
[dependencies.extendr-ffi]
version = "0.8.2"
[dependencies.extendr-macros]
version = "0.8.2"
[dependencies.faer]
version = "0.20.2"
optional = true
[dependencies.libc]
version = "0.2"
optional = true
[dependencies.ndarray]
version = "0.16.1"
optional = true
[dependencies.num-complex]
version = "0.4.6"
optional = true
[dependencies.once_cell]
version = "1.21.3"
[dependencies.paste]
version = "1.0.15"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true
[dev-dependencies.rstest]
version = "0.22.0"