[package]
edition = "2021"
name = "insecure-time"
version = "0.2.1"
authors = ["Fortanix, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Insecure time computation based on rdtsc.
"""
documentation = "https://edp.fortanix.com/docs/api/insecure_time/"
readme = false
keywords = [
"sgx",
"enclave",
"time",
]
categories = [
"os",
"hardware-support",
]
license = "MPL-2.0"
repository = "https://github.com/fortanix/rust-sgx"
[features]
default = ["std"]
estimate_crystal_clock_freq = []
long_duration_tests = []
rdtsc_tests = []
rustc-dep-of-std = [
"alloc",
"core",
]
std = []
[lib]
name = "insecure_time"
path = "src/lib.rs"
[[example]]
name = "insecure-time"
path = "examples/insecure-time.rs"
[dependencies.alloc]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-alloc"
[dependencies.core]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-core"
[dev-dependencies.clap]
version = "4.4"
features = ["derive"]
[dev-dependencies.rand]
version = "0.8"