Docs.rs
ast-doc-core-0.1.0
ast-doc-core 0.1.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
Akagi201
Dependencies
eyre ^0.6.12
normal
git2 ^0.20.4
normal
globset ^0.4.18
normal
ignore ^0.4.25
normal
rayon ^1.11.0
normal
serde_json ^1.0.149
normal
termtree ^1.0.0
normal
thiserror ^2.0.18
normal
tiktoken-rs ^0.9.1
normal
tracing ^0.1.44
normal
tree-sitter ^0.26.7
normal
tree-sitter-c ^0.24.1
normal
optional
tree-sitter-go ^0.25.0
normal
optional
tree-sitter-python ^0.25.0
normal
optional
tree-sitter-rust ^0.24.1
normal
optional
tree-sitter-typescript ^0.23.2
normal
optional
cucumber ^0.22.1
dev
proptest ^1.11.0
dev
tempfile ^3.27.0
dev
tokio ^1.50.0
dev
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
Skip to main content
detect_language
ast_
doc_
core
0.1.0
In ast_
doc_
core::
parser
ast_doc_core
::
parser
Function
detect_
language
Copy item path
Source
pub fn detect_language(path: &
Path
) ->
Option
<
Language
>
Expand description
Detect the language from a file extension.