Cargo Features

shards has no features set by default.

[dependencies]
shards = { version = "0.1.0", features = ["dummy", "shards", "dllshard", "run_bindgen", "scripting", "shards_discord"] }
dummy
shards = bs58, chacha20poly1305, crossbeam, ethabi, ethereum-types, ext-csv, hex, libsecp256k1, parity-scale-codec, rapier3d, reqwest, resvg, sha2, sp-core, sp-runtime, tiny-keccak, tiny-skia, usvg, wasabi_leb128, webbrowser

Affects shards::shards, shards::registerRustShards

dllshard = dlopen
run_bindgen = bindgen
scripting

Affects shards::scripting

shards_discord = serenity

Affects shards::discord

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tiny-keccak shards?
libsecp256k1 shards?
hex shards?
crossbeam shards?
rapier3d shards?

Enables rapier3d ^0.11.1

bs58 shards?

Enables bs58 ^0.4.0

sha2 shards?
wasabi_leb128 shards?
resvg shards?

Enables resvg ^0.23.0

usvg shards?

Enables usvg ^0.23.0

tiny-skia shards?

Enables tiny-skia ^0.6.1

ethereum-types shards?

Enables ethereum-types ^0.13.1

ethabi shards?

Enables ethabi ^17.0.0

ext-csv shards?

Enables csv

sp-core shards?

Enables sp-core ^6.0.0

sp-runtime shards?

Enables sp-runtime ^6.0.0

parity-scale-codec shards?
chacha20poly1305 shards?

Enables chacha20poly1305 ^0.9.0

serenity shards_discord?

Enables serenity ^0.11.0

bindgen build run_bindgen?

Enables bindgen ^0.60.1

dlopen not wasm32 dllshard?
reqwest not wasm32 shards?

Enables reqwest ^0.11.0

webbrowser not wasm32 ios shards?

Enables webbrowser ^0.7.1