Files
simple_asn1/Cargo.toml
Robert Bragg 559db125d3 Use thiserror macro to derive Error + Display traits
This removes the manual implementation of Display + Error for
ASN1EncodeErr and uses the derive macro from `thiserror` to add
std Error and Display implementations for ANS1EncodeErr and
ASN1DecodeErr.
2021-01-08 13:53:53 +00:00

21 lines
624 B
TOML

[package]
name = "simple_asn1"
version = "0.5.0"
authors = ["Adam Wick <awick@uhsure.com>"]
description = "A simple DER/ASN.1 encoding/decoding library."
categories = ["encoding"]
keywords = ["ASN1","encoding","DER"]
license = "ISC"
repository = "https://github.com/acw/simple_asn1"
edition = "2018"
[dependencies]
chrono = { default-features = false, features = ["alloc"], version = "0.4" }
num-bigint = { default-features = false, version = "0.3" }
num-traits = { default-features = false, version = "0.2" }
thiserror = { default-features = false, version = "1" }
[dev-dependencies]
quickcheck = "0.9"
rand = "0.7"