# 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 = "time-lib" version = "0.2.1" authors = ["soywod "] description = "Rust library to manage personal time" homepage = "https://pimalaya.org/" documentation = "https://docs.rs/time-lib/latest/time/" readme = "README.md" keywords = [ "pim", "pomodoro", "time", "management", "technique", ] categories = ["network-programming"] license = "MIT" repository = "https://git.sr.ht/~soywod/pimalaya/tree/master/item/time/README.md" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "time" [dependencies.async-trait] version = "0.1" [dependencies.log] version = "0.4" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tokio] version = "1.23" optional = true default-features = false [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.mock_instant] version = "0.3" [dev-dependencies.once_cell] version = "1" [dev-dependencies.tokio] version = "1.23" features = ["full"] [features] client = [] default = [ "server", "client", "tcp", ] server = [ "tokio/sync", "tokio/rt", "tokio/time", ] tcp = [ "tcp-binder", "tcp-client", ] tcp-any = [ "tokio/net", "tokio/io-util", ] tcp-binder = [ "server", "tcp-any", ] tcp-client = [ "client", "tcp-any", ]