Cargo Features

glory-core has no features set by default.

[dependencies]
glory-core = { version = "0.3.1", features = ["web-csr", "web-ssr", "salvo"] }
web-csr = __single_holder

Enables wasm-bindgen

Affects glory-core::console, node::Node, event::add_event_listener, event::add_event_listener_undelegated, helpers::set_property, helpers::get_property, helpers::location, helpers::location_hash, helpers::location_pathname, helpers::event_target, helpers::event_target_value, helpers::event_target_checked, helpers::AnimationFrameRequestHandle, helpers::request_animation_frame, helpers::request_animation_frame_with_handle, helpers::IdleCallbackHandle, helpers::request_idle_callback, helpers::request_idle_callback_with_handle, helpers::TimeoutHandle, helpers::set_timeout

web-ssr salvo?

Enables base64 ^0.21, futures-channel, tokio, and tokio-util

Affects ssr::html_parts_separated

salvo = web-ssr

Enables salvo ^0.60

__single_holder web-csr?

Affects reflow::untrack, scheduler::is_running, scheduler::is_untracking, scheduler::is_batching, scheduler::batch, scheduler::schedule