Skip to content

Commit e57e256

Browse files
frolakorchyn
andauthored
chore: release (#77)
* chore: release * clippy + fmt --------- Co-authored-by: akorchyn <[email protected]>
1 parent 0618286 commit e57e256

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+165
-169
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repository = "https://github.com/polyprogrammist/near-openapi-client"
1616

1717

1818
[workspace.dependencies]
19-
near-api-types = { path = "types", version = "0.7.1" }
19+
near-api-types = { path = "types", version = "0.7.2" }
2020

2121
borsh = "1.5"
2222
async-trait = "0.1"

api/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.7.5](https://github.com/near/near-api-rs/compare/near-api-v0.7.4...near-api-v0.7.5) - 2025-11-03
11+
12+
### Other
13+
14+
- restored back to 2021 edition
15+
1016
## [0.7.4](https://github.com/near/near-api-rs/compare/near-api-v0.7.3...near-api-v0.7.4) - 2025-10-31
1117

1218
### Added

api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "near-api"
3-
version = "0.7.4"
3+
version = "0.7.5"
44
rust-version = "1.85"
55
resolver = "2"
66
authors.workspace = true

api/examples/account_key_pooling.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
/// This is an example of how to use account key pooling to send multiple transactions
55
/// using different keys.
66
use near_api::{
7-
Account, NetworkConfig, Signer, Tokens,
87
signer::generate_secret_key,
98
types::{AccessKeyPermission, AccountId, NearToken},
9+
Account, NetworkConfig, Signer, Tokens,
1010
};
1111
use near_sandbox::{
12-
GenesisAccount, SandboxConfig,
1312
config::{DEFAULT_GENESIS_ACCOUNT, DEFAULT_GENESIS_ACCOUNT_PRIVATE_KEY},
13+
GenesisAccount, SandboxConfig,
1414
};
1515

1616
use std::sync::Arc;

api/examples/contract_source_metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::str::FromStr;
22

3-
use near_api::{Contract, types::AccountId};
3+
use near_api::{types::AccountId, Contract};
44

55
#[tokio::main]
66
async fn main() {

api/examples/create_account_and_send_near.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use near_api::{
2-
Account, NetworkConfig, Signer, Tokens,
32
signer::generate_secret_key,
43
types::{AccountId, NearToken},
4+
Account, NetworkConfig, Signer, Tokens,
55
};
66
use near_sandbox::config::{DEFAULT_GENESIS_ACCOUNT, DEFAULT_GENESIS_ACCOUNT_PRIVATE_KEY};
77

api/examples/deploy_and_call_method.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use near_api::{
2-
Contract, NetworkConfig, Signer,
32
types::{AccountId, Data},
3+
Contract, NetworkConfig, Signer,
44
};
55
use near_sandbox::config::{DEFAULT_GENESIS_ACCOUNT, DEFAULT_GENESIS_ACCOUNT_PRIVATE_KEY};
66

api/examples/ft.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use near_api::{
2+
types::{tokens::FTBalance, AccountId},
23
Contract, NetworkConfig, Signer, Tokens,
3-
types::{AccountId, tokens::FTBalance},
44
};
5-
use near_sandbox::{GenesisAccount, SandboxConfig, config::DEFAULT_GENESIS_ACCOUNT};
5+
use near_sandbox::{config::DEFAULT_GENESIS_ACCOUNT, GenesisAccount, SandboxConfig};
66

77
use serde_json::json;
88

api/examples/global_deploy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use near_api::{Contract, NetworkConfig, Signer, types::CryptoHash};
1+
use near_api::{types::CryptoHash, Contract, NetworkConfig, Signer};
22
use near_sandbox::{GenesisAccount, SandboxConfig};
33

44
#[tokio::main]

api/examples/nft.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use near_api::{
2+
types::{nft::TokenMetadata, AccountId, NearToken},
23
Contract, NetworkConfig, Signer, Tokens,
3-
types::{AccountId, NearToken, nft::TokenMetadata},
44
};
55
use near_sandbox::{
6-
GenesisAccount, SandboxConfig,
76
config::{DEFAULT_GENESIS_ACCOUNT, DEFAULT_GENESIS_ACCOUNT_PRIVATE_KEY},
7+
GenesisAccount, SandboxConfig,
88
};
99
use serde_json::json;
1010

0 commit comments

Comments
 (0)