mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 13:57:58 +00:00
308ab4f269
* WiP: HTTP Apis. * Working on the API. * Add docs, clean up the API. * Expose ext_ stuff as well. * Implement HTTP helpers for offchain sr-io. * Remove HTTP stuff. * Revert "Remove HTTP stuff." This reverts commit 7cca029d6ae93c5849b50edfcc6d2c313ba3e5bf. * HTTP apis. * Additional offchain methods. * Make it compile. * Implement wasm-ext boundary of offchain methods. * Add stubs for offchain stuff to prevent panics. * Fix tests. * Addres some more issues. * Introduce typedef, use unsafe from_utf8 * Bump runtime version. * Introduce error to distinguish deadline and io errors. * Add local_storage_cas * Some tests for offchain stuff. * Address more grumbles. * Fix tests compilation. * Fix borked merge. * Improve docs for expected return values from ext functions. * Adding new sign/enrypt/decrypt APIs.
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[package]
|
|
name = "sr-io"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
build = "build.rs"
|
|
edition = "2018"
|
|
|
|
[build-dependencies]
|
|
rustc_version = "0.2"
|
|
|
|
[dependencies]
|
|
rstd = { package = "sr-std", path = "../sr-std", default-features = false }
|
|
primitives = { package = "substrate-primitives", path = "../primitives", default-features = false }
|
|
codec = { package = "parity-codec", version = "3.5.1", default-features = false }
|
|
hash-db = { version = "0.12", default-features = false }
|
|
libsecp256k1 = { version = "0.2.1", optional = true }
|
|
tiny-keccak = { version = "1.4.2", optional = true }
|
|
environmental = { version = "1.0.1", optional = true }
|
|
substrate-state-machine = { path = "../state-machine", optional = true }
|
|
trie = { package = "substrate-trie", path = "../trie", optional = true }
|
|
|
|
[dev-dependencies]
|
|
substrate-offchain = { path = "../offchain" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"primitives/std",
|
|
"codec/std",
|
|
"rstd/std",
|
|
"hash-db/std",
|
|
"trie",
|
|
"environmental",
|
|
"substrate-state-machine",
|
|
"libsecp256k1",
|
|
"tiny-keccak"
|
|
]
|
|
nightly = []
|
|
strict = []
|
|
wasm-nice-panic-message = []
|
|
no_panic_handler = []
|
|
no_oom = []
|