-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathCargo.toml
175 lines (143 loc) · 4.21 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
[package]
name = "rinex"
version = "0.17.0-beta"
license = "MPL-2.0"
authors = ["Guillaume W. Bres <[email protected]>"]
description = "RINEX file parsing, analysis and production"
homepage = "https://github.com/rtk-rs"
repository = "https://github.com/rtk-rs/rinex"
keywords = ["geo", "gnss", "gps", "galileo"]
categories = ["science", "science::geo", "parsing"]
edition = "2021"
readme = "README.md"
rust-version = "1.64"
exclude = [
"test_resources/*",
]
#####################################################################
# To understand the lib features, please read the following comments.
#
# Other features that exist:
# - log: unlocks debug traces
# - serde: internal structures serdes
#####################################################################
################################################################
# Note for devs:
#
# [Dependencies] see if we can get rid of
# - geo: either replaced by Orbit, and 3D does not exist anyway
# - wkt:
# - strum/macros
# - regex
# - num/num-integer (.div_ceil)
################################################################
[features]
default = []
# OBSERVATION RINEX Iterators & methods. Unlocks signal combinations.
obs = []
# NAVIGATION RINEX (decoded radio messages) Iterators & methods.
# Unlocks navigation calculations including Kepler solver and Ut1Provider.
nav = [
"nalgebra",
"anise",
]
# Provides the special UT1-TAI methods
ut1 = [
"hifitime/ut1",
]
# METEO RINEX dedicated Iterators & methods.
meteo = []
# IONEX (special RINEX) dedicated Iterators & methods.
ionex = []
# CLOCK (Special RINEX) dedicated Iterators & methods.
clock = []
# ANTEX for accurate antenna characteristics: dedicated Iterators & methods.
antex = []
# DORIS (Special Observation RINEX) specific Iterators & methods.
doris = []
# BINEX RNX2BIN and BIN2RNX serdes
binex = [
"dep:binex"
]
# RTCM RTCM2RNX and RNX2RTCM serdes
rtcm = [
"dep:rtcm-rs",
]
# Unlock Quality Check and TEQC like methods & traits.
qc = [
"dep:gnss-qc-traits",
"dep:maud",
]
# Unlocks the Filter designer, pre and post processing algorithms.
processing = [
"qc",
"gnss-qc-traits/processing",
]
# Unlock all features, at once
full = [
"antex",
"clock",
"doris",
"flate2",
"ionex",
"meteo",
"nav",
"obs",
"processing",
"serde",
"binex",
"rtcm",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docrs", "--generate-link-to-definition"]
[build-dependencies]
serde_json = { version = "1.0", features = ["preserve_order"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
[dependencies]
num = "0.4"
regex = "1"
strum = "0.26"
thiserror = "2"
lazy_static = "1.4"
num-derive = "0.4"
itertools = "0.13.0"
# Log is optional and our "debug" feature: use this if you're a dev.
# Turn this on to obtain debug traces during parsing, formatting and calculations
# Use DEBUG sensitivy for all traces.
# Use normal sensitivy for error / warning traces.
log = { version = "0.4", optional = true }
dms-coordinates = "1.3.1"
bitflags = { version = "2.3", features = ["serde"] }
serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] }
geo = { version = "0.28", optional = true }
wkt = { version = "0.10.0", default-features = false, optional = true }
flate2 = { version = "1", optional = true }
anise = { version = "0.5.3", optional = true }
nalgebra = { version = "0.33.0", optional = true }
hifitime = { version = "4.0.0", features = ["serde", "std"] }
gnss-rs = { version = "2.3.3", features = ["serde", "domes", "cospar"] }
gnss-qc-traits = { version = "0.1.0", features = ["html"], optional = true }
maud = { version = "0.26", optional = true }
# BINEX (serdes)
binex = { git = "https://github.com/rtk-rs/binex", branch = "main", optional = true }
# RTCM (serdes)
rtcm-rs = { version = "0.11", optional = true }
# TODO: see if we can get rid of FromPrimitive ?
num-traits = "0.2.15"
# TODO: see if we can get rid of num.div_ceil() ?
num-integer = "0.1.44"
[dev-dependencies]
serde_json = "1"
criterion = "0.5"
rand = "0.8.4"
flate2 = "1"
[[bench]]
name = "parsing"
harness = false
[[bench]]
name = "formatting"
harness = false
[[bench]]
name = "hatanaka"
harness = false