Skip to content

Commit

Permalink
feat(core): Add crate for Numerated (#3471)
Browse files Browse the repository at this point in the history
  • Loading branch information
grishasobol authored Nov 29, 2023
1 parent 697679a commit 35bea90
Show file tree
Hide file tree
Showing 9 changed files with 1,892 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ default-members = ["node/cli"]
members = [
"common",
"common/codegen",
"common/numerated",
"core",
"core-backend",
"core-processor",
Expand Down Expand Up @@ -192,6 +193,7 @@ tempfile = "3.8.1"
gwasm-instrument = { version = "0.2.3", default-features = false }

# Internal deps
numerated = { path = "common/numerated" }
authorship = { package = "gear-authorship", path = "node/authorship" }
common = { package = "gear-common", path = "common", default-features = false }
core-processor = { package = "gear-core-processor", path = "core-processor", default-features = false }
Expand Down
26 changes: 26 additions & 0 deletions common/numerated/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[package]
name = "numerated"
description = "A library for working with intervals and sets of numerated values"
keywords = ["gear", "tree", "interval", "numerated", "no-std", "math"]
categories = ["mathematics", "no-std"]
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
num-traits.workspace = true
derive_more.workspace = true
scale-info = { workspace = true, features = ["derive"] }
parity-scale-codec = { workspace = true, features = ["derive"] }
log = { workspace = true, optional = true }

[dev-dependencies]
env_logger.workspace = true
proptest.workspace = true
log.workspace = true

[features]
mock = ["log"]
Loading

0 comments on commit 35bea90

Please sign in to comment.