-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Create placeholders for forthcoming crates (#645)
- Loading branch information
1 parent
aa9c17c
commit 1381546
Showing
9 changed files
with
102 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
[workspace] | ||
resolver = "2" | ||
members = ["sdk", "export_schema", "make_test_images"] | ||
members = [ | ||
"cawg_identity", | ||
"crypto", | ||
"export_schema", | ||
"make_test_images", | ||
"sdk", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[package] | ||
name = "cawg-identity" | ||
version = "0.1.0" | ||
description = "Implementation of CAWG identity assertion specification" | ||
authors = [ | ||
"Eric Scouten <scouten@adobe.com>", | ||
] | ||
license = "MIT OR Apache-2.0" | ||
documentation = "https://docs.rs/c2pa-crypto" | ||
homepage = "https://creator-assertions.github.io/identity/" | ||
repository = "https://github.com/contentauth/c2pa-rs" | ||
readme = "README.md" | ||
keywords = ["identity"] | ||
categories = ["api-bindings"] | ||
edition = "2021" | ||
rust-version = "1.76.0" | ||
exclude = ["tests/fixtures"] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[dependencies] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Implementation of CAWG identity assertion specification | ||
|
||
[![CI](https://github.com/contentauth/c2pa-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/contentauth/c2pa-rs/actions/workflows/ci.yml) [![Latest Version](https://img.shields.io/crates/v/cawg-identity.svg)](https://crates.io/crates/cawg-identity) [![docs.rs](https://img.shields.io/docsrs/cawg-identity)](https://docs.rs/cawg-identity/) [![codecov](https://codecov.io/gh/contentauth/c2pa-rs/branch/main/graph/badge.svg?token=YVHWI19EGN)](https://codecov.io/gh/contentauth/c2pa-rs) | ||
|
||
This is a placeholder crate and not yet intended to be used directly. This will become an implementation of the core of the [Creator Assertions Working Group identity assertion draft specification](https://creator-assertions.github.io/identity/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/// This crate is a placeholder. More to come soon ... | ||
pub fn does_nothing_yet() {} | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
#[test] | ||
fn it_does_nothing() { | ||
println!("Placeholder"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[package] | ||
name = "c2pa-crypto" | ||
version = "0.1.0" | ||
description = "Cryptography internals for c2pa-rs crate" | ||
authors = [ | ||
"Maurice Fisher <mfisher@adobe.com>", | ||
"Gavin Peacock <gpeacock@adobe.com>", | ||
"Eric Scouten <scouten@adobe.com>", | ||
"Leonard Rosenthol <lrosenth@adobe.com>", | ||
"Dave Kozma <dkozma@adobe.com>", | ||
"Dylan Ross <dyross@adobe.com>" | ||
] | ||
license = "MIT OR Apache-2.0" | ||
documentation = "https://docs.rs/c2pa-crypto" | ||
homepage = "https://contentauthenticity.org" | ||
repository = "https://github.com/contentauth/c2pa-rs" | ||
readme = "README.md" | ||
keywords = ["metadata"] | ||
categories = ["api-bindings"] | ||
edition = "2021" | ||
rust-version = "1.76.0" | ||
exclude = ["tests/fixtures"] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[dependencies] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# C2PA cryptography implementation | ||
|
||
[![CI](https://github.com/scouten-adobe/TEMP-c2pa-crypto/actions/workflows/ci.yml/badge.svg)](https://github.com/scouten-adobe/TEMP-c2pa-crypto/actions/workflows/ci.yml) [![Latest Version](https://img.shields.io/crates/v/c2pa-crypto.svg)](https://crates.io/crates/c2pa-crypto) [![docs.rs](https://img.shields.io/docsrs/c2pa-crypto)](https://docs.rs/c2pa-crypto/) [![codecov](https://codecov.io/github/scouten-adobe/TEMP-c2pa-crypto/graph/badge.svg?token=NxwUjwv0j5)](https://codecov.io/github/scouten-adobe/TEMP-c2pa-crypto) | ||
|
||
This is a placeholder crate and not yet intended to be used directly. We anticipate moving some of the cryptography internal implementation from the existing c2pa-rs crate into this crate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/// This crate is a placeholder. More to come soon ... | ||
pub fn does_nothing_yet() {} | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
#[test] | ||
fn it_does_nothing() { | ||
println!("Placeholder"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters