add base files, deps

This commit is contained in:
hinto.janai 2024-06-02 20:12:03 -04:00
parent 009abe0959
commit 9fa5d24e3a
No known key found for this signature in database
GPG key ID: D47CE05FA175A499
8 changed files with 85 additions and 0 deletions

6
Cargo.lock generated
View file

@ -1397,6 +1397,12 @@ dependencies = [
[[package]]
name = "monero-rpc-types"
version = "0.0.0"
dependencies = [
"monero-serai",
"paste",
"serde",
"serde_json",
]
[[package]]
name = "monero-serai"

View file

@ -9,7 +9,12 @@ repository = "https://github.com/Cuprate/cuprate/tree/main/rpc/monero-rpc-types
keywords = ["monero", "rpc", "types"]
[features]
default = ["dep:serde"]
[dependencies]
monero-serai = { workspace = true }
paste = { workspace = true }
serde = { workspace = true, optional = true }
[dev-dependencies]
serde_json = { workspace = true }

View file

@ -0,0 +1,11 @@
//! TODO
//---------------------------------------------------------------------------------------------------- Import
//---------------------------------------------------------------------------------------------------- TODO
//---------------------------------------------------------------------------------------------------- Tests
#[cfg(test)]
mod test {
// use super::*;
}

View file

@ -0,0 +1,11 @@
//! TODO
//---------------------------------------------------------------------------------------------------- Import
//---------------------------------------------------------------------------------------------------- TODO
//---------------------------------------------------------------------------------------------------- Tests
#[cfg(test)]
mod test {
// use super::*;
}

View file

@ -0,0 +1,11 @@
//! TODO
//---------------------------------------------------------------------------------------------------- Import
//---------------------------------------------------------------------------------------------------- TODO
//---------------------------------------------------------------------------------------------------- Tests
#[cfg(test)]
mod test {
// use super::*;
}

View file

@ -93,3 +93,10 @@
clippy::too_many_lines
)
)]
//---------------------------------------------------------------------------------------------------- Use
pub mod binary;
pub mod data;
pub mod json;
pub mod macros;
pub mod mix;

View file

@ -0,0 +1,23 @@
//! Macros.
//!
//! These generate repetitive documentation, tests, etc.
//---------------------------------------------------------------------------------------------------- Documentation macros
/// TODO
macro_rules! serde_doc_test {
(
$type:ty, // TODO
) => {
#[doc = "TODO"]
};
}
/// TODO
macro_rules! monero_ref {
(
$monero_code_link:literal, // TODO
$monero_rpc_doc_link:literal, // TODO
) => {
#[doc = "TODO"]
};
}

View file

@ -0,0 +1,11 @@
//! TODO
//---------------------------------------------------------------------------------------------------- Import
//---------------------------------------------------------------------------------------------------- TODO
//---------------------------------------------------------------------------------------------------- Tests
#[cfg(test)]
mod test {
// use super::*;
}