Docs.rs
libgrite-core-0.3.0
libgrite-core 0.3.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
dipankar
Dependencies
blake2 ^0.10
normal
chrono ^0.4
normal
ciborium ^0.2
normal
ed25519-dalek ^2.1
normal
fs2 ^0.4
normal
hex ^0.4
normal
rand ^0.8
normal
regex ^1
normal
serde ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.10
normal
sled ^0.34
normal
streaming-iterator ^0.1
normal
thiserror ^1.0
normal
toml ^0.8
normal
tree-sitter ^0.24
normal
tree-sitter-c ^0.23
normal
tree-sitter-cpp ^0.23
normal
tree-sitter-elixir ^0.3
normal
tree-sitter-go ^0.23
normal
tree-sitter-java ^0.23
normal
tree-sitter-javascript ^0.23
normal
tree-sitter-language ^0.1
normal
tree-sitter-python ^0.23
normal
tree-sitter-ruby ^0.23
normal
tree-sitter-rust ^0.23
normal
tree-sitter-typescript ^0.23
normal
uuid ^1.0
normal
tempfile ^3.10
dev
Versions
55.98%
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
libgrite_
core
0.3.0
In libgrite_
core::
context::
extractor
libgrite_core
::
context
::
extractor
Function
detect_
language
Copy item path
Source
pub fn detect_language(path: &
str
) -> &'static
str
Expand description
Detect programming language from file extension