# 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 = "kitsune_p2p_timestamp"
version = "0.3.0-beta-dev.4"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
description = "Microsecond-precision timestamp datatype for kitsune_p2p"
homepage = "https://github.com/holochain/holochain"
documentation = "https://docs.rs/kitsune_p2p_timestamp"
readme = "README.md"
keywords = [
    "holochain",
    "holo",
    "p2p",
    "dht",
    "networking",
]
categories = ["network-programming"]
license = "Apache-2.0"

[dependencies.arbitrary]
version = "1.0"
features = ["derive"]
optional = true

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

[dependencies.proptest]
version = "1"
optional = true

[dependencies.proptest-derive]
version = "0"
optional = true

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

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

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

[dev-dependencies.serde_yaml]
version = "0.9"

[features]
default = ["chrono"]
full = ["now"]
fuzzing = [
    "arbitrary",
    "proptest",
    "proptest-derive",
]
now = ["chrono"]
sqlite = [
    "rusqlite",
    "rusqlite/bundled",
]
sqlite-encrypted = [
    "rusqlite",
    "rusqlite/bundled-sqlcipher-vendored-openssl",
]
