# 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 = "sntpc" version = "0.4.0" authors = ["Vladimir Petrigo "] build = false exclude = [ ".github/*", "CONTRIBUTING.md", ".*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Library for making SNTP requests" homepage = "https://github.com/vpetrigo/sntpc" documentation = "https://docs.rs/sntpc" readme = "README.md" keywords = [ "sntp", "ntp", "sntp-client", "ntp-client", ] categories = [ "date-and-time", "no-std", "embedded", "asynchronous", ] license = "BSD-3-Clause" repository = "https://github.com/vpetrigo/sntpc" [lib] name = "sntpc" path = "src/lib.rs" [dependencies.async-trait] version = "0.1" optional = true [dependencies.chrono] version = "~0.4" optional = true default-features = false [dependencies.log] version = "~0.4" optional = true [dependencies.no-std-net] version = "~0.6" [dependencies.tokio] version = "1" features = ["full"] optional = true [features] async = [] async_tokio = [ "std", "async", "tokio", "async-trait", ] default = ["std"] std = [] utils = [ "std", "chrono/clock", ] [badges.maintenance] status = "actively-developed"