Commit Graph

26 Commits

Author SHA1 Message Date
bc156c36d7 Bump version number to reflect API change. 2021-10-20 10:08:40 -07:00
Adam-Gleave
d7d39d7095 Remove chrono dependency in favour of time crate 2021-10-20 17:30:37 +01:00
77a9c2b48f Bump rand version to 0.8.4, and crate version to 0.5.4. 2021-06-24 19:34:14 -07:00
35cdea3dbe Bump version to 0.5.3 2021-05-18 08:06:33 -07:00
19a466bb07 Bump the version to 0.5.2. 2021-04-18 13:20:33 -07:00
c585acc530 Upgrade the QuickCheck/rand dependencies.
This also adds a check in the synthesis of arbitary items of unknown type,
to ensure that we don't accidentally create objects with a known type. I'm
actually not 100% sure how the old tests were passing so reliably, which
is worrying.
2021-04-18 13:17:01 -07:00
Stanislav Tkach
8305ec24d7 Update the num-bigint crate version 2021-04-14 15:17:23 +03:00
90d24b6d89 Version number bump (0.5.0 --> 0.5.1) 2021-01-08 09:20:05 -08:00
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
1a246d5970 Merge branch 'master' of github.com:acw/simple_asn1 2020-10-19 20:23:32 -07:00
Caio
7db7a487f4 Update dependencies 2020-10-17 22:59:31 -03:00
7b6e48d8fb Bump minor version, to address license change. 2020-07-15 08:20:25 -07:00
Marco Neumann
d4ac17598a use a machine-readable license key
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields :

> If a package is using a nonstandard license, then the license-file field may be specified in lieu of the license
> field.

`simple_asn1` however uses a standard license (ISC, as per LICENSE).
Note that this is also a somewhat commonly used way by many projects
(see for example Cargo or serde).

Using the machine-readable SPX specifier instead of a text file helps
automatic tooling like [cargo-lichking](https://github.com/Nemo157/cargo-lichking) to check licenses of projects and
dependencies.
2020-07-13 15:21:05 +02:00
ce2bf1407c Start bringing this library into a more modern idiom. 2020-06-14 16:37:43 -07:00
5b62a49298 Bump version to 0.4.0. 2019-03-29 16:21:04 -07:00
c6b8e90a50 Bump version number. 2019-03-27 09:03:17 -07:00
7a7b8fdbc3 Bump version number after a somewhat major change. 2018-12-14 08:20:05 -08:00
Flakebi
b678c70508 Reduce num dependencies, improve class implementation and add explicit tags
The default datatypes always have Universal as their class. If we
encounter another class while parsing, it is a tagged block.

I am not sure how (and if at all) we can distinguish explicitly and
implicitly tagged data. For now they should be parsed as unknown (or
explicit if they are a valid ASN.1 block).
2018-12-09 12:01:01 +01:00
84bd0c6642 Bump version to get tag change. 2018-11-16 10:32:32 -08:00
13ff3a0c19 Bump version number. 2018-11-04 15:25:56 -08:00
Ryan Leckey
939621b8c4 Upgrade dependencies 2018-10-23 12:42:44 -07:00
cbed82a205 Slowly learning the Cargo keyword syntax through errors. 2017-12-26 18:16:31 -08:00
155fe48e7f Add description, fix keywords. 2017-12-26 18:15:21 -08:00
f6b39d7003 Documentation! 2017-12-26 18:06:23 -08:00
762b9b2fa4 Add time value support. 2017-12-19 10:21:36 -08:00
827aa0e74e Initial parser. 2017-11-06 14:47:27 -08:00