Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 64244ab27e | |||
|
|
7e4eeb67f2 | ||
|
|
924f79f6a3 | ||
|
|
b414834c62 |
33
.github/workflows/rust.yml
vendored
33
.github/workflows/rust.yml
vendored
@@ -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
|
||||
17
Cargo.toml
17
Cargo.toml
@@ -1,21 +1,18 @@
|
||||
[package]
|
||||
name = "simple_asn1"
|
||||
version = "0.6.3"
|
||||
version = "0.4.0"
|
||||
authors = ["Adam Wick <awick@uhsure.com>"]
|
||||
description = "A simple DER/ASN.1 encoding/decoding library."
|
||||
categories = ["encoding"]
|
||||
keywords = ["ASN1","encoding","DER"]
|
||||
license = "ISC"
|
||||
license-file = "LICENSE"
|
||||
repository = "https://github.com/acw/simple_asn1"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
num-bigint = { default-features = false, version = "0.4" }
|
||||
num-traits = { default-features = false, version = "0.2" }
|
||||
thiserror = { default-features = false, version = "2" }
|
||||
time = { default-features = false, version = "0.3", features = ["formatting", "macros", "parsing"] }
|
||||
chrono = "^0.4.0"
|
||||
num-bigint = "^0.2.0"
|
||||
num-traits = "^0.2.0"
|
||||
|
||||
[dev-dependencies]
|
||||
quickcheck = "1.0.3"
|
||||
rand = "0.8.4"
|
||||
time = { default-features = false, version = "0.3", features = ["formatting", "macros", "parsing", "quickcheck"] }
|
||||
quickcheck = "^0.7.1"
|
||||
rand = "0.5.5"
|
||||
|
||||
857
src/lib.rs
857
src/lib.rs
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user