Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve cargo definitions #174

Merged
merged 8 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crx2rnx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ readme = "README.md"

[dependencies]
clap = { version = "4", features = ["derive", "color"] }
rinex = { version = "0.13.1", features = ["serde"] }
rinex = { path = "../rinex", version = "=0.14.0", features = ["serde"] }
gwbres marked this conversation as resolved.
Show resolved Hide resolved
8 changes: 4 additions & 4 deletions rinex-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ pretty_env_logger = "0.5"
clap = { version = "4.4.3", features = ["derive", "color"] }
rand = "0.8"
serde_json = "1"
sp3 = { path = "../sp3", features = ["serde", "flate2"] }
rinex-qc = { path = "../rinex-qc", features = ["serde"] }
rinex = { path = "../rinex", features = ["serde", "flate2", "sbas", "obs", "nav", "qc", "processing"] }
gnss-rtk = { path = "../gnss-rtk" }
sp3 = { path = "../sp3", version = "=1.0.4", features = ["serde", "flate2"] }
rinex-qc = { path = "../rinex-qc", version = "=0.1.4", features = ["serde"] }
rinex = { path = "../rinex", version = "=0.14.0", features = ["full"] }
gnss-rtk = { path = "../gnss-rtk", version = "=0.0.1" }
thiserror = "1"
itertools = "0.11"
plotly = "0.8.4"
Expand Down
2 changes: 1 addition & 1 deletion rinex-qc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ horrorshow = "0.8"
itertools = "0.11.0"
statrs = "0.16"
sp3 = { path = "../sp3", features = ["serde"] }
rinex-qc-traits = { path = "../qc-traits" }
rinex-qc-traits = { path = "../qc-traits", version = "=0.1.1" }
rinex = { path = "../rinex", features = ["obs", "nav", "qc", "processing", "serde", "flate2"] }

[dev-dependencies]
Expand Down
15 changes: 14 additions & 1 deletion rinex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ nav = []
processing = []
qc = ["rinex-qc-traits", "horrorshow"] # rinex Quality Check (mainly OBS RINEX)

# enable everything
full = [
"flate2",
"horrorshow",
"meteo",
"nav",
"obs",
"processing",
"qc",
"sbas",
"serde",
]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docrs", "--generate-link-to-definition"]
Expand All @@ -47,7 +60,7 @@ serde = { version = "1.0", optional = true, default-features = false, features =
flate2 = { version = "1.0.24", optional = true, default-features = false, features = ["zlib"] }
hifitime = { version = "3.8", features = ["serde", "std"] }
horrorshow = { version = "0.8", optional = true }
rinex-qc-traits = { path = "../qc-traits", optional = true }
rinex-qc-traits = { path = "../qc-traits", version = "=0.1.1", optional = true }

[dev-dependencies]
serde_json = "1"
Expand Down
2 changes: 2 additions & 0 deletions rinex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ If this feature is not enabled, one must first uncompress .gz files prior parsin
The `sbas` feature enables one method to select appropriate augmentation system
based on current location on Earth.

Compile with `full` to support all features.

## License

Licensed under either of:
Expand Down
2 changes: 1 addition & 1 deletion rnx2crx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ readme = "README.md"
chrono = "0.4"
thiserror = "1"
clap = { version = "4", features = ["derive", "color"] }
rinex = { version = "0.13.1", features = ["serde"] }
rinex = { path = "../rinex", version = "=0.14.0", features = ["serde"] }
2 changes: 1 addition & 1 deletion sinex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ chrono = "0.4"
thiserror = "1"
strum = { version = "0.25", features = ["derive"] }
strum_macros = "0.25"
rinex = { version = "0.13.1", features = ["serde"] }
rinex = { path = "../rinex", version = "=0.14.0", features = ["serde"] }
4 changes: 2 additions & 2 deletions sp3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ rustdoc-args = ["--cfg", "docrs", "--generate-link-to-definition"]
[build-dependencies]

[dependencies]
rinex = { path = "../rinex", features = ["serde"] }
hifitime = "3.8.4"
thiserror = "1"
hifitime = "3.8.4"
rinex = { path = "../rinex", version = "=0.14.0", features = ["serde"] }
serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] }
flate2 = { version = "1.0.24", optional = true, default-features = false, features = ["zlib"] }

Expand Down
2 changes: 1 addition & 1 deletion ublox-rnx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ serde = "1.0"
serde_json = "1.0"
serialport = "4.2.0"
ublox = "0.4.4"
rinex = { path = "../rinex", features = ["serde"] }
rinex = { path = "../rinex", version = "=0.14.0", features = ["serde"] }
clap = { version = "3.2.22", features = ["yaml"] }
Loading