# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "linguist-rs" version = "1.1.0" authors = ["Andreas Diepenbrock"] description = "A library that can be used to detect programming languages." license = "MIT" repository = "https://github.com/adiepenbrock/linguist-rs" [lib] name = "linguist" path = "src/lib.rs" [dependencies.regex] version = "1.8.1" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_yaml] version = "0.9.21" optional = true [features] default = [ "serde", "matcher", ] github-linguist-yaml = ["serde"] matcher = ["dep:regex"] serde = [ "dep:serde", "dep:serde_yaml", ]