use-qwik 0.0.1

Qwik metadata primitives for RustUse
Documentation
  • Coverage
  • 35.71%
    15 out of 42 items documented1 out of 15 items with examples
  • Size
  • Source code size: 14 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 900.36 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-js
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-qwik

Qwik metadata primitives for RustUse.

Experimental

use-qwik is experimental while use-js remains below 0.3.0.

Example

use use_qwik::{QwikCityRouteKind, QwikComponentName, QwikOptimizerMode};

let component = QwikComponentName::new("HeroPanel")?;

assert_eq!(component.as_str(), "HeroPanel");
assert_eq!(QwikOptimizerMode::Production.as_str(), "production");
assert_eq!(QwikCityRouteKind::Endpoint.as_str(), "endpoint");
# Ok::<(), use_qwik::QwikNameError>(())

Scope

  • Qwik component, file-kind, directory-kind, optimizer-mode, route-kind, and config-file labels.
  • Lightweight component name validation.

Non-goals

  • Resumability implementation.
  • Optimizer behavior.
  • Routing or build logic.

License

Licensed under either Apache-2.0 or MIT.