oak-solidity 0.0.11

High-performance incremental Solidity parser for the oak ecosystem with flexible configuration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![doc = include_str!("readme.md")]
/// Solidity code formatter.
pub struct SolidityFormatter;

impl SolidityFormatter {
    /// Creates a new Solidity formatter.
    pub fn new() -> Self {
        Self
    }

    /// Formats Solidity source code.
    pub fn format(&self, source: &str) -> String {
        source.to_string()
    }
}