[package]
edition = "2021"
rust-version = "1.80.1"
name = "pineappl_cli"
version = "1.3.3"
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"
[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.48"
[dependencies.base64]
version = "0.22.1"
optional = true
[dependencies.clap]
version = "4.5.28"
features = ["derive"]
[dependencies.cxx]
version = "1.0.65"
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.9.0"
default-features = false
[dependencies.git-version]
version = "0.3.5"
[dependencies.itertools]
version = "0.10.1"
[dependencies.lhapdf]
version = "0.3.4"
package = "managed-lhapdf"
[dependencies.lz4_flex]
version = "0.9.2"
optional = true
[dependencies.ndarray]
version = "0.15.4"
[dependencies.ndarray-npy]
version = "0.8.1"
features = ["npz"]
optional = true
default-features = false
[dependencies.pineappl]
version = "=1.3.3"
[dependencies.pineappl_applgrid]
version = "=1.3.3"
optional = true
[dependencies.pineappl_fastnlo]
version = "=1.3.3"
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.38"
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]
cognitive-complexity = "allow"
module-name-repetitions = "allow"
similar-names = "allow"
too-many-lines = "allow"
unreadable-literal = "allow"
[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"