Cargo Features
[dependencies]
object-store-wasm = { version = "0.0.6", default-features = false, features = ["http", "aws", "js_binding", "console_error_panic_hook"] }
- default = console_error_panic_hook, http, js_binding
-
These default features are set whenever
object-store-wasm
is added without
somewhere in the dependency tree.default-features = false - http default
-
Affects
object-store-wasm::http
… - aws
-
Enables aws-config ^0.56.1, aws-credential-types ^0.56.1, aws-sdk-s3 ^0.31.1, aws-smithy-async ^0.56.1, aws-smithy-http ^0.56.1, aws-smithy-types ^0.56.1, aws-types ^0.56.1, http ^0.2, itertools ^0.12.1, thiserror ^1, tower ^0.4, and wasm-timer
Affects
object-store-wasm::aws
… - js_binding default
-
Affects
object-store-wasm::js_binding
…
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.
- console_error_panic_hook default
-
Enables console_error_panic_hook
The
console_error_panic_hook
crate provides better debugging of panics by logging them withconsole.error
. This is great for development, but requires all thestd::fmt
andstd::panicking
infrastructure, so isn't great for code size when deploying.