-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: renamed paths * fix: renamed code * fix: ran typos * fix: ran cargo fmt * fix: ran dprint fmt * fix: capitalize IOTA, fmt --------- Co-authored-by: Thoralf Müller <[email protected]>
- Loading branch information
Showing
44 changed files
with
654 additions
and
844 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: rustdoc | |
|
||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [master] | ||
workflow_dispatch: | ||
|
||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Sui Sdk | ||
# IOTA Sdk | ||
|
||
[![Documentation (master)](https://img.shields.io/badge/docs-master-59f)](https://mystenlabs.github.io/sui-rust-sdk/sui_sdk/) | ||
[![Documentation (master)](https://img.shields.io/badge/docs-master-59f)](https://github.com/iotaledger/iota-rust-sdk/iota_sdk/) | ||
|
||
A WIP from-scratch rust sdk for the sui blockchain | ||
A WIP from-scratch rust sdk for the IOTA blockchain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,55 @@ | ||
[package] | ||
name = "sui-sdk" | ||
name = "iota-rust-sdk" | ||
version = "0.0.0" | ||
authors = ["Brandon Williams <[email protected]>"] | ||
license = "Apache-2.0" | ||
authors = ["IOTA Foundation <[email protected]>"] | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
publish = false | ||
readme = "README.md" | ||
description = "Sdk for the Sui Blockchain" | ||
description = "Sdk for the IOTA Blockchain" | ||
|
||
[package.metadata.docs.rs] | ||
# To build locally: | ||
# RUSTDOCFLAGS="--cfg=doc_cfg -Zunstable-options --generate-link-to-definition" RUSTC_BOOTSTRAP=1 cargo doc --all-features --no-deps --open | ||
all-features = true | ||
rustdoc-args = [ | ||
# Enable doc_cfg showing the required features. | ||
"--cfg=doc_cfg", | ||
# Enable doc_cfg showing the required features. | ||
"--cfg=doc_cfg", | ||
|
||
# Generate links to definition in rustdoc source code pages | ||
# https://github.com/rust-lang/rust/pull/84176 | ||
"-Zunstable-options", "--generate-link-to-definition" | ||
# Generate links to definition in rustdoc source code pages | ||
# https://github.com/rust-lang/rust/pull/84176 | ||
"-Zunstable-options", | ||
"--generate-link-to-definition", | ||
] | ||
|
||
[features] | ||
default = [] | ||
serde = ["dep:serde", "dep:serde_derive", "dep:serde_with", "dep:bcs", "dep:serde_json", "roaring/std"] | ||
serde = [ | ||
"dep:serde", | ||
"dep:serde_derive", | ||
"dep:serde_with", | ||
"dep:bcs", | ||
"dep:serde_json", | ||
"roaring/std", | ||
] | ||
schemars = ["serde", "dep:schemars", "dep:serde_json"] | ||
rand = ["dep:rand_core"] | ||
hash = ["dep:blake2"] | ||
|
||
[dependencies] | ||
base64ct = { version = "1.6.0", features = ["alloc"] } | ||
bnum = "0.11.0" | ||
bs58 = "0.5.1" | ||
hex = "0.4.3" | ||
roaring = { version = "0.10.6", default-features = false } | ||
bnum = "0.11.0" | ||
winnow = "0.6.18" | ||
|
||
# Serialization and Deserialization support | ||
bcs = { version = "0.1.6", optional = true } | ||
serde = { version = "1.0.190", optional = true } | ||
serde_derive = { version = "1.0.190", optional = true } | ||
serde_with = { version = "3.9", default-features = false, features = ["alloc"], optional = true } | ||
bcs = { version = "0.1.6", optional = true } | ||
serde_json = { version = "1.0.114", optional = true } | ||
serde_with = { version = "3.9", default-features = false, features = ["alloc"], optional = true } | ||
|
||
# JsonSchema definitions for types, useful for generating an OpenAPI Specificaiton. | ||
schemars = { version = "0.8.21", optional = true } | ||
|
@@ -54,10 +62,10 @@ blake2 = { version = "0.10.6", optional = true } | |
|
||
[dev-dependencies] | ||
bcs = "0.1.6" | ||
serde_json = "1.0.114" | ||
num-bigint = "0.4.4" | ||
jsonschema = { version = "0.18", default-features = false } | ||
num-bigint = "0.4.4" | ||
paste = "1.0.15" | ||
serde_json = "1.0.114" | ||
|
||
# proptest support in tests | ||
# | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.