style: fmt the project (#54)
add rustfmt.toml Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
This commit is contained in:
parent
59bfb6e748
commit
0a2f13a1f4
1 changed files with 158 additions and 132 deletions
|
|
@ -11,7 +11,6 @@ pub use capabilities::*;
|
|||
pub use content::*;
|
||||
pub use prompt::*;
|
||||
pub use resource::*;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
pub use tool::*;
|
||||
|
|
@ -964,9 +963,10 @@ impl From<CancelledNotification> for ClientNotification {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use serde_json::json;
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn test_notification_serde() {
|
||||
let raw = json!( {
|
||||
|
|
|
|||
Loading…
Reference in a new issue