diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2026-03-22 17:31:54 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2026-03-22 17:44:04 +0100 |
| commit | e8de836827b0fd9e364edecfb58eb6513d6937d5 (patch) | |
| tree | 25c11c8bc5b905992dfc69f94899c5ebb478fb00 | |
| parent | docs: update changelog (diff) | |
| download | iced_selection-e8de836827b0fd9e364edecfb58eb6513d6937d5.tar.gz | |
feat: move from sourcehut to my git instance
| -rw-r--r-- | .builds/ci.yml | 26 | ||||
| -rw-r--r-- | .builds/doc.yml | 24 | ||||
| -rw-r--r-- | CHANGELOG.md | 12 | ||||
| -rw-r--r-- | Cargo.toml | 3 | ||||
| -rw-r--r-- | README.md | 5 |
5 files changed, 9 insertions, 61 deletions
diff --git a/.builds/ci.yml b/.builds/ci.yml deleted file mode 100644 index 8f7aa1d..0000000 --- a/.builds/ci.yml +++ /dev/null @@ -1,26 +0,0 @@ -image: ubuntu/noble -packages: - - rustup - - pkg-config - - libxkbcommon-dev - - libssl-dev -triggers: - - action: email - condition: failure - to: "<~pml68/iced-crates@lists.sr.ht>" -tasks: - - rust-setup: | - rustup toolchain install stable --profile default -c clippy - rustup default stable - - lint: | - cd iced_selection - cargo lint - - test: | - cd iced_selection - cargo test --verbose --doc - cargo test --verbose --all-targets - - build-examples: | - cd iced_selection - cargo build --package name - cargo build --package rich - cargo build --package markdown diff --git a/.builds/doc.yml b/.builds/doc.yml deleted file mode 100644 index e30afc8..0000000 --- a/.builds/doc.yml +++ /dev/null @@ -1,24 +0,0 @@ -image: alpine/edge -oauth: pages.sr.ht/PAGES:RW -packages: - - cargo - - hut -environment: - site: iced-selection.pml68.dev - RUSTDOCFLAGS: "--cfg docsrs" -tasks: - - build-docs: | - cd iced_selection - cargo doc --verbose --no-deps --all-features -p iced_selection - - copy-redirect: | - cd iced_selection - cp docs/redirect.html target/doc/index.html - - package: | - cd iced_selection - tar -C target/doc -cvz . > site.tar.gz - - upload: | - cd iced_selection - [ "$BUILD_SUBMITTER" = "git.sr.ht" ] || complete-build - [ "$GIT_REF" = "refs/heads/master" ] || complete-build - [ "$(git remote get-url origin)" = "https://git.sr.ht/~pml68/iced_selection" ] || complete-build - hut pages publish -d $site site.tar.gz diff --git a/CHANGELOG.md b/CHANGELOG.md index 1650e40..800da18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,9 +36,9 @@ Many thanks to... ### Added - First release -[Unreleased]: https://git.sr.ht/~pml68/iced_selection/log -[0.5.0]: https://git.sr.ht/~pml68/iced_selection/log?from=a319355e9cd255e4286b00aad3bcc331caa5dc18#log-a319355e9cd255e4286b00aad3bcc331caa5dc18 -[0.4.0]: https://git.sr.ht/~pml68/iced_selection/log?from=8355621047e86389001c6a1d96c1d27fd03de26f#log-8355621047e86389001c6a1d96c1d27fd03de26f -[0.3.0]: https://git.sr.ht/~pml68/iced_selection/log?from=50c34a1cbf310b204e6e37b3f5f60e67608060bd#log-50c34a1cbf310b204e6e37b3f5f60e67608060bd -[0.2.0]: https://git.sr.ht/~pml68/iced_selection/log?from=1b4fd51c48e8d172a6cfd33caee894d063b389f1#log-1b4fd51c48e8d172a6cfd33caee894d063b389f1 -[0.1.0]: https://git.sr.ht/~pml68/iced_selection/log?from=5f672a058cbf3150caf430c54ef380b553111706#log-5f672a058cbf3150caf430c54ef380b553111706 +[Unreleased]: https://git.pml68.dev/iced_selection/log +[0.5.0]: https://git.pml68.dev/iced_selection/log?h=v0.5.0 +[0.4.0]: https://git.pml68.dev/iced_selection/log?h=v0.4.0 +[0.3.0]: https://git.pml68.dev/iced_selection/log?h=v0.3.0 +[0.2.0]: https://git.pml68.dev/iced_selection/log?h=v0.2.0 +[0.1.0]: https://git.pml68.dev/iced_selection/log?h=v0.1.0 @@ -6,8 +6,7 @@ version = "0.5.0" edition = "2024" license = "MIT" readme = "README.md" -homepage = "https://sr.ht/~pml68/iced_selection" -repository = "https://git.sr.ht/~pml68/iced_selection" +repository = "https://git.pml68.dev/iced_selection" documentation = "https://iced-selection.pml68.dev" categories = ["gui"] keywords = ["gui", "ui", "graphics", "interface", "widgets"] @@ -1,6 +1,5 @@ # iced_selection -[](https://builds.sr.ht/~pml68/iced_selection) [](https://iced-selection.pml68.dev) ## Text selection API for [`iced`](https://iced.rs), with reference widget implementations. @@ -26,7 +25,7 @@ Simply add it to under your `Cargo.toml`'s `dependencies` section. [dependencies] iced = { git = "https://github.com/iced-rs/iced", branch = "master" } -iced_selection = { git = "https://git.sr.ht/~pml68/iced_selection" } +iced_selection = { git = "git://git.pml68.dev/iced_selection" } ``` ## Features @@ -42,7 +41,7 @@ iced_selection = { git = "https://git.sr.ht/~pml68/iced_selection" } - [X] triple-click + drag for by-line selection - [X] support wrapped lines - [ ] fix by-line selection for wrapped line segments -- [ ] make "combining" multiple text widgets possible ([`feat/global-selectable`](https://git.sr.ht/~pml68/iced_selection/tree/feat/global-selectable)) +- [ ] make "combining" multiple text widgets possible ([`feat/global-selectable`](https://git.pml68.dev/iced_selection/?h=feat/global-selectable)) ## Special thanks |
