Skip to main content

dust_server 0.1.0-beta.2 copy "dust_server: ^0.1.0-beta.2" to clipboard
dust_server: ^0.1.0-beta.2 copied to clipboard

Runtime support for Dust-generated Dart HTTP servers on shelf.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dust_server

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dust_server: ^0.1.0-beta.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dust_server/annotations.dart';
import 'package:dust_server/extraction.dart';
import 'package:dust_server/layers.dart';
import 'package:dust_server/response.dart';
import 'package:dust_server/router.dart';
import 'package:dust_server/server.dart';
import 'package:dust_server/serving.dart';
import 'package:dust_server/templating.dart';
import 'package:dust_server/tracing.dart';
import 'package:dust_server/ws.dart';