Docs.rs
tersify-0.3.1
tersify 0.3.1
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
GokhanKabar
Dependencies
anyhow ^1
normal
clap ^4
normal
clap_complete ^4
normal
is-terminal ^0.4
normal
regex-lite ^0.1
normal
serde ^1
normal
serde_json ^1
normal
thiserror ^2
normal
tree-sitter ^0.25
normal
tree-sitter-c ^0.24
normal
tree-sitter-c-sharp ^0.23
normal
tree-sitter-cpp ^0.23
normal
tree-sitter-go ^0.25
normal
tree-sitter-java ^0.23
normal
tree-sitter-javascript ^0.25
normal
tree-sitter-php ^0.23
normal
tree-sitter-python ^0.25
normal
tree-sitter-ruby ^0.23
normal
tree-sitter-rust ^0.24
normal
tree-sitter-typescript ^0.23
normal
walkdir ^2
normal
Versions
58.49%
of the crate is documented
Go to latest version
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
tersify
0.3.1
In tersify::
detect
tersify
::
detect
Function
detect
Copy item path
Source
pub fn detect(input: &
str
) ->
ContentType
Expand description
Auto-detect content type from raw input.