Compare commits
4 Commits
warning-cl
...
fix/13
| 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]
|
[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"] }
|
|
||||||
|
|||||||
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