Docs.rs
html-generator-0.0.3
html-generator 0.0.3
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
sebastienrousseau
Dependencies
cfg ^0.9.0
normal
comrak ^0.32.0
normal
lazy_static ^1.5.0
normal
log ^0.4.22
normal
mdx-gen ^0.0.1
normal
minify-html ^0.15.0
normal
once_cell ^1.20.2
normal
regex ^1.11.1
normal
scraper ^0.22.0
normal
serde_json ^1.0.134
normal
tempfile ^3.14.0
normal
thiserror ^2.0.9
normal
tokio ^1.42.0
normal
uuid ^1.11.0
normal
criterion ^0.5.1
dev
test-case ^3.3.1
dev
version_check ^0.9.5
build
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
html_
generator
0.0.3
is_
valid_
language_
code
Sections
Arguments
Returns
In html_
generator::
utils
html_generator
::
utils
Function
is_valid_language_code
Copy item path
Source
pub fn is_valid_language_code(lang: &
str
) ->
bool
Expand description
Validates a language code.
§
Arguments
lang
- The language code to validate.
§
Returns
bool
- Whether the language code is valid.