Skip to content

Commit

Permalink
Merge pull request RustCrypto#139 from RustCrypto/rename-block-cipher…
Browse files Browse the repository at this point in the history
…-trait-crate

Rename `block-cipher-trait` => `block-cipher`
  • Loading branch information
tarcieri committed May 26, 2020
2 parents 42ebb8f + cab9b3b commit 0af4518
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
@@ -1,14 +1,14 @@
name: block-cipher-trait
name: block-cipher

on:
pull_request:
paths:
- "block-cipher-trait/**"
- "block-cipher/**"
- "Cargo.*"
push:
branches: master
paths:
- "block-cipher-trait/**"
- "block-cipher/**"
- "Cargo.*"

jobs:
Expand All @@ -30,7 +30,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- working-directory: block-cipher-trait
- working-directory: block-cipher
run: cargo build --no-default-features --release --target ${{ matrix.target }}
test:
runs-on: ubuntu-latest
Expand All @@ -50,4 +50,4 @@ jobs:
cargo test --features dev
cargo test --features std
cargo test --all-features
working-directory: block-cipher-trait
working-directory: block-cipher
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,7 +1,7 @@
[workspace]
members = [
"aead",
"block-cipher-trait",
"block-cipher",
"crypto-mac",
"digest",
"signature",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -7,7 +7,7 @@ Collection of traits which describe functionality of cryptographic primitives.
| Name | Algorithm | Crates.io | Documentation | Build |
|--------------------|-------------------------------|-----------|----------------|-------|
| [`aead`] | [Authenticated encryption] | [![crates.io](https://img.shields.io/crates/v/aead.svg)](https://crates.io/crates/aead) | [![Documentation](https://docs.rs/aead/badge.svg)](https://docs.rs/aead) | ![build](https://github.com/RustCrypto/traits/workflows/aead/badge.svg?branch=master&event=push) |
| [`block-cipher-trait`] | [Block cipher] | [![crates.io](https://img.shields.io/crates/v/block-cipher-trait.svg)](https://crates.io/crates/block-cipher-trait) | [![Documentation](https://docs.rs/block-cipher-trait/badge.svg)](https://docs.rs/block-cipher-trait) | ![build](https://github.com/RustCrypto/traits/workflows/block-cipher-trait/badge.svg?branch=master&event=push) |
| [`block-cipher`] | [Block cipher] | [![crates.io](https://img.shields.io/crates/v/block-cipher.svg)](https://crates.io/crates/block-cipher) | [![Documentation](https://docs.rs/block-cipher/badge.svg)](https://docs.rs/block-cipher) | ![build](https://github.com/RustCrypto/traits/workflows/block-cipher/badge.svg?branch=master&event=push) |
| [`crypto-mac`] | [Message authentication code] | [![crates.io](https://img.shields.io/crates/v/crypto-mac.svg)](https://crates.io/crates/crypto-mac) | [![Documentation](https://docs.rs/crypto-mac/badge.svg)](https://docs.rs/crypto-mac) | ![build](https://github.com/RustCrypto/traits/workflows/crypto-mac/badge.svg?branch=master&event=push) |
| [`digest`] | [Cryptographic hash function] | [![crates.io](https://img.shields.io/crates/v/digest.svg)](https://crates.io/crates/digest) | [![Documentation](https://docs.rs/digest/badge.svg)](https://docs.rs/digest) | ![build](https://github.com/RustCrypto/traits/workflows/digest/badge.svg?branch=master&event=push) |
| [`signature`] | [Digital signature] | [![crates.io](https://img.shields.io/crates/v/signature.svg)](https://crates.io/crates/signature) | [![Documentation](https://docs.rs/signature/badge.svg)](https://docs.rs/signature) | ![build](https://github.com/RustCrypto/traits/workflows/signature/badge.svg?branch=master&event=push) |
Expand Down Expand Up @@ -43,7 +43,7 @@ dual licensed as above, without any additional terms or conditions.
[//]: # (crates)

[`aead`]: https://github.com/RustCrypto/traits/tree/master/aead
[`block-cipher-trait`]: https://github.com/RustCrypto/traits/tree/master/block-cipher-trait
[`block-cipher`]: https://github.com/RustCrypto/traits/tree/master/block-cipher
[`crypto-mac`]: https://github.com/RustCrypto/traits/tree/master/crypto-mac
[`digest`]: https://github.com/RustCrypto/traits/tree/master/digest
[`signature`]: https://github.com/RustCrypto/traits/tree/master/signature
Expand Down
4 changes: 2 additions & 2 deletions block-cipher-trait/Cargo.toml → block-cipher/Cargo.toml
@@ -1,12 +1,12 @@
[package]
name = "block-cipher-trait"
name = "block-cipher"
description = "Traits for description of block ciphers"
version = "0.7.0-pre"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2018"
documentation = "https://docs.rs/block-cipher-trait"
documentation = "https://docs.rs/block-cipher"
repository = "https://github.com/RustCrypto/traits"
keywords = ["crypto", "block-cipher", "trait"]
categories = ["cryptography", "no-std"]
Expand Down
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions block-cipher-trait/README.md → block-cipher/README.md
Expand Up @@ -41,14 +41,14 @@ dual licensed as above, without any additional terms or conditions.

[//]: # (badges)

[crate-image]: https://img.shields.io/crates/v/block-cipher-trait.svg
[crate-link]: https://crates.io/crates/block-cipher-trait
[docs-image]: https://docs.rs/block-cipher-trait/badge.svg
[docs-link]: https://docs.rs/block-cipher-trait/
[crate-image]: https://img.shields.io/crates/v/block-cipher.svg
[crate-link]: https://crates.io/crates/block-cipher
[docs-image]: https://docs.rs/block-cipher/badge.svg
[docs-link]: https://docs.rs/block-cipher/
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.41+-blue.svg
[build-image]: https://github.com/RustCrypto/traits/workflows/block-cipher-trait/badge.svg?branch=master&event=push
[build-link]: https://github.com/RustCrypto/traits/actions?query=workflow%3Ablock-cipher-trait
[build-image]: https://github.com/RustCrypto/traits/workflows/block-cipher/badge.svg?branch=master&event=push
[build-link]: https://github.com/RustCrypto/traits/actions?query=workflow%3Ablock-cipher

[//]: # (general links)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0af4518

Please sign in to comment.