insecure-time 0.2.1

Insecure time computation based on rdtsc.
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 = "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"