add view crate

[?]
May 13, 2025, 7:03 AM
GWZGYNIBQP2AA7WYULNBS2BCV4B36IHK4OS7XHVOTUUG27E76XFQC

Dependencies

  • [2] 6YZAVBWU Initial commit
  • [3] WT3GA27P add cursor with selection
  • [4] UB2ITZJS refresh changed files on FS changes
  • [5] D7A7MSIH allow to defer or abandon record, add buttons
  • [6] HOJZI52Y rename flowers_ui to inflorescence
  • [7] B4RMW5AE add syntax highlighter to untracked files contents
  • [8] MJDGPSHG WIP contents diff
  • [9] ZVI4AWER woot contents_diff
  • [10] WI2BVQ6J rm client lib crate
  • [11] NWJD6VM6 mv libflowers libflorescence
  • [12] CALXOZXA flatten crates dir
  • [13] QMAUTRB6 refactor diff
  • [14] JE44NYHM display log files diffs
  • [15] AMPZ2BXK show changed files diffs (only Edit atm)
  • [16] DCSUCH6R add undecoded diff view, improve decoded view style

Change contents

  • edit in libflorescence/Cargo.toml at line 3
    [11.361]
    [2.2427]
    description = "Inflorscence library"
  • file addition: inflorescence_view (d--r------)
    [2.2]
  • file addition: src (d--r------)
    [0.53]
  • file addition: lib.rs (----------)
    [0.85]
    use iced::Element;
    /// A short-named wrapper into `Element`
    #[inline(always)]
    pub fn el<'a, E, M>(e: E) -> Element<'a, M>
    where
    E: Into<Element<'a, M>>,
    {
    Into::<Element<M>>::into(e)
    }
  • file addition: Cargo.toml (----------)
    [0.53]
    [package]
    name = "inflorescence-view"
    description = "Inflorscence Iced UI Views"
    version.workspace = true
    edition.workspace = true
    license.workspace = true
    authors.workspace = true
    [dependencies]
    # Internal dependencies
    [dependencies.libflorescence]
    workspace = true
    # External dependencies
    [dependencies.iced]
    workspace = true
  • edit in inflorescence/src/main.rs at line 11
    [7.162]
    [11.365]
    use inflorescence_view::el;
  • edit in inflorescence/src/main.rs at line 867
    [3.4777][5.4036:4039](),[5.4039][8.4971:5015](),[8.5015][5.4079:4129](),[5.4079][5.4079:4129]()
    }
    pub fn el<'a, E, M>(e: E) -> Element<'a, M>
    where
    E: Into<Element<'a, M>>,
    {
    e.into()
  • edit in inflorescence/src/diff.rs at line 5
    [8.5070]
    [8.5070]
    use inflorescence_view::el;
  • edit in inflorescence/src/diff.rs at line 11
    [11.579][8.5137:5153](),[10.1034][8.5137:5153](),[9.19211][8.5137:5153](),[8.5137][8.5137:5153]()
    use crate::el;
  • edit in inflorescence/Cargo.toml at line 3
    [6.301]
    [2.3400]
    description = "Inflorscence is a GUI for Pijul"
  • edit in inflorescence/Cargo.toml at line 15
    [2.3603]
    [11.645]
    [dependencies.inflorescence-view]
    workspace = true
  • edit in Cargo.toml at line 4
    [12.539]
    [12.539]
    "inflorescence_view",
  • edit in Cargo.toml at line 17
    [2.4043]
    [12.562]
    inflorescence-view = { path = "inflorescence_view" }
  • edit in Cargo.lock at line 2555
    [6.409]
    [11.761]
    "inflorescence-view",
  • edit in Cargo.lock at line 2565
    [6.549]
    [4.3486]
    name = "inflorescence-view"
    version = "0.1.0"
    dependencies = [
    "iced",
    "libflorescence",
    ]
    [[package]]