apx_core 0.22.0

APx core primitives
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"
rust-version = "1.77.0"
name = "apx_core"
version = "0.22.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "APx core primitives"
readme = "README.md"
license = "AGPL-3.0-only"
repository = "https://codeberg.org/silverpill/mitra/src/branch/main/apx_core"

[features]
caip = []
did-pkh = ["caip"]
eip191 = ["did-pkh"]
experiments = [
    "caip",
    "did-pkh",
    "eip191",
    "minisign",
]
minisign = ["blake2"]
test-utils = ["rand/small_rng"]

[lib]
name = "apx_core"
path = "src/lib.rs"

[dependencies.base64_ext]
version = "0.22.1"
package = "base64"

[dependencies.blake2]
version = "0.10.5"
optional = true

[dependencies.bs58]
version = "0.5.1"

[dependencies.chrono]
version = "0.4.34"
features = [
    "std",
    "serde",
    "clock",
]
default-features = false

[dependencies.ed25519-dalek]
version = "2.0.0"
features = [
    "pem",
    "pkcs8",
    "rand_core",
]

[dependencies.generic-array]
version = "=0.14.7"

[dependencies.hex]
version = "0.4.3"

[dependencies.http]
version = "1.1.0"

[dependencies.http_0_2]
version = "0.2.9"
package = "http"

[dependencies.idna]
version = "1.0.3"

[dependencies.indexmap]
version = "2.7.0"

[dependencies.infer]
version = "0.19.0"

[dependencies.iri-string]
version = "0.7.8"
features = ["serde"]

[dependencies.k256]
version = "0.13.0"
features = [
    "std",
    "ecdsa",
]
default-features = false

[dependencies.pem]
version = "3.0.4"

[dependencies.percent-encoding]
version = "2.3.1"

[dependencies.rand]
version = "0.8.4"

[dependencies.regex]
version = "1.10.6"

[dependencies.rsa]
version = "0.9.9"

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

[dependencies.serde_json]
version = "1.0.120"

[dependencies.serde_json_canonicalizer]
version = "0.3.1"

[dependencies.sfv]
version = "0.11.0"

[dependencies.sha2]
version = "0.10.6"
features = ["oid"]

[dependencies.sha3]
version = "0.10.6"

[dependencies.thiserror]
version = "1.0.37"

[dependencies.unsigned-varint]
version = "0.7.1"

[dependencies.url]
version = "2.5.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.chrono]
version = "0.4.34"
features = [
    "std",
    "serde",
    "clock",
    "wasmbind",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[lints.clippy]
derivable_impls = "allow"
derive_partial_eq_without_eq = "allow"
enum_variant_names = "allow"
format_push_string = "allow"
implicit_clone = "warn"
large_enum_variant = "allow"
len_zero = "allow"
let_and_return = "allow"
map_entry = "allow"
needless_pass_by_ref_mut = "warn"
or_fun_call = "allow"
redundant_field_names = "allow"
semicolon_if_nothing_returned = "warn"
significant_drop_in_scrutinee = "warn"
uninlined_format_args = "allow"
unused_async = "warn"
unused_unit = "allow"
unwrap_or_default = "allow"
unwrap_used = "warn"

[lints.rust]
boxed_slice_into_iter = "warn"
dependency_on_unit_never_type_fallback = "warn"
deprecated_safe_2024 = "warn"
edition_2024_expr_fragment_specifier = "allow"
impl_trait_overcaptures = "warn"
keyword_idents_2024 = "warn"
never_type_fallback_flowing_into_unsafe = "warn"
rust_2024_guarded_string_incompatible_syntax = "warn"
rust_2024_incompatible_pat = "warn"
rust_2024_prelude_collisions = "warn"
static_mut_refs = "warn"
unsafe_attr_outside_unsafe = "warn"
unsafe_op_in_unsafe_fn = "warn"