[package] name = "orphanage" version = "0.1.4" edition = "2021" license = "0BSD" # https://crates.io/category_slugs categories = [ "network-programming" ] keywords = [ "sqlite", "fs", "path" ] repository = "https://repos.qrnch.tech/pub/orphanage" description = "Random collection of stuff that is still searching for a home." rust-version = "1.74" exclude = [ ".fossil-settings", ".efiles", ".fslckout", "examples", "www", "bacon.toml", "rustfmt.toml" ] # https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section [badges] maintenance = { status = "experimental" } [features] tokio = ["dep:tokio", "dep:async-trait", "dep:killswitch"] rusqlite = ["dep:rusqlite", "dep:sha2"] serde = ["dep:serde", "dep:parse-size"] [dependencies] async-trait = { version = "0.1.82", optional = true } hashbrown = { version = "0.15.1" } killswitch = { version = "0.4.2", optional = true } parse-size = { version = "1.1.0", optional = true } rand = { version = "0.8.5" } rusqlite = { version = "0.32.1", optional = true, features = ["functions"] } serde = { version = "1.0.214", optional = true, features = ["derive"] } sha2 = { version = "0.10.7", optional = true } shellexpand = { version = "3.1.0" } tokio = { version = "1.41.0", optional = true, features = [ "macros", "net", "time" ] } [dev-dependencies] killswitch = { version = "0.4.2" } tokio = { version = "1.40.0", features = ["full"] } tokio-test = { version = "0.4.3" } toml = { version = "0.8.18" } [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [lints.clippy] all = { level = "warn", priority = -1 } pedantic = { level = "warn", priority = -1 } nursery = { level = "warn", priority = -1 } cargo = { level = "warn", priority = -1 } multiple_crate_versions = "allow"