[package]
edition = "2024"
rust-version = "1.88"
name = "libmseed"
version = "0.1.2"
build = false
exclude = [
".github/",
"libmseed-wasm/",
"fuzz/",
"design.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust, safe port of libmseed: read, write and manage miniSEED 2 and 3 seismological data"
readme = "README.md"
keywords = [
"miniseed",
"seismology",
"seed",
"geophysics",
"timeseries",
]
categories = [
"science",
"parser-implementations",
"encoding",
]
license = "Apache-2.0"
repository = "https://github.com/EarthScope/libmseed-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "libmseed"
path = "src/lib.rs"
[[example]]
name = "extraheaders"
path = "examples/extraheaders.rs"
[[example]]
name = "mseedview"
path = "examples/mseedview.rs"
[[example]]
name = "pack_rollingbuffer"
path = "examples/pack_rollingbuffer.rs"
[[example]]
name = "read_buffer"
path = "examples/read_buffer.rs"
[[example]]
name = "read_recordlist"
path = "examples/read_recordlist.rs"
[[example]]
name = "read_selection"
path = "examples/read_selection.rs"
[[example]]
name = "sids"
path = "examples/sids.rs"
[[example]]
name = "timestr"
path = "examples/timestr.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "extraheaders"
path = "tests/extraheaders.rs"
[[test]]
name = "pack"
path = "tests/pack.rs"
[[test]]
name = "read"
path = "tests/read.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[[test]]
name = "selection"
path = "tests/selection.rs"
[[test]]
name = "sid"
path = "tests/sid.rs"
[[test]]
name = "time"
path = "tests/time.rs"
[[test]]
name = "tracelist"
path = "tests/tracelist.rs"
[[test]]
name = "write"
path = "tests/write.rs"
[dependencies.bitflags]
version = "2"
[dependencies.log]
version = "0.4"
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[profile.release]
lto = true
codegen-units = 1