[package]
edition = "2021"
rust-version = "1.71"
name = "extendr-api"
version = "0.9.0"
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 = [
"either",
"faer",
"graphics",
"ndarray",
"num-complex",
"serde",
]
graphics = ["libc"]
non-api = ["extendr-ffi/non-api"]
result_condition = []
result_list = []
tests = [
"either",
"faer",
"ndarray",
"num-complex",
"serde",
"tests-minimal",
]
tests-all = [
"graphics",
"tests",
]
tests-graphics = [
"graphics",
"tests-minimal",
]
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 = "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 = "parse_tests"
path = "tests/parse_tests.rs"
[[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 = "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.9.0"
[dependencies.extendr-macros]
version = "0.9.0"
[dependencies.faer]
version = "0.20"
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.readonly]
version = "0.2.13"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true
[dev-dependencies.rstest]
version = "0.22.0"