# 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 = "freqfs" version = "0.10.0" authors = ["code@tinychain.net"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An in-memory filesystem cache layer over tokio::fs, with LFU eviction" readme = "README.md" keywords = [ "file", "io", "cache", ] categories = [ "caching", "filesystem", "memory-management", ] license = "Apache-2.0" repository = "https://github.com/haydnv/freqfs" [lib] name = "freqfs" path = "src/lib.rs" [[example]] name = "example" path = "examples/example.rs" required-features = ["stream"] [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1.7" optional = true [dependencies.destream] version = "0.8" optional = true [dependencies.ds-ext] version = "0.2" [dependencies.futures] version = "0.3" [dependencies.hr-id] version = "0.6" optional = true [dependencies.log] version = "0.4" optional = true [dependencies.safecast] version = "0.2" [dependencies.tbon] version = "0.6" features = ["tokio-io"] optional = true [dependencies.tokio] version = "1.39" features = [ "fs", "io-util", "rt-multi-thread", "sync", "time", ] [dependencies.tokio-util] version = "0.7" features = ["io"] optional = true [dependencies.uuid] version = "1.10" features = ["v4"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio] version = "1.39" features = ["macros"] [features] all = [ "id", "logging", "stream", ] id = ["hr-id"] logging = ["log"] stream = [ "bytes", "destream", "tbon", "tokio-util", ]