Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
Review and fix all cargo dependencies (#1722)
Browse files Browse the repository at this point in the history
Co-authored-by: crapStone <crapstone01@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1722
Reviewed-by: Epsilon_02 <epsilon_02@noreply.codeberg.org>
Co-authored-by: crapStone <crapstone@noreply.codeberg.org>
Co-committed-by: crapStone <crapstone@noreply.codeberg.org>
  • Loading branch information
2 people authored and Epsilon_02 committed Jan 13, 2023
1 parent 64bd4f0 commit f8c140d
Show file tree
Hide file tree
Showing 10 changed files with 186 additions and 198 deletions.
1 change: 1 addition & 0 deletions crates/config/Cargo.toml
Expand Up @@ -19,6 +19,7 @@ serde_json = "1.0.91"
thiserror = "1.0.38"
tokio = { version = "1.24.1", features = ["fs", "io-util"] }
toml = { version = "0.5.10", features = ["preserve_order"] }

types = { path = "../types/" }

[features]
Expand Down
9 changes: 5 additions & 4 deletions crates/load_save/Cargo.toml
Expand Up @@ -11,9 +11,7 @@ edition = "2021"

[dependencies]
async-trait = "0.1.61"
chrono = { version = "0.4.23", optional = true }
config = { path = "../config/", optional = true }
error-ser = { path = "../error-ser" }
chrono = { version = "0.4.23", default-features = false, optional = true }
handlebars = { version = "4.3.6", optional = true }
lazy_static = "1.4.0"
log = "0.4.17"
Expand All @@ -24,9 +22,12 @@ serde = { version = "1.0.152", features = ["derive"] }
serde_json = { version = "1.0.91", optional = true }
thiserror = "1.0.38"
tokio = { version = "1.24.1", features = ["fs"], optional = true }
types = { path = "../types/", features = ["lock"] }
wkhtmltopdf = { version = "0.4.0", optional = true }

config = { path = "../config/", optional = true }
error-ser = { path = "../error-ser" }
types = { path = "../types/", features = ["lock"] }

[dev-dependencies]
tokio = { version = "1.24.1", features = ["rt", "macros"] }

Expand Down
7 changes: 3 additions & 4 deletions crates/logger/Cargo.toml
Expand Up @@ -10,10 +10,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
chrono = "0.4.23"
config = { path = "../config/" }
chrono = { version = "0.4.23", default-features = false }
fern = "0.6.1"
log = "0.4.17"
serde = { version = "1.0.152", features = ["derive"], optional = true }
tokio = "1.24.1"

config = { path = "../config/" }
types = { path = "../types/" }
7 changes: 4 additions & 3 deletions crates/search/Cargo.toml
Expand Up @@ -12,20 +12,21 @@ edition = "2021"
[dependencies]
async-trait = "0.1.61"
cfg-if = "1.0.0"
chrono = "0.4.23"
chrono = { version = "0.4.23", default-feature = false }
env_logger = { version = "0.10.0", optional = true }
error-ser = { path = "../error-ser" }
futures = { version = "0.3.25", optional = true }
lazy_static = "1.4.0"
log = "0.4.17"
quick-xml = { version = "0.27.1", optional = true, features = ["serialize"] }
regex = { version = "1.7.1", optional = true }
reqwest = { version = "0.11.13", features = ["json", "native-tls"], default-features = false, optional = true }
reqwest = { version = "0.11.13", features = ["deflate", "gzip", "json", "native-tls"], default-features = false, optional = true }
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.91"
structopt = { version = "0.3.26", optional = true }
thiserror = "1.0.38"
tokio = { version = "1.24.1", default-features = false, optional = true }

error-ser = { path = "../error-ser" }
types = { path = "../types/", features = ["lock"] }

[features]
Expand Down
70 changes: 39 additions & 31 deletions frontend/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions frontend/src-tauri/Cargo.toml
Expand Up @@ -17,14 +17,15 @@ build = "src/build.rs"
tauri-build = { version = "1.2.1", features = [] }

[dependencies]
config = { path = "../../crates/config/", features = [ "tauri-app" ] }
load_save = { path = "../../crates/load_save/" }
log = "0.4.17"
logger = { path = "../../crates/logger/" }
search = { path = "../../crates/search/" }
serde_json = "1.0.91"
tauri = { version = "1.2.3", features = ["api-all"] }
tokio = { version = "1.24.1", features = ["macros", "rt-multi-thread"] }

config = { path = "../../crates/config/", features = [ "tauri-app" ] }
load_save = { path = "../../crates/load_save/" }
logger = { path = "../../crates/logger/" }
search = { path = "../../crates/search/" }
types = { path = "../../crates/types" }

[features]
Expand Down
49 changes: 49 additions & 0 deletions frontend/src-wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions frontend/src-wasm/Cargo.toml
Expand Up @@ -18,16 +18,17 @@ chrono = { version = "0.4.23", features = ["wasmbind"] }
console_error_panic_hook = { version = "0.1.7", optional = true }
console_log = { version = "0.2.0", features = ["color"] }
js-sys = "0.3.60"
load_save = { path = "../../crates/load_save/", default-features = false }
log = "0.4.17"
search = { path = "../../crates/search/", default-features = false }
serde = "1.0.152"
serde-wasm-bindgen = "0.4.5"
serde_json = "1.0.91"
types = { path = "../../crates/types/" }
wasm-bindgen = { version = "0.2.83", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.33"

load_save = { path = "../../crates/load_save/", default-features = false }
search = { path = "../../crates/search/", default-features = false }
types = { path = "../../crates/types/" }

[features]
default = ["load_save/beryllium", "load_save/cabr2", "search/gestis"]
debug_build = ["console_error_panic_hook"]
Expand Down

0 comments on commit f8c140d

Please sign in to comment.