managed-lhapdf

Crates.iomanaged-lhapdf
lib.rsmanaged-lhapdf
version0.3.4
sourcesrc
created_at2024-05-23 07:31:02.903833
updated_at2024-08-24 08:40:40.693501
description(Unofficial) Rust bindings for the LHAPDF C++ library
homepage
repositoryhttps://github.com/cschwan/managed-lhapdf
max_upload_size
id1249232
size82,801
Christopher Schwan (cschwan)

documentation

README

Rust codecov Documentation crates.io MSRV

Description

(Unofficial) Rust bindings for the LHAPDF C++ library, with automatic management functions. This is the successor of https://github.com/cschwan/lhapdf.

Rust feature flags

  • managed: this feature flag enables the automatic downloading of PDFs. If you would like to disable this feature, specify no-default-features = true when depending on managed-lhapdf.
  • static: when enabled, the LHAPDF library will be linked statically. This allows to redistribute built binaries that run on systems where LHAPDF isn't installed.

(Un)safeness

The struct Pdf implements Send and Sync, which is only safe as long as the corresponding member functions in LHAPDF are truly thread safe. The following versions are known not to be thread safe:

Commit count: 66

cargo fmt