[package]
edition = "2024"
rust-version = "1.88"
name = "rd-rds"
version = "0.0.1"
build = false
exclude = ["tests/fixtures/generate_*.R"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read-only reader for the subset of R's RDS serialization format used by installed-package help databases"
readme = "README.md"
keywords = [
"r",
"rstats",
"rds",
"serialization",
"xdr",
]
categories = [
"encoding",
"parsing",
]
license = "MIT"
repository = "https://github.com/eitsupi/r-documentation-rs"
[features]
bzip2 = ["dep:bzip2"]
default = [
"gzip",
"xz",
"bzip2",
"zstd",
]
gzip = ["dep:flate2"]
xz = ["dep:xz2"]
zstd = ["dep:ruzstd"]
[lib]
name = "rd_rds"
path = "src/lib.rs"
[[test]]
name = "file_envelopes"
path = "tests/file_envelopes.rs"
[[test]]
name = "header_fixtures"
path = "tests/header_fixtures.rs"
[[test]]
name = "oracle_fetchrddb"
path = "tests/oracle_fetchrddb.rs"
[[test]]
name = "package_meta"
path = "tests/package_meta.rs"
[[test]]
name = "packages_matrix"
path = "tests/packages_matrix.rs"
[[test]]
name = "raw_consumer"
path = "tests/raw_consumer.rs"
[dependencies.bzip2]
version = "0.6"
optional = true
[dependencies.flate2]
version = "1"
optional = true
[dependencies.ruzstd]
version = "0.8.3"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.xz2]
version = "0.1"
optional = true
[dev-dependencies.flate2]
version = "1"