ustar-parser 0.1.4

Lightweight STAR format parser for CIF, mmCIF, NMR-STAR, and other scientific data formats
# 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"
rust-version = "1.83.0"
name = "ustar-parser"
version = "0.1.4"
build = "build.rs"
exclude = [
    "tests/test_data/dicts/*.dic",
    "tests/test_data/dicts/*.cif",
    "tests/test_data/bmrb_stars/*.str",
    "tests/test_data/cod_cifs/*.cif",
    "tests/test_data/mmcif/*.cif",
    "tests/test_data/nef_examples/*.nef",
    "tests/test_data/nef_spec/*.nef",
    "tests/test_data/pdb_mmcifs/*.cif",
    "tests/snapshots/*.snap",
    "tests/snapshots/*.snap.zst",
    "**/.DS_Store",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight STAR format parser for CIF, mmCIF, NMR-STAR, and other scientific data formats"
homepage = "https://github.com/varioustoxins/ustar"
documentation = "https://docs.rs/ustar-parser"
readme = "README.md"
keywords = [
    "parser",
    "star",
    "cif",
    "mmcif",
    "crystallography",
]
categories = [
    "parsing",
    "science",
]
license = "LGPL-3.0-only"
repository = "https://github.com/varioustoxins/ustar"

[features]
default = ["extended-errors"]
extended-errors = [
    "miette",
    "thiserror",
]
no-large-tests = ["ustar-test-utils/no-large-tests"]
serde = [
    "dep:serde",
    "dep:serde_json",
]

[lib]
name = "ustar"
path = "src/lib.rs"

[[test]]
name = "encoding_tests"
path = "tests/encoding_tests.rs"

[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "line_column_index_tests"
path = "tests/line_column_index_tests.rs"

[[test]]
name = "parse_sas_test_files"
path = "tests/parse_sas_test_files.rs"

[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"

[[test]]
name = "sas_walker_tests"
path = "tests/sas_walker_tests.rs"

[[test]]
name = "snapshot_utils"
path = "tests/snapshot_utils.rs"

[[test]]
name = "string_decomposition_tests"
path = "tests/string_decomposition_tests.rs"

[[test]]
name = "test_data_download"
path = "tests/test_data_download.rs"

[dependencies.memchr]
version = "2.7"

[dependencies.miette]
version = "7.2"
features = ["fancy"]
optional = true

[dependencies.pest]
version = "2.8"

[dependencies.pest_derive]
version = "2.8"
features = ["grammar-extras"]

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0"
optional = true

[dev-dependencies.indoc]
version = "2.0"

[dev-dependencies.insta]
version = "1.34"

[dev-dependencies.rstest]
version = "0.18"

[dev-dependencies.sha1]
version = "0.10"

[dev-dependencies.ustar-test-utils]
version = "0.1.4"

[lints.clippy]
expect_fun_call = "allow"
implicit_saturating_sub = "allow"
let_and_return = "allow"
manual_is_multiple_of = "allow"
needless_borrows_for_generic_args = "allow"
needless_range_loop = "allow"
new_without_default = "allow"
ptr_arg = "allow"
redundant_pattern_matching = "allow"
single_component_path_imports = "allow"
useless_conversion = "allow"
useless_vec = "allow"