# 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 = "google-fonts" version = "0.1.5" authors = ["Rana Ian"] description = "Download and cache TTF fonts from Google." documentation = "https://docs.rs/google-fonts" readme = "README.md" keywords = [ "font", "google", "graphics", "true-type", "ttf", ] categories = [ "api-bindings", "graphics", "text-processing", "rendering", ] license = "MIT" repository = "https://github.com/rana/google-fonts" resolver = "1" [lib] name = "google_fonts" crate-type = ["lib"] path = "src/lib.rs" required-features = [] edition = "2021" [[example]] name = "download" path = "examples/download.rs" required-features = ["full"] edition = "2021" [[example]] name = "enumerate" path = "examples/enumerate.rs" required-features = [] edition = "2021" [[example]] name = "serde" path = "examples/serde.rs" required-features = [] edition = "2021" [dependencies.dirs] version = "5.0.1" [dependencies.reqwest] version = "0.12.5" features = [ "http2", "rustls-tls", "blocking", ] [dependencies.serde] version = "1.0.204" features = ["derive"] [dependencies.serde_json] version = "1.0.120" [dependencies.strum] version = "0.26.3" features = [ "derive", "strum_macros", ] [dev-dependencies.ttf-parser] version = "0.24.0" [features] default = ["variable"] full = [ "variable", "static", ] static = [] variable = []