[package]
edition = "2024"
rust-version = "1.85.0"
name = "opendp"
version = "0.14.2"
authors = ["The OpenDP Project <info@opendp.org>"]
build = "build/main.rs"
exclude = ["windows/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library of differential privacy algorithms for the statistical analysis of sensitive private data."
homepage = "https://opendp.org/"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/opendp/opendp"
[package.metadata.docs.rs]
no-default-features = true
features = [
"use-openssl",
"derive",
"untrusted",
"polars",
]
rustdoc-args = [
"--html-in-header",
"katex.html",
"--document-private-items",
]
[features]
bindings = [
"ffi",
"derive",
"extension-module",
"pyo3-build-config",
]
contrib = []
default = [
"partials",
"use-openssl",
"extension-module",
]
derive = [
"opendp_tooling",
"opendp_derive/full",
"syn",
"proc-macro2",
]
extension-module = ["pyo3/extension-module"]
ffi = [
"lazy_static",
"cbindgen",
]
floating-point = []
honest-but-curious = []
partials = [
"derive",
"opendp_derive/partials",
]
polars = [
"dep:polars",
"polars-plan",
"polars-arrow",
"pyo3",
"pyo3-polars",
"serde",
"serde-pickle",
"chrono",
"polars-utils",
]
untrusted = [
"floating-point",
"contrib",
"honest-but-curious",
]
use-openssl = ["openssl"]
[lib]
name = "opendp"
crate-type = [
"rlib",
"cdylib",
"staticlib",
]
path = "src/lib.rs"
[dependencies.bitvec]
version = "1.0"
[dependencies.chrono]
version = "0.4.31"
features = ["std"]
optional = true
default-features = false
[dependencies.dashu]
version = "0.4.0"
features = ["num-traits_v02"]
[dependencies.lazy_static]
version = "1.4.0"
optional = true
[dependencies.num]
version = "0.3.1"
[dependencies.opendp_derive]
version = "0.14.2"
[dependencies.opendp_tooling]
version = "0.14.2"
optional = true
[dependencies.openssl]
version = "0.10.71"
features = ["vendored"]
optional = true
[dependencies.polars]
version = "=0.50.0"
features = [
"meta",
"abs",
"approx_unique",
"array_any_all",
"arg_where",
"bitwise",
"business",
"concat_str",
"cum_agg",
"cumulative_eval",
"dataframe_arithmetic",
"month_start",
"month_end",
"offset_by",
"diagonal_concat",
"diff",
"dot_diagram",
"dot_product",
"dtype-categorical",
"dtype-full",
"dynamic_group_by",
"ewma",
"ewma_by",
"fmt",
"fused",
"interpolate",
"interpolate_by",
"is_first_distinct",
"is_last_distinct",
"is_unique",
"is_between",
"is_close",
"lazy",
"list_eval",
"list_to_struct",
"list_arithmetic",
"array_arithmetic",
"array_to_struct",
"log",
"mode",
"moment",
"ndarray",
"partition_by",
"product",
"random",
"range",
"rank",
"reinterpret",
"replace",
"rolling_window",
"rolling_window_by",
"round_series",
"row_hash",
"rows",
"semi_anti_join",
"serde-lazy",
"string_encoding",
"string_normalize",
"string_reverse",
"string_to_integer",
"string_pad",
"strings",
"temporal",
"to_dummies",
"true_div",
"unique_counts",
"zip_with",
"cov",
"approx_unique",
"array_any_all",
"array_count",
"bitwise",
"is_in",
"repeat_by",
"trigonometry",
"sign",
"performant",
"list_gather",
"list_filter",
"list_count",
"list_sets",
"list_any_all",
"list_drop_nulls",
"list_sample",
"cutqcut",
"rle",
"extract_groups",
"pivot",
"extract_jsonpath",
"asof_join",
"cross_join",
"pct_change",
"index_of",
"search_sorted",
"merge_sorted",
"top_k",
"propagate_nans",
"timezones",
"peaks",
"hist",
"find_many",
"string_normalize",
]
optional = true
[dependencies.polars-arrow]
version = "=0.50.0"
optional = true
[dependencies.polars-plan]
version = "=0.50.0"
features = [
"ffi_plugin",
"python",
]
optional = true
[dependencies.polars-utils]
version = "=0.50.0"
optional = true
[dependencies.pyo3]
version = "0.25"
features = ["abi3-py310"]
optional = true
[dependencies.pyo3-polars]
version = "=0.23.1"
features = [
"derive",
"dtype-array",
"dtype-categorical",
"dtype-struct",
"lazy",
]
optional = true
[dependencies.rand]
version = "0.7.3"
[dependencies.readonly]
version = "0.2"
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.serde-pickle]
version = "1.1"
optional = true
[dependencies.statrs]
version = "0.13.0"
[dependencies.thiserror]
version = "1.0.24"
[build-dependencies.cbindgen]
version = "0.28.0"
optional = true
[build-dependencies.opendp_tooling]
version = "0.14.2"
optional = true
[build-dependencies.proc-macro2]
version = "1.0"
optional = true
[build-dependencies.pyo3-build-config]
version = "0.25"
optional = true
[build-dependencies.syn]
version = "2.0"
features = [
"full",
"parsing",
]
optional = true