Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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

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 @@ -49,6 +49,7 @@ members = [
"rs/macros/core",
"rs/reflect-hash",
"rs/sol-gen",
"rs/storage",
"rs/type-registry",
"rs/type-registry/derive",
"benchmarks/alloc-stress",
Expand All @@ -74,6 +75,7 @@ sails-macros-core = { path = "rs/macros/core" }
sails-macros = { path = "rs/macros" }
sails-reflect-hash-derive = { path = "rs/reflect-hash/derive" }
sails-reflect-hash = { path = "rs/reflect-hash" }
sails-storage = { path = "rs/storage" }
sails-rs = { path = "rs" }
sails-sol-gen = { path = "rs/sol-gen" }
sails-type-registry = { path = "rs/type-registry" }
Expand Down
6 changes: 5 additions & 1 deletion rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ sails-idl-gen = { workspace = true, optional = true }
sails-idl-meta.workspace = true
sails-macros.workspace = true
sails-reflect-hash.workspace = true
sails-storage = { workspace = true, optional = true }
sails-type-registry = { workspace = true, features = ["derive", "gprimitives"] }
spin.workspace = true
thiserror.workspace = true
tokio-stream = { workspace = true, optional = true }
wasm-encoder = { workspace = true, features = ["wasmparser"], optional = true }
wasmparser = { workspace = true, optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
gear-core = { workspace = true, optional = true } # Needed for compilation of gstd in native mode
Expand All @@ -46,6 +49,7 @@ gtest = { workspace = true, optional = true }
log = { workspace = true, optional = true }

[dev-dependencies]
tempfile.workspace = true
tokio = { workspace = true, features = ["rt", "macros"] }

[features]
Expand All @@ -72,4 +76,4 @@ client-builder = ["std", "idl-gen", "idl-embed", "dep:sails-client-gen-v2", "dep
idl-embed = ["dep:sails-idl-embed"]
mockall = ["std", "dep:mockall"]
std = ["futures/std", "sails-idl-gen?/std", "gear-core?/std"]
wasm-builder = ["dep:gwasm-builder"]
wasm-builder = ["dep:gwasm-builder", "dep:sails-storage", "dep:wasm-encoder", "dep:wasmparser"]
Loading