-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
47 lines (37 loc) · 1.22 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "mseedio"
version = "0.1.0"
edition = "2021"
authors = ["jt_yang <[email protected]>"]
readme = "README.md"
license = "MIT"
rust-version = "1.65.0" # MSRV
keywords = ["miniseed", "seismology"]
description = "A library for reading and writing miniSEED files"
repository = "https://github.com/Daillusorisch/mseedio"
documentation = "https://docs.rs/mseedio"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
anyhow = { version = "1.0", default-features = false }
bitflags = { version = ">2.0", features = ["serde"] }
crc = { version = "3" }
log = "0.4"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", default-features = false }
# optional
chrono = { version = "0.4", default-features = false, features = ["clock", "now", "android-tzdata"], optional = true }
[dev-dependencies]
env_logger = ">=0.9.0"
clap = { version = ">=4.2.0" , features = ["derive"] }
[[example]]
name = "mseedviewer"
[features]
default = ["std", "chrono"]
chrono = ["dep:chrono"]
# default
std = ["serde/std", "serde_json/std", "anyhow/std", "chrono/std"]
# should be used in no_std environment
alloc = ["serde/alloc", "serde_json/alloc", "chrono/alloc"]
[profile.release]
lto = true