Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/iota-graphql-client-build/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2107,7 +2107,7 @@ type MoveModuleEdge {

"""
The representation of an object as a Move Object, which exposes additional
information (content, module that governs it, version, is transferrable,
information (content, module that governs it, version, is transferable,
etc.) about this object.
"""
type MoveObject implements IMoveObject & IObject & IOwner {
Expand Down
58 changes: 58 additions & 0 deletions crates/iota-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[package]
name = "iota-sdk"
version = "3.0.0"
authors = ["IOTA Foundation <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
description = "The official SDK for IOTA"

[features]
default = [
"crypto",
"ed25519",
"secp256r1",
"passkey",
"secp256k1",
"zklogin",
"pem",
"bls12381",
"graphql",
"txn-builder",
"types",
"serde",
"rand",
"hash",
"proptest",
"schemars",
]

# Crypto
crypto = ["dep:iota-crypto"]
ed25519 = ["crypto", "iota-crypto/ed25519"]
secp256r1 = ["crypto", "iota-crypto/secp256r1"]
passkey = ["crypto", "iota-crypto/passkey"]
secp256k1 = ["crypto", "iota-crypto/secp256k1"]
zklogin = ["crypto", "iota-crypto/zklogin"]
pem = ["crypto", "iota-crypto/pem"]
bls12381 = ["crypto", "iota-crypto/bls12381"]

# GraphQL
graphql = ["dep:iota-graphql-client"]

# Transaction Builder
txn-builder = ["dep:iota-transaction-builder"]

# Types
types = ["dep:iota-sdk-types"]
serde = ["types", "iota-sdk-types/serde"]
rand = ["types", "iota-sdk-types/rand"]
hash = ["types", "iota-sdk-types/hash"]
proptest = ["types", "iota-sdk-types/proptest"]

schemars = ["iota-sdk-types?/schemars", "iota-transaction-builder?/schemars"]

[dependencies]
iota-crypto = { path = "../iota-crypto", features = ["ed25519"], optional = true }
iota-graphql-client = { path = "../iota-graphql-client", optional = true }
iota-sdk-types = { path = "../iota-sdk-types", features = ["rand"], optional = true }
iota-transaction-builder = { path = "../iota-transaction-builder", optional = true }
13 changes: 13 additions & 0 deletions crates/iota-sdk/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright (c) 2025 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

//! The IOTA Rust SDK

#[cfg(feature = "crypto")]
pub use iota_crypto as crypto;
#[cfg(feature = "graphql")]
pub use iota_graphql_client as graphql_client;
#[cfg(feature = "types")]
pub use iota_sdk_types as types;
#[cfg(feature = "txn-builder")]
pub use iota_transaction_builder as transaction_builder;