Cargo Features
[dependencies]
hyper-static-server = { version = "0.5.1", default-features = false, features = ["all", "all-dynamic", "server-all", "server-all-dynamic", "exporter-all", "exporter-all-dynamic", "runtime-all", "runtime-all-dynamic", "builder-all", "builder-all-dynamic", "production", "server", "exporter", "runtime", "runtime-macros", "runtime-askama", "runtime-askama-serde", "runtime-sitemaps", "runtime-sitemaps-xml", "runtime-hss-exports", "builder", "builder-macros", "builder-assets", "builder-assets-sass", "builder-assets-sass-dynamic", "builder-markdown", "builder-markdown-dynamic", "builder-askama", "builder-askama-dynamic", "builder-sitemaps", "builder-relaxed-dependencies", "support-sass", "support-markdown", "support-builder", "features-none", "sass-alt"] }
- default = all-dynamic
-
The
all-dynamic
feature is set by default wheneverhyper-static-server
is added without
somewhere in the dependency tree.default-features = false - all = builder-all, exporter-all, runtime-all, server-all
- all-dynamic default = builder-all-dynamic, exporter-all-dynamic, runtime-all-dynamic, server-all-dynamic
- server-all all? = runtime-all, server
- server-all-dynamic all-dynamic = runtime-all-dynamic, server
- exporter-all all? = exporter, runtime-all
- exporter-all-dynamic all-dynamic = exporter, runtime-all-dynamic
- runtime-all all? exporter-all? runtime-all-dynamic? server-all? = runtime, runtime-askama, runtime-askama-serde, runtime-macros, runtime-sitemaps, runtime-sitemaps-xml
- runtime-all-dynamic all-dynamic exporter-all-dynamic? server-all-dynamic? = builder-askama-dynamic, builder-assets-sass-dynamic, builder-markdown-dynamic, runtime-all
- builder-all all? builder-all-dynamic? = builder, builder-askama, builder-assets, builder-assets-sass, builder-macros, builder-markdown, builder-sitemaps
- builder-all-dynamic all-dynamic = builder-all, builder-askama-dynamic, builder-assets-sass-dynamic, builder-markdown-dynamic, builder-relaxed-dependencies
- production
- server server-all? server-all-dynamic? = rand, runtime
-
Enables hss-full of hyper-simple-server
hyper-simple-server:
meta
Affects
main::main_serve_with_static
,main::main
,main::main_wrapper
… - exporter exporter-all? exporter-all-dynamic? = cpio, runtime
-
Enables hss-cli and hss-config of hyper-simple-server
Affects
main::main_export_with_static
,main::main
,main::main_wrapper
… - runtime exporter? runtime-all? runtime-askama? runtime-hss-exports? runtime-macros? runtime-sitemaps? server?
-
Enables hss-errors, hss-exports, hss-extensions, hss-handler, hss-routes and hss-runtime of hyper-simple-server
- runtime-macros runtime-all? = runtime
- runtime-askama runtime-all? runtime-askama-serde? = runtime
- runtime-askama-serde runtime-all? = runtime-askama, serde, serde_json, serde_yaml, toml
-
Affects
runtime_askama::AskamaContextSerde
,runtime_askama::AskamaDocumentMetadata
,runtime_askama::AskamaDocumentHeading
… - runtime-sitemaps runtime-all? runtime-sitemaps-xml? = runtime, url
-
Enables hss-exports, hss-extensions, hss-handler and hss-routes of hyper-simple-server
- runtime-sitemaps-xml runtime-all? = runtime-sitemaps, sitewriter
- runtime-hss-exports = runtime
- builder builder-all? builder-askama? builder-assets? builder-assets-sass? builder-macros? builder-markdown? builder-sitemaps? = globset, proc-macro2, support-builder, walkdir
- builder-macros builder-all? = builder
- builder-assets builder-all? = builder
-
Affects
builder::BuilderConfiguration.assets_sources
,builder::BuilderConfiguration.assets_route_base
,builder::BuilderConfiguration.css_route_base
,builder::BuilderConfiguration.js_route_base
,builder::BuilderConfiguration.images_route_base
,builder::BuilderConfiguration.icons_route_base
,builder::BuilderConfiguration.favicons_route_base
,builder::BuilderConfiguration.fonts_route_base
… - builder-assets-sass builder-all? = builder, support-sass
- builder-assets-sass-dynamic builder-all-dynamic? runtime-all-dynamic? = support-sass
- builder-markdown builder-all? = builder, support-markdown
-
Affects
builder::BuilderConfiguration.markdowns_sources
… - builder-markdown-dynamic builder-all-dynamic? runtime-all-dynamic? = support-markdown
- builder-askama builder-all? = builder
-
Affects
builder::BuilderConfiguration.templates_sources
… - builder-askama-dynamic builder-all-dynamic? runtime-all-dynamic?
- builder-sitemaps builder-all? = builder
- builder-relaxed-dependencies builder-all-dynamic?
- support-sass builder-assets-sass? builder-assets-sass-dynamic? = sass-rs, support-builder
-
Affects
lib::support_sass
,support_sass::compile_sass
… - support-markdown builder-markdown? builder-markdown-dynamic? = any_ascii, pulldown-cmark, serde, serde_json, support-builder
-
Affects
lib::support_markdown
… - support-builder builder? support-markdown? support-sass? = blake2
-
Enables hss-errors of hyper-simple-server
hyper-simple-server:
gate
- features-fuzzing features-none
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.
- hyper-simple-server exporter? runtime? runtime-sitemaps? server? support-builder?
- globset builder?
- pulldown-cmark support-markdown?
-
Enables pulldown-cmark ^0.9.2
- any_ascii support-markdown?
- rand server?
- sass-rs support-sass?
- sass-alt implicit feature
- walkdir builder?
- proc-macro2 builder?
- url runtime-sitemaps?
- sitewriter runtime-sitemaps-xml?
-
Enables sitewriter ^0.5.2
- blake2 support-builder?
-
Enables blake2 ^0.9.1
- cpio exporter?
-
Enables cpio ^0.2.1
- serde runtime-askama-serde? support-markdown?
- serde_json runtime-askama-serde? support-markdown?
- serde_yaml runtime-askama-serde?
-
Enables serde_yaml ^0.8.26
- toml runtime-askama-serde?
-
Enables toml ^0.5.9