radicle-surf: rename serialize to serde
modified radicle-surf/Cargo.toml
@@ -20,7 +20,6 @@ test = false
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -32,7 +31,6 @@ gh-actions = []
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -58,6 +56,11 @@ features = ["serde"]
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-surf/src/diff.rs
@@ -19,16 +19,12 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -44,47 +40,35 @@ impl Default for Diff {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -92,11 +76,7 @@ pub enum EofNewLine {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -106,25 +86,21 @@ pub struct ModifiedFile {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -136,11 +112,7 @@ pub struct Stats {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -148,7 +120,7 @@ pub struct Hunk {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -215,7 +187,7 @@ impl From<String> for Line {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -230,22 +202,22 @@ impl Serialize for Line {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-surf/src/git/commit.rs
@@ -20,7 +20,7 @@ use std::{convert::TryFrom, str};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -34,7 +34,7 @@ pub enum Error {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -43,7 +43,7 @@ pub struct Author {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -52,7 +52,7 @@ pub struct Author {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -61,7 +61,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -100,7 +100,7 @@ impl<'repo> TryFrom<git2::Signature<'repo>> for Author {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -129,7 +129,7 @@ impl Commit {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-surf/src/git/stats.rs
@@ -17,15 +17,11 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified radicle-surf/src/source/commit.rs
@@ -20,7 +20,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,7 +35,7 @@ use crate::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -45,7 +45,7 @@ pub struct Stats {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -114,7 +114,7 @@ impl From<git::Commit> for Header {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -132,7 +132,7 @@ impl Serialize for Header {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-surf/src/source/object/blob.rs
@@ -20,7 +20,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -97,7 +97,7 @@ impl Blob {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -130,7 +130,7 @@ pub enum BlobContent {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-surf/src/source/object/tree.rs
@@ -20,7 +20,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -118,7 +118,7 @@ impl From<TreeEntry> for directory::Entry {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-surf/src/source/person.rs
@@ -17,12 +17,9 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-surf/t/Cargo.toml
@@ -10,7 +10,6 @@ publish = false
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -37,7 +36,7 @@ path = "../../radicle-git-ext"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-surf/t/src/git.rs
@@ -5,12 +5,10 @@
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified radicle-surf/t/src/git/commit.rs
@@ -5,7 +5,6 @@ use radicle_git_ext::Oid;
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified radicle-surf/t/src/git/diff.rs
@@ -122,7 +122,6 @@ fn test_branch_diff() -> Result<(), Error> {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified test/Cargo.toml
@@ -33,7 +33,7 @@ features = ["test"]
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|