i0 0.3.0

thei.rs/i0 reference implementation
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 = "2024"
rust-version = "1.95"
name = "i0"
version = "0.3.0"
authors = ["ember ana <rs.i0@thei.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "thei.rs/i0 reference implementation"
homepage = "https://thei.rs/i0.rs"
readme = "readme.md"
license = "MIT OR Apache-2.0"
repository = "https://ravy.dev/mint/i0.rs/src/branch/main/lib"

[package.metadata.docs.rs]
features = [
    "v2",
    "v3",
]

[features]
default = ["v3"]
dig = [
    "display",
    "dep:rand",
]
display = [
    "dep:dollcode",
    "dep:dollhex",
    "dep:dollnary",
]
v2 = [
    "dep:base64",
    "dep:blake3",
    "dep:ed25519-dalek",
    "dep:z32",
]
v3 = [
    "dep:base64",
    "dep:blake3",
    "dep:curve25519-dalek",
    "dep:z32",
]

[lib]
name = "i0"
crate-type = ["lib"]
path = "src/lib.rs"

[[bench]]
name = "dig_v3"
path = "benches/dig_v3.rs"
harness = false
required-features = ["v3"]

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.blake3]
version = "1.8.3"
optional = true

[dependencies.curve25519-dalek]
version = "5.0.0-rc.1"
features = ["digest"]
optional = true

[dependencies.dollcode]
version = "0.1"
optional = true

[dependencies.dollhex]
version = "0.1"
optional = true

[dependencies.dollnary]
version = "0.1"
optional = true

[dependencies.ed25519-dalek]
version = "3.0.0-rc.1"
features = ["digest"]
optional = true

[dependencies.rand]
version = "0.10.1"
features = [
    "alloc",
    "std",
    "thread_rng",
]
optional = true
default-features = false

[dependencies.time]
version = "0.3.46"
features = ["macros"]

[dependencies.z32]
version = "1.3.0"
optional = true

[dev-dependencies.criterion]
version = "0.8"