add_space 0.1.28

Automated typesetting tool that adds spaces between Chinese and English characters to enhance readability. / 自动排版工具,在中文和英文字符之间添加空格以增强可读性。
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

/// Error enum for add_space crate.
/// add_space 库的错误枚举
#[derive(Error, Debug)]
pub enum Error {
  /// I/O error wrapper
  /// I/O 错误包装
  #[error(transparent)]
  Io(#[from] std::io::Error),
}

/// Result type alias for add_space crate.
/// add_space 库的 Result 类型别名
pub type Result<T, E = Error> = std::result::Result<T, E>;