[package]
edition = "2024"
rust-version = "1.91.0"
name = "pineappl_cli"
version = "1.4.2"
authors = ["Christopher Schwan <handgranaten-herbert@posteo.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read, write, and query PineAPPL grids"
readme = "README.md"
keywords = [
"high-energy-physics",
"physics",
]
categories = ["science"]
license = "GPL-3.0-or-later"
repository = "https://github.com/NNPDF/pineappl"
resolver = "2"
[package.metadata.docs.rs]
rustc-args = ['--cfg feature="docs-only"']
[features]
applgrid = [
"dep:cxx",
"dep:pineappl_applgrid",
]
evolve = [
"dep:base64",
"dep:either",
"dep:tar",
"dep:lz4_flex",
"dep:ndarray-npy",
"dep:serde",
"dep:serde_yaml",
]
fastnlo = ["dep:pineappl_fastnlo"]
fktable = [
"dep:flate2",
"dep:tar",
]
static = [
"lhapdf/static",
"pineappl/static",
"pineappl_applgrid?/static",
"pineappl_fastnlo?/static",
]
[lib]
name = "pineappl_cli"
path = "src/lib.rs"
[[bin]]
name = "pineappl"
path = "src/main.rs"
[[test]]
name = "analyze"
path = "tests/analyze.rs"
[[test]]
name = "channels"
path = "tests/channels.rs"
[[test]]
name = "convolve"
path = "tests/convolve.rs"
[[test]]
name = "diff"
path = "tests/diff.rs"
[[test]]
name = "evolve"
path = "tests/evolve.rs"
[[test]]
name = "export"
path = "tests/export.rs"
[[test]]
name = "help"
path = "tests/help.rs"
[[test]]
name = "import"
path = "tests/import.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[[test]]
name = "merge"
path = "tests/merge.rs"
[[test]]
name = "orders"
path = "tests/orders.rs"
[[test]]
name = "plot"
path = "tests/plot.rs"
[[test]]
name = "pull"
path = "tests/pull.rs"
[[test]]
name = "read"
path = "tests/read.rs"
[[test]]
name = "subgrids"
path = "tests/subgrids.rs"
[[test]]
name = "uncert"
path = "tests/uncert.rs"
[[test]]
name = "write"
path = "tests/write.rs"
[dependencies.anyhow]
version = "1.0.68"
[dependencies.base64]
version = "0.22.1"
optional = true
[dependencies.clap]
version = "4.5.28"
features = ["derive"]
[dependencies.cxx]
version = "1.0.161"
optional = true
[dependencies.either]
version = "1.8.0"
features = ["serde"]
optional = true
[dependencies.enum_dispatch]
version = "0.3.7"
[dependencies.flate2]
version = "1.0.22"
optional = true
[dependencies.float-cmp]
version = "0.10.0"
default-features = false
[dependencies.git-version]
version = "0.3.5"
[dependencies.itertools]
version = "0.14.0"
[dependencies.lhapdf]
version = "0.4.1"
package = "managed-lhapdf"
[dependencies.lz4_flex]
version = "0.13.0"
optional = true
[dependencies.ndarray]
version = "0.17.2"
[dependencies.ndarray-npy]
version = "0.10.0"
features = ["npz"]
optional = true
default-features = false
[dependencies.pineappl]
version = "=1.4.2"
[dependencies.pineappl_applgrid]
version = "=1.4.2"
optional = true
[dependencies.pineappl_fastnlo]
version = "=1.4.2"
optional = true
[dependencies.prettytable-rs]
version = "0.10.0"
features = ["win_crlf"]
default-features = false
[dependencies.rayon]
version = "1.5.1"
[dependencies.serde]
version = "1.0.130"
features = ["derive"]
optional = true
[dependencies.serde_yaml]
version = "0.9.13"
optional = true
[dependencies.tar]
version = "0.4.46"
optional = true
default-features = false
[dev-dependencies.assert_cmd]
version = "2.0.2"
[dev-dependencies.assert_fs]
version = "1.0.6"
[dev-dependencies.predicates]
version = "3.1.0"
default-features = false
[lints.clippy]
absolute_paths = "warn"
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arbitrary_source_item_ordering = "warn"
cognitive-complexity = "allow"
doc_paragraphs_missing_punctuation = "warn"
if_then_some_else_none = "warn"
module-name-repetitions = "allow"
non_ascii_literal = "warn"
redundant_test_prefix = "warn"
renamed_function_params = "warn"
return_and_then = "warn"
self_named_module_files = "warn"
semicolon_inside_block = "warn"
similar-names = "allow"
str_to_string = "warn"
string_slice = "warn"
too-many-lines = "allow"
unreadable-literal = "allow"
unused_trait_names = "warn"
wildcard_enum_match_arm = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing-docs = "warn"
unsafe-op-in-unsafe-fn = "deny"