xdmf 0.2.0

Small library to write XDMF files for Paraview
Documentation
# 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 = "2024"
name = "xdmf"
version = "0.2.0"
authors = ["Philipp Bucher"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Small library to write XDMF files for Paraview"
readme = "README.md"
keywords = [
    "xdmf",
    "paraview",
    "hpc",
    "postprocessing",
    "io",
]
categories = [
    "science",
    "simulation",
    "visualization",
]
license = "MIT"
repository = "https://github.com/philbucher/xdmf"

[features]
default = ["hdf5"]
hdf5 = ["dep:hdf5"]

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

[[example]]
name = "paraview_smoke"
path = "examples/paraview_smoke.rs"

[[example]]
name = "submeshes"
path = "examples/submeshes.rs"

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

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

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

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

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

[dependencies.hdf5]
version = "0.14.0"
optional = true
package = "hdf5-metno"

[dependencies.quick-xml]
version = "0.41"
features = ["serialize"]

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

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.float-cmp]
version = "0.10.0"

[dev-dependencies.fs_extra]
version = "1.3.0"

[dev-dependencies.humansize]
version = "2.1.3"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.temp-dir]
version = "0.2.0"

[dev-dependencies.vtkio]
version = "0.6.3"

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
bool_to_int_with_if = "warn"
cfg_not_test = "warn"
dbg_macro = "warn"
default_trait_access = "warn"
doc_link_with_quotes = "warn"
doc_markdown = "warn"
expect_used = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
field_scoped_visibility_modifiers = "warn"
flat_map_option = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
format_collect = "warn"
get_unwrap = "warn"
if_not_else = "warn"
if_then_some_else_none = "warn"
ignore_without_reason = "warn"
ignored_unit_patterns = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
infinite_loop = "warn"
iter_filter_is_ok = "warn"
iter_filter_is_some = "warn"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_assert = "warn"
manual_instant_elapsed = "warn"
manual_let_else = "warn"
manual_string_new = "warn"
map_err_ignore = "warn"
map_unwrap_or = "warn"
match_bool = "warn"
missing_panics_doc = "warn"
mod_module_files = "warn"
multiple_crate_versions = "warn"
multiple_inherent_impl = "warn"
needless_continue = "warn"
needless_for_each = "warn"
non_std_lazy_statics = "warn"
option_as_ref_cloned = "warn"
panic = "warn"
panic_in_result_fn = "warn"
partial_pub_fields = "warn"
print_stderr = "warn"
print_stdout = "warn"
pub_underscore_fields = "warn"
rc_mutex = "warn"
read_line_without_trim = "warn"
redundant_allocation = "warn"
redundant_clone = "warn"
redundant_else = "warn"
redundant_type_annotations = "warn"
ref_option = "warn"
ref_option_ref = "warn"
ref_patterns = "warn"
renamed_function_params = "warn"
return_and_then = "warn"
same_functions_in_if_condition = "warn"
should_panic_without_expect = "warn"
single_char_pattern = "warn"
stable_sort_primitive = "warn"
str_split_at_newline = "warn"
string_lit_chars_any = "warn"
struct_field_names = "warn"
unchecked_time_subtraction = "warn"
uninlined_format_args = "warn"
unnecessary_box_returns = "warn"
unnecessary_debug_formatting = "warn"
unnecessary_join = "warn"
unnecessary_literal_bound = "warn"
unnecessary_wraps = "warn"
unnested_or_patterns = "warn"
unreadable_literal = "warn"
unseparated_literal_suffix = "warn"
unused_async = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
use_debug = "warn"
use_self = "warn"
used_underscore_binding = "warn"
used_underscore_items = "warn"

[lints.rust]
missing_debug_implementations = "warn"