Skip to content

Commit 6c451f4

Browse files
authored
Merge pull request #604 from xch-dev/prepare-for-release
Prepare
2 parents 756717e + a884561 commit 6c451f4

24 files changed

+3502
-2091
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,13 @@ jobs:
153153
mkdir -p ~/private_keys
154154
echo -n '${{ secrets.APPLE_API_SECRET_KEY }}' > ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8
155155
156+
- name: Workaround iOS selection
157+
if: matrix.platform_name == 'iOS'
158+
run: |
159+
sudo xcode-select -switch /Applications/Xcode_16.2.app/Contents/Developer
160+
xcodebuild -version
161+
xcodebuild -downloadPlatform iOS
162+
156163
- name: Bindgen CLI
157164
run: cargo install bindgen-cli --locked
158165

.sqlx/query-aed773771ff13aa84afa2b3276cf9dd6ad45bf057125e1d37cec1117d52c3808.json renamed to .sqlx/query-140fa35e91f1fc9042c849d39c70a6e0d74711d0a794f4128ce582f4713c2a0b.json

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-c5b1a7d051635ceafd46e18402b2016854de70dbeca4699fcc09621a906a7ca5.json renamed to .sqlx/query-c5f5eda1f087a32a62c3c0752a4158ead7fc00f9bfc6d63b5613188d461c3b09.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-d5890f69a44e8a1358276be26d9358fb1785fb1792eec3933c68886417cab8f6.json

Lines changed: 0 additions & 266 deletions
This file was deleted.

Cargo.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ itertools = "0.13.0"
111111
anyhow = "1.0.86"
112112
thiserror = "1.0.63"
113113
hex-literal = "0.4.1"
114-
once_cell = "1.19.0"
115114
glob = "0.3.1"
116115
num-bigint = "0.4.6"
117116
mime-sniffer = "0.1.3"

crates/sage-api/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ sage-config = { workspace = true }
2222
serde = { workspace = true, features = ["derive"] }
2323
tauri-specta = { workspace = true, features = ["derive"], optional = true }
2424
specta = { workspace = true, features = ["derive", "bigdecimal"], optional = true }
25-
once_cell = { workspace = true }

crates/sage-api/src/types/unit.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
use once_cell::sync::Lazy;
1+
use std::sync::LazyLock;
2+
23
use serde::{Deserialize, Serialize};
34

45
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
@@ -17,17 +18,17 @@ impl Unit {
1718
}
1819
}
1920

20-
pub static XCH: Lazy<Unit> = Lazy::new(|| Unit {
21+
pub static XCH: LazyLock<Unit> = LazyLock::new(|| Unit {
2122
ticker: "XCH".to_string(),
2223
precision: 12,
2324
});
2425

25-
pub static TXCH: Lazy<Unit> = Lazy::new(|| Unit {
26+
pub static TXCH: LazyLock<Unit> = LazyLock::new(|| Unit {
2627
ticker: "TXCH".to_string(),
2728
precision: 12,
2829
});
2930

30-
pub static MOJOS: Lazy<Unit> = Lazy::new(|| Unit {
31+
pub static MOJOS: LazyLock<Unit> = LazyLock::new(|| Unit {
3132
ticker: "Mojos".to_string(),
3233
precision: 0,
3334
});

crates/sage-config/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ serde_with = { workspace = true, features = ["hex"] }
2222
indexmap = { workspace = true, features = ["serde"] }
2323
specta = { workspace = true, features = ["derive", "indexmap"] }
2424
hex = { workspace = true }
25-
once_cell = { workspace = true }
2625

2726
[dev-dependencies]
2827
expect-test = { workspace = true }

0 commit comments

Comments
 (0)