# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "hepmc2" version = "0.7.0" authors = ["Andreas Maier "] description = "Read and write files in the HepMC2 format" readme = "Readme.md" keywords = [ "physics", "parser", ] categories = [ "science", "parser-implementations", ] license = "GPL-3.0-or-later" repository = "https://github.com/a-maier/hepmc2" [[bench]] name = "benchmark" harness = false [dependencies.hepmc2-macros] version = "0.1.0" [dependencies.log] version = "0.4" [dependencies.maybe-async] version = "0.2" [dependencies.nom] version = "7" [dependencies.ryu] version = "1.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.35" features = [ "io-util", "rt-multi-thread", ] optional = true [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.rand] version = "0.8.4" [dev-dependencies.rand_xoshiro] version = "0.6.0" [dev-dependencies.tokio] version = "1.35.1" features = [ "rt", "macros", "fs", ] [dev-dependencies.tokio-test] version = "0.4.3" [features] default = ["sync"] sync = [ "hepmc2-macros/sync", "maybe-async/is_sync", ] tokio = [ "hepmc2-macros/tokio", "dep:tokio", ]