Fill out Cargo.tomls

Updated missing fields/sections, even if some won't be used, to 
standardize.

Also made FROST tests feature-gated.
This commit is contained in:
Luke Parker
2022-10-15 23:46:22 -04:00
parent 65664dafa4
commit 19488cf446
21 changed files with 79 additions and 28 deletions

View File

@@ -1,14 +1,18 @@
[package]
name = "serai-coin"
version = "0.1.0"
description = "Abstract interface to represent a coin"
description = "An abstract interface representing a coin, along with implementations for various coins."
license = "MIT"
repository = "https://github.com/serai-dex/serai"
repository = "https://github.com/serai-dex/serai/tree/develop/coin"
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
keywords = []
edition = "2021"
publish = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
async-trait = "0.1"
thiserror = "1"
@@ -38,4 +42,6 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[features]
test = ["rand_core", "group", "serde", "serde_json"]
monero = []
monero_test = ["rand_core", "group", "serde", "serde_json"]
test = ["monero_test"]

4
coin/README.md Normal file
View File

@@ -0,0 +1,4 @@
# Serai Coin
An abstract interface representing a coin, along with implementations for
various coins.

View File

@@ -8,7 +8,9 @@ use frost::{curve::Curve, FrostKeys, sign::PreprocessMachine};
pub(crate) mod utils;
#[cfg(feature = "monero")]
pub mod monero;
#[cfg(feature = "monero")]
pub use self::monero::Monero;
#[derive(Clone, Error, Debug)]