Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
8 changes: 8 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1551,6 +1551,14 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"

[[package]]
name = "fork-tree"
version = "3.0.0"
dependencies = [
"parity-scale-codec",
"sgx_tstd",
]
Comment on lines +1554 to +1560
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, I love those minimal dependencies of the fork-tree.


[[package]]
name = "form_urlencoded"
version = "1.1.0"
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ members = [
"sidechain/consensus/aura",
"sidechain/consensus/common",
"sidechain/consensus/slots",
"sidechain/fork-tree",
"sidechain/peer-fetch",
"sidechain/primitives",
"sidechain/rpc-handler",
Expand Down
27 changes: 27 additions & 0 deletions sidechain/fork-tree/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[package]
name = "fork-tree"
version = "3.0.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Utility library for managing tree-like ordered data with logic for pruning the tree while finalizing nodes."
documentation = "https://docs.rs/fork-tree"
readme = "README.md"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.2.2", features = ["derive"], default-features = false }

# sgx deps
sgx_tstd = { branch = "master", git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this


[features]
default = ["std"]
std = [
"codec/std",
]
sgx = [
# teaclave
"sgx_tstd",
]
Loading