mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Update cargo manifest to use new dependency structure
This commit is contained in:
parent
3071a1154c
commit
3c204ee883
4 changed files with 15 additions and 13 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -1103,6 +1103,7 @@ dependencies = [
|
||||||
"lune",
|
"lune",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"regex",
|
"regex",
|
||||||
|
"reqwest",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"serde_yaml",
|
"serde_yaml",
|
||||||
|
|
12
Cargo.toml
12
Cargo.toml
|
@ -30,6 +30,18 @@ serde_json = { version = "1.0", features = ["preserve_order"] }
|
||||||
serde_yaml = "0.9"
|
serde_yaml = "0.9"
|
||||||
toml = { version = "0.7", features = ["preserve_order"] }
|
toml = { version = "0.7", features = ["preserve_order"] }
|
||||||
|
|
||||||
|
# Using rustls instead of the default OpenSSL allows us to have much more portable binaries
|
||||||
|
#
|
||||||
|
# Notes:
|
||||||
|
#
|
||||||
|
# - Rustls does not yet compile on windows aarch64, so we use default tls there
|
||||||
|
# https://github.com/briansmith/ring/issues/1167
|
||||||
|
#
|
||||||
|
# - Cargo does not support per-target features, we have to add the feature in the build command itself
|
||||||
|
# https://github.com/rust-lang/cargo/issues/1197
|
||||||
|
# Check the `.justfile` or `.github/workflows/release.yaml` files for reference
|
||||||
|
reqwest = { version = "0.11", default-features = false }
|
||||||
|
|
||||||
# Profile for building the release binary, with the following options set:
|
# Profile for building the release binary, with the following options set:
|
||||||
#
|
#
|
||||||
# 1. Optimize for size
|
# 1. Optimize for size
|
||||||
|
|
|
@ -25,6 +25,7 @@ lune = { path = "../lib" }
|
||||||
console.workspace = true
|
console.workspace = true
|
||||||
futures-util.workspace = true
|
futures-util.workspace = true
|
||||||
once_cell.workspace = true
|
once_cell.workspace = true
|
||||||
|
reqwest.workspace = true
|
||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
serde_yaml.workspace = true
|
serde_yaml.workspace = true
|
||||||
|
|
|
@ -26,6 +26,7 @@ console.workspace = true
|
||||||
futures-util.workspace = true
|
futures-util.workspace = true
|
||||||
mlua.workspace = true
|
mlua.workspace = true
|
||||||
once_cell.workspace = true
|
once_cell.workspace = true
|
||||||
|
reqwest.workspace = true
|
||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
serde_yaml.workspace = true
|
serde_yaml.workspace = true
|
||||||
|
@ -45,18 +46,5 @@ hyper = { version = "0.14", features = ["full"] }
|
||||||
hyper-tungstenite = { version = "0.9" }
|
hyper-tungstenite = { version = "0.9" }
|
||||||
tokio-tungstenite = { version = "0.18" }
|
tokio-tungstenite = { version = "0.18" }
|
||||||
|
|
||||||
# Using rustls instead of the default OpenSSL allows us to have much more portable binaries
|
|
||||||
#
|
|
||||||
# Notes:
|
|
||||||
#
|
|
||||||
# - Rustls does not yet compile on windows aarch64, so we use default tls there
|
|
||||||
# https://github.com/briansmith/ring/issues/1167
|
|
||||||
#
|
|
||||||
# - Cargo does not support per-target features, we have to add the feature in the build command itself
|
|
||||||
# https://github.com/rust-lang/cargo/issues/1197
|
|
||||||
[dependencies.reqwest]
|
|
||||||
version = "0.11"
|
|
||||||
default-features = false
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
|
|
Loading…
Reference in a new issue