Skip to content

Commit

Permalink
Merge pull request #1448 from zcash/zcash-0.1
Browse files Browse the repository at this point in the history
`zcash 0.1.0`
  • Loading branch information
str4d authored Jul 15, 2024
2 parents b4bb31f + 013757b commit 909c015
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"components/zcash_encoding",
"components/zcash_protocol",
"components/zip321",
"zcash",
"zcash_client_backend",
"zcash_client_sqlite",
"zcash_extensions",
Expand Down
13 changes: 13 additions & 0 deletions zcash/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog
All notable changes to this library will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this library adheres to Rust's notion of
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.0] - 2024-07-15
Initial release that re-exports other crates. Expect that the API surface of
this crate will change significantly in future releases.
MSRV is 1.70.0.
33 changes: 33 additions & 0 deletions zcash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[package]
name = "zcash"
version = "0.1.0"
authors = [
"Jack Grigg <[email protected]>",
]
edition.workspace = true
rust-version.workspace = true
description = "Zcash Rust APIs"
readme = "README.md"
homepage = "https://github.com/zcash/librustzcash"
repository.workspace = true
license.workspace = true
categories.workspace = true

[dependencies]
# Dependencies exposed in a public API:
# (Breaking upgrades to these require a breaking upgrade to this crate.)
zcash_primitives.workspace = true

# Dependencies used internally:
# (Breaking upgrades to these are usually backwards-compatible, but check MSRVs.)
# - Documentation
document-features.workspace = true

[features]
default = ["multicore"]

## Enables multithreading support for creating proofs.
multicore = ["zcash_primitives/multicore"]

## Enables use of the transparent payment protocol for inputs.
transparent-inputs = ["zcash_primitives/transparent-inputs"]
23 changes: 23 additions & 0 deletions zcash/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# zcash

This library exposes APIs for working with the Zcash ecosystem.

It currently just re-exports the APIs of other crates. Expect that the API
surface of this crate will change significantly in future releases.

## License

Licensed under either of

* Apache License, Version 2.0, ([LICENSE-APACHE](../LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](../LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.
14 changes: 14 additions & 0 deletions zcash/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//! *Zcash Rust APIs.*
//!
//! ## Feature flags
#![doc = document_features::document_features!()]
//!
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
// Catch documentation errors caused by code changes.
#![deny(rustdoc::broken_intra_doc_links)]
#![deny(missing_docs)]
#![deny(unsafe_code)]

pub use zcash_primitives as primitives;

0 comments on commit 909c015

Please sign in to comment.