@layerzerolabs/oft-core-stellar-contracts 0.2.122 → 0.2.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -10
- package/rustfmt.toml +8 -11
- package/src/tests/test_utils.rs +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layerzerolabs/oft-core-stellar-contracts",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.124",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"clippy.toml"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@layerzerolabs/common-utils-macros-stellar-contracts": "0.2.
|
|
15
|
-
"@layerzerolabs/oapp-stellar-contracts": "0.2.
|
|
16
|
-
"@layerzerolabs/common-utils-stellar-contracts": "0.2.
|
|
17
|
-
"@layerzerolabs/protocol-stellar-v2": "0.2.
|
|
18
|
-
"@layerzerolabs/oapp-macros-stellar-contracts": "0.2.
|
|
14
|
+
"@layerzerolabs/common-utils-macros-stellar-contracts": "0.2.124",
|
|
15
|
+
"@layerzerolabs/oapp-stellar-contracts": "0.2.124",
|
|
16
|
+
"@layerzerolabs/common-utils-stellar-contracts": "0.2.124",
|
|
17
|
+
"@layerzerolabs/protocol-stellar-v2": "0.2.124",
|
|
18
|
+
"@layerzerolabs/oapp-macros-stellar-contracts": "0.2.124"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@layerzerolabs/build-utils-rust": "0.2.
|
|
22
|
-
"@layerzerolabs/vm-tooling-stellar": "0.2.
|
|
21
|
+
"@layerzerolabs/build-utils-rust": "0.2.124",
|
|
22
|
+
"@layerzerolabs/vm-tooling-stellar": "0.2.124"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public",
|
|
@@ -44,8 +44,9 @@
|
|
|
44
44
|
"build": "pnpm resolve-dependencies && pnpm exec lz-tool --script \"cargo build --release\" stellar",
|
|
45
45
|
"clean": "rm -rf ./dependencies ./target ./node_modules",
|
|
46
46
|
"format": "pnpm exec lz-tool --script \"cargo fmt\" stellar",
|
|
47
|
-
"
|
|
48
|
-
"lint
|
|
47
|
+
"format:check": "pnpm exec lz-tool --script \"cargo fmt -- --check\" stellar",
|
|
48
|
+
"lint": "pnpm resolve-dependencies && pnpm exec lz-tool --script \"cargo fmt -- --check && cargo clippy --all-targets -- -D warnings\" stellar",
|
|
49
|
+
"lint:fix": "pnpm resolve-dependencies && pnpm exec lz-tool --script \"cargo clippy --all-targets --fix --allow-dirty --allow-staged && cargo fmt\" stellar",
|
|
49
50
|
"resolve-dependencies": "pnpm exec build-utils-rust resolve",
|
|
50
51
|
"test": "pnpm resolve-dependencies && pnpm exec lz-tool --script \"cargo nextest run\" stellar",
|
|
51
52
|
"test:snapshot:check": "pnpm exec turbo-snapshot check",
|
package/rustfmt.toml
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
# Only stable rustfmt options are kept here: the Stellar docker toolchain runs
|
|
2
|
+
# rustfmt on the stable channel (rust 1.90.0), which silently drops unstable
|
|
3
|
+
# options (they only apply on nightly). Do not re-add unstable options unless the
|
|
4
|
+
# tooling is switched to a pinned nightly (see the Solana packages for that setup).
|
|
2
5
|
max_width = 120
|
|
3
|
-
format_macro_matchers = true
|
|
4
|
-
format_strings = true
|
|
5
|
-
imports_granularity = "Crate"
|
|
6
|
-
match_arm_blocks = false
|
|
7
|
-
reorder_impl_items = true
|
|
8
|
-
group_imports = "StdExternalCrate"
|
|
9
6
|
use_field_init_shorthand = true
|
|
10
7
|
use_small_heuristics = "Max"
|
|
11
|
-
wrap_comments = true
|
|
12
|
-
format_code_in_doc_comments = true
|
|
13
8
|
|
|
14
|
-
#
|
|
15
|
-
|
|
9
|
+
# style_edition is a stable option honored by the docker toolchain. Pin it to
|
|
10
|
+
# 2021 to match every crate's `edition = "2021"` so formatting stays stable
|
|
11
|
+
# across rustfmt versions (setting it to 2024 would reformat the code).
|
|
12
|
+
style_edition = "2021"
|
package/src/tests/test_utils.rs
CHANGED