mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
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:
@@ -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
4
coin/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Serai Coin
|
||||
|
||||
An abstract interface representing a coin, along with implementations for
|
||||
various coins.
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user