-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
267 additions
and
234 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 |
---|---|---|
@@ -1,28 +1,38 @@ | ||
[workspace] | ||
resolver = "2" | ||
|
||
members = [ | ||
"Rust/tesseract", | ||
"Rust/transports", | ||
"Rust/utils" | ||
] | ||
members = [ "Rust/sdk", "Rust/transport", "Rust/utils", "Rust/framework" ] | ||
|
||
[workspace.package] | ||
authors = ["Tesseract Systems, Inc. <[email protected]>"] | ||
authors = ["Daniel Leping", "Yehor Popovych", "Tesseract Systems, Inc."] | ||
edition = "2021" | ||
version = "0.1.0" | ||
version = "0.5.6" | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
repository = "https://github.com/tesseract-one/Tesseract.swift" | ||
documentation = "https://github.com/tesseract-one/Tesseract.swift" | ||
homepage = "https://github.com/tesseract-one/" | ||
categories = ["api-bindings", "authentication", "network-programming"] | ||
keywords = ["blockchain", "dApp", "wallet", "mobile", "bridge"] | ||
|
||
[workspace.dependencies] | ||
async-trait = "0.1" | ||
cbindgen = "0.26" | ||
errorcon = "0.1" | ||
log = "0.4" | ||
tesseract = { git = "https://github.com/tesseract-one/Tesseract.rs.git", branch = "master" } | ||
tesseract-protocol-test = { git = "https://github.com/tesseract-one/Tesseract.rs.git", branch = "master" } | ||
tesseract-protocol-substrate = { git = "https://github.com/tesseract-one/Tesseract.rs.git", branch = "master" } | ||
|
||
#build deps (C-interop) | ||
cbindgen = "0.26" | ||
|
||
#tesseract | ||
tesseract-one = "0.5" | ||
|
||
#protocols | ||
tesseract-protocol-test = "0.5" | ||
tesseract-protocol-substrate = "0.5" | ||
|
||
#local | ||
tesseract-swift-utils = { path = "Rust/utils", version = "0.5.6"} | ||
tesseract-swift-transport = { path = "Rust/transport", version = "0.5.6"} | ||
tesseract-swift = { path = "Rust/sdk", version = "0.5.6"} | ||
|
||
[profile.release] | ||
strip = true | ||
|
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 |
---|---|---|
|
@@ -3,16 +3,15 @@ name = "app" | |
version = "0.0.1" | ||
authors = ["Tesseract Systems, Inc. <[email protected]>"] | ||
license = "Apache-2.0" | ||
description = "Cardano bindings for C." | ||
keywords = [ "Tesseract", "Cardano", "C" ] | ||
description = "Tesseract SDK Client Example" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
tesseract-swift-utils.workspace = true | ||
tesseract-swift-transports = { workspace = true, features = ["client"]} | ||
tesseract-swift = { workspace = true, features = ["client"] } | ||
|
||
tesseract = { workspace = true, features = ["client"] } | ||
tesseract-one = { workspace = true, features = ["client"] } | ||
tesseract-protocol-test = { workspace = true, features = ["client"] } | ||
|
||
async-trait.workspace = true | ||
errorcon.workspace = true | ||
log.workspace = true | ||
|
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
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 |
---|---|---|
|
@@ -3,15 +3,15 @@ name = "wallet" | |
version = "0.0.1" | ||
authors = ["Tesseract Systems, Inc. <[email protected]>"] | ||
license = "Apache-2.0" | ||
description = "Cardano bindings for C." | ||
keywords = [ "Tesseract", "Cardano", "C" ] | ||
description = "Tesseract SDK Service Example" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
tesseract-swift-utils.workspace = true | ||
tesseract-swift-transports = { workspace = true, features = ["service"]} | ||
tesseract = { workspace = true, features = ["service"] } | ||
tesseract-swift = { workspace = true, features = ["service"] } | ||
|
||
tesseract-one = { workspace = true, features = ["service"] } | ||
tesseract-protocol-test = { workspace = true, features = ["service"] } | ||
|
||
async-trait.workspace = true | ||
errorcon.workspace = true | ||
log.workspace = true | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[package] | ||
name = "tesseract-swift-framework" | ||
description = "Tesseract framework to be embedded into prebuilt Swift artifacts. Don't use directly." | ||
version.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
documentation.workspace = true | ||
readme.workspace = true | ||
authors.workspace = true | ||
categories.workspace = true | ||
keywords.workspace = true | ||
|
||
[dependencies] | ||
async-trait.workspace = true | ||
errorcon.workspace = true | ||
log.workspace = true | ||
|
||
log-panics = { version = "2", features = ["with-backtrace"] } | ||
stderrlog = "0.5" | ||
|
||
tesseract-swift.workspace = true | ||
|
||
tesseract-one.workspace = true | ||
tesseract-protocol-test = { workspace = true, optional = true, features = ["client", "service"] } | ||
tesseract-protocol-substrate = { workspace = true, optional = true, features = ["client", "service"] } | ||
|
||
[build-dependencies] | ||
cbindgen.workspace = true | ||
|
||
[features] | ||
default = ["client", "service", "protocol-all"] | ||
|
||
client = ["tesseract-swift/client", "tesseract-one/client"] | ||
service = ["tesseract-swift/service", "tesseract-one/service"] | ||
|
||
protocol-test = ["dep:tesseract-protocol-test"] | ||
protocol-substrate = ["dep:tesseract-protocol-substrate"] | ||
protocol-all = ["protocol-test", "protocol-substrate"] | ||
|
||
[lib] | ||
crate-type = ["staticlib"] | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#[cfg(feature = "protocol-test")] | ||
pub mod test; | ||
|
||
#[cfg(feature="protocol-substrate")] | ||
pub mod substrate; |
Oops, something went wrong.