nvarner / typst-lsp

[Deprecated] An early language server for Typst, plus a VS Code extension
MIT License
1.2k stars 77 forks source link

build(deps): bump the language-server-deps group with 3 updates #429

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps the language-server-deps group with 3 updates: indexmap, strum and tokio.

Updates indexmap from 2.1.0 to 2.2.2

Changelog

Sourced from indexmap's changelog.

2.2.2

  • Added indexing methods to raw entries: RawEntryBuilder::from_hash_full, RawEntryBuilder::index_from_hash, and RawEntryMut::index.

2.2.1

  • Corrected the signature of RawOccupiedEntryMut::into_key(self) -> &'a mut K, This a breaking change from 2.2.0, but that version was published for less than a day and has now been yanked.

2.2.0

  • The new IndexMap::get_index_entry method finds an entry by its index for in-place manipulation.

  • The Keys iterator now implements Index<usize> for quick access to the entry's key, compared to indexing the map to get the value.

  • The new IndexMap::splice and IndexSet::splice methods will drain the given range as an iterator, and then replace that range with entries from an input iterator.

  • The new trait RawEntryApiV1 offers opt-in access to a raw entry API for IndexMap, corresponding to the unstable API on HashSet as of Rust 1.75.

  • Many IndexMap and IndexSet methods have relaxed their type constraints, e.g. removing K: Hash on methods that don't actually need to hash.

  • Removal methods remove, remove_entry, and take are now deprecated in favor of their shift_ or swap_ prefixed variants, which are more explicit about their effect on the index and order of remaining items. The deprecated methods will remain to guide drop-in replacements from HashMap and HashSet toward the prefixed methods.

Commits
  • 1a50e7b Merge pull request #305 from cuviper/raw_entry-index
  • f4bb006 Release 2.2.2
  • 54a42ec Add indexing methods to raw entry
  • 7264ce4 Merge pull request #304 from cuviper/raw-into_key
  • 244bd81 Fix RawOccupiedEntryMut::into_key
  • 7107c49 Merge pull request #303 from cuviper/test-updates
  • 34a7af7 Allow clippy::style
  • 382a45c Upgrade dev-dep itertools to 0.12
  • 904689f ci: upgrade to actions/checkout@v4
  • 405fa10 Merge pull request #302 from cuviper/release-2.2.0
  • Additional commits viewable in compare view


Updates strum from 0.25.0 to 0.26.1

Release notes

Sourced from strum's releases.

v0.26.1

0.26.1

  • #325: use core instead of std in VariantArray.

0.26.0

Breaking Changes

  • The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in the right direction for fixing the warning.
  • The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually added the implementation in your code.
  • Display now supports format strings using named fields in the enum variant. This should be a no-op for most code. However, if you were outputting a string like "Hello {field}", this will now be interpretted as a format string.
  • EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type closer to a mirror of the original and that's always the goal.

New features

  • The VariantArray macro has been added. This macro adds an associated constant VARIANTS to your enum. The constant is a &'static [Self] slice so that you can access all the variants of your enum. This only works on enums that only have unit variants.

    use strum::VariantArray;
    

    #[derive(Debug, VariantArray)] enum Color { Red, Blue, Green, }

    fn main() { println!("{:?}", Color::VARIANTS); // prints: ["Red", "Blue", "Green"] }

  • The EnumTable macro has been experimentally added. This macro adds a new type that stores an item for each variant of the enum. This is useful for storing a value for each variant of an enum. This is an experimental feature because I'm not convinced the current api surface area is correct.

    use strum::EnumTable;
    

    #[derive(Copy, Clone, Debug, EnumTable)] enum Color { Red, Blue,

... (truncated)

Changelog

Sourced from strum's changelog.

0.26.1

  • #325: use core instead of std in VariantArray.

0.26.0

Breaking Changes

  • The EnumVariantNames macro has been renamed VariantNames. The deprecation warning should steer you in the right direction for fixing the warning.
  • The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually added the implementation in your code.
  • Display now supports format strings using named fields in the enum variant. This should be a no-op for most code. However, if you were outputting a string like "Hello {field}", this will now be interpretted as a format string.
  • EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type closer to a mirror of the original and that's always the goal.

New features

  • The VariantArray macro has been added. This macro adds an associated constant VARIANTS to your enum. The constant is a &'static [Self] slice so that you can access all the variants of your enum. This only works on enums that only have unit variants.

    use strum::VariantArray;
    

    #[derive(Debug, VariantArray)] enum Color { Red, Blue, Green, }

    fn main() { println!("{:?}", Color::VARIANTS); // prints: ["Red", "Blue", "Green"] }

  • The EnumTable macro has been experimentally added. This macro adds a new type that stores an item for each variant of the enum. This is useful for storing a value for each variant of an enum. This is an experimental feature because I'm not convinced the current api surface area is correct.

    use strum::EnumTable;
    

    #[derive(Copy, Clone, Debug, EnumTable)] enum Color { Red, Blue, Green,

... (truncated)

Commits


Updates tokio from 1.35.1 to 1.36.0

Release notes

Sourced from tokio's releases.

Tokio v1.36.0

1.36.0 (February 2nd, 2024)

Added

  • io: add tokio::io::Join (#6220)
  • io: implement AsyncWrite for Empty (#6235)
  • net: add support for anonymous unix pipes (#6127)
  • net: add UnixSocket (#6290)
  • net: expose keepalive option on TcpSocket (#6311)
  • sync: add {Receiver,UnboundedReceiver}::poll_recv_many (#6236)
  • sync: add Sender::{try_,}reserve_many (#6205)
  • sync: add watch::Receiver::mark_unchanged (#6252)
  • task: add JoinSet::try_join_next (#6280)

Changed

  • io: make copy cooperative (#6265)
  • io: make repeat and sink cooperative (#6254)
  • io: simplify check for empty slice (#6293)
  • process: use pidfd on Linux when available (#6152)
  • sync: use AtomicBool in broadcast channel future (#6298)

Documented

  • io: clarify clear_ready docs (#6304)
  • net: document that *Fd traits on TcpSocket are unix-only (#6294)
  • sync: document FIFO behavior of tokio::sync::Mutex (#6279)
  • chore: typographic improvements (#6262)
  • runtime: remove obsolete comment (#6303)
  • task: fix typo (#6261)

#6220: tokio-rs/tokio#6220 #6235: tokio-rs/tokio#6235 #6127: tokio-rs/tokio#6127 #6290: tokio-rs/tokio#6290 #6311: tokio-rs/tokio#6311 #6236: tokio-rs/tokio#6236 #6205: tokio-rs/tokio#6205 #6252: tokio-rs/tokio#6252 #6280: tokio-rs/tokio#6280 #6265: tokio-rs/tokio#6265 #6254: tokio-rs/tokio#6254 #6293: tokio-rs/tokio#6293 #6238: tokio-rs/tokio#6238 #6152: tokio-rs/tokio#6152 #6298: tokio-rs/tokio#6298 #6262: tokio-rs/tokio#6262 #6303: tokio-rs/tokio#6303 #6261: tokio-rs/tokio#6261

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 9 months ago

Superseded by #431.