# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "picky"
version = "6.2.0"
authors = ["Benoît CORTIER <benoit.cortier@fried-world.eu>", "Jonathan Trepanier <jtrepanier@devolutions.net>", "François Dubois <fdubois@devolutions.net>", "Richard Markiewicz <rmarkiewicz@devolutions.net>", "Ionut Mihalcea <ionut.mihalcea@arm.com>", "Kim Altintop <kim@monadic.xyz>"]
description = "Portable X.509, PKI, JOSE and HTTP signature implementation."
keywords = ["x509", "jwt", "signature", "jose", "pki"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Devolutions/picky-rs"
[dependencies.aes-gcm]
version = "0.6"
optional = true

[dependencies.base64]
version = "0.12"

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.digest]
version = "0.9"

[dependencies.http]
version = "0.2"
optional = true

[dependencies.num-bigint-dig]
version = "0.6"

[dependencies.oid]
version = "^0.1.1"
features = ["serde_support"]

[dependencies.picky-asn1]
version = "0.3"

[dependencies.picky-asn1-der]
version = "0.2"

[dependencies.picky-asn1-x509]
version = "0.5"
features = ["legacy"]

[dependencies.rand]
version = "0.7"

[dependencies.rsa]
version = "0.3"

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

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.sha1]
version = "0.9"
package = "sha-1"

[dependencies.sha2]
version = "0.9"

[dependencies.sha3]
version = "0.9"

[dependencies.thiserror]
version = "1"
[dev-dependencies.cfg-if]
version = "0.1"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.pretty_assertions]
version = "^0.6"

[dev-dependencies.ring]
version = "0.16"

[features]
chrono_conversion = ["chrono", "picky-asn1/chrono_conversion"]
default = ["x509", "jose", "http_signature", "http_trait_impl"]
http_signature = []
http_trait_impl = ["http"]
jose = ["serde_json", "aes-gcm"]
x509 = []
