holochain_timestamp 0.6.1

Microsecond-precision timestamp datatype for Holochain
Documentation
# 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 = "holochain_timestamp"
version = "0.6.1"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Microsecond-precision timestamp datatype for Holochain"
documentation = "https://docs.rs/holochain_timestamp"
readme = "README.md"
keywords = [
    "holochain",
    "p2p",
    "dht",
    "networking",
]
categories = ["date-and-time"]
license = "Apache-2.0"
repository = "https://github.com/holochain/holochain"

[lib]
name = "holochain_timestamp"
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4.22"
features = [
    "clock",
    "std",
    "oldtime",
    "serde",
]
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.37"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.holochain_serialized_bytes]
version = "=0.0.57"

[features]
default = ["now"]
now = ["dep:chrono"]
sqlite = [
    "dep:rusqlite",
    "rusqlite/bundled",
]
sqlite-encrypted = [
    "dep:rusqlite",
    "rusqlite/bundled-sqlcipher-vendored-openssl",
]

[lints.clippy]
complexity = "deny"
correctness = "deny"
dbg_macro = "deny"
perf = "deny"
style = "deny"

[lints.clippy.cargo]
level = "allow"
priority = -1

[lints.clippy.nursery]
level = "allow"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.clippy.restriction]
level = "allow"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(build_wasm)",
    "cfg(loom)",
]