4 Commits

Author SHA1 Message Date
64244ab27e Merge remote-tracking branch 'ssadler/fix/13' into fix/13 2020-04-05 16:21:10 -07:00
Flakebi
7e4eeb67f2 Add openssl test
Adds a small test that uses an explicit tag.
2020-04-02 21:01:22 +02:00
Scott Sadler
924f79f6a3 fix warning 2020-04-02 13:59:38 -03:00
Scott Sadler
b414834c62 test for encoding of unknown with one child 2020-04-02 13:59:15 -03:00
3 changed files with 493 additions and 444 deletions

View File

@@ -1,33 +0,0 @@
name: Rust
on:
push:
branches: [ "develop", "ci" ]
pull_request:
branches: [ "develop" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [stable]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
default: true
override: true
- name: Format Check
run: cargo fmt --check
- name: Build
run: cargo build
- name: Run tests
run: cargo test

View File

@@ -1,21 +1,18 @@
[package] [package]
name = "simple_asn1" name = "simple_asn1"
version = "0.6.2" version = "0.4.0"
authors = ["Adam Wick <awick@uhsure.com>"] authors = ["Adam Wick <awick@uhsure.com>"]
description = "A simple DER/ASN.1 encoding/decoding library." description = "A simple DER/ASN.1 encoding/decoding library."
categories = ["encoding"] categories = ["encoding"]
keywords = ["ASN1","encoding","DER"] keywords = ["ASN1","encoding","DER"]
license = "ISC" license-file = "LICENSE"
repository = "https://github.com/acw/simple_asn1" repository = "https://github.com/acw/simple_asn1"
edition = "2018"
[dependencies] [dependencies]
num-bigint = { default-features = false, version = "0.4" } chrono = "^0.4.0"
num-traits = { default-features = false, version = "0.2" } num-bigint = "^0.2.0"
thiserror = { default-features = false, version = "1" } num-traits = "^0.2.0"
time = { default-features = false, version = "0.3", features = ["formatting", "macros", "parsing"] }
[dev-dependencies] [dev-dependencies]
quickcheck = "1.0.3" quickcheck = "^0.7.1"
rand = "0.8.4" rand = "0.5.5"
time = { default-features = false, version = "0.3", features = ["formatting", "macros", "parsing", "quickcheck"] }

File diff suppressed because it is too large Load Diff