[package] name = "kitsune_p2p_timestamp" version = "0.3.4" description = "Microsecond-precision timestamp datatype for kitsune_p2p" license = "Apache-2.0" homepage = "https://github.com/holochain/holochain" documentation = "https://docs.rs/kitsune_p2p_timestamp" authors = ["Holochain Core Dev Team "] keywords = ["holochain", "holo", "p2p", "dht", "networking"] categories = ["network-programming"] edition = "2021" # reminder - do not use workspace deps [dependencies] serde = { version = "1.0", features = ["derive"] } # Dependencies not needed for integrity. chrono = { version = "0.4.22", default-features = false, features = [ "clock", "std", "oldtime", "serde", ], optional = true } # Dependencies only needed for full. rusqlite = { version = "0.31", optional = true } # Dependencies only needed for testing by downstream crates. arbitrary = { version = "1.0", features = ["derive"], optional = true } proptest = { version = "1", optional = true } proptest-derive = { version = "0", optional = true } once_cell = { version = "1.4.1", optional = true } rand = { version = "0.8", optional = true } [dev-dependencies] holochain_serialized_bytes = "=0.0.55" serde_yaml = "0.9" [lints] workspace = true [features] default = ["chrono"] now = ["chrono"] full = ["now"] fuzzing = ["arbitrary", "proptest", "proptest-derive", "once_cell", "rand"] sqlite-encrypted = ["rusqlite", "rusqlite/bundled-sqlcipher-vendored-openssl"] sqlite = ["rusqlite", "rusqlite/bundled"]