640 Commits

Author SHA1 Message Date
Josh Guilfoyle
8e45be7e9e Apply suggestions from code review
Co-authored-by: Sergio Gasquez Arcos <sergio.gasquez@gmail.com>
2023-02-01 12:04:14 +01:00
jasta
78ee947363 Export CLANG_PATH so bindgen works with cross compilation
Fixes #164

CLANG_PATH is relevant for bindgen to be able to find required headers
and library files.  Without exporting this along with LIBCLANG_PATH,
you'll get a mismatch using bindgen and if the host clang doesn't
support full cross compilation of C code (which is common for Ubuntu in
my case, at least), then ultimately bindgen will not be able to compile
the code its trying to generate bindings for.  The user will see weird
errors like basic types int16_t and such are missing or common header
files like string.h aren't available.
2023-02-01 12:04:14 +01:00
dependabot[bot]
50143fc847 build(deps): bump tokio from 1.24.2 to 1.25.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 11:49:37 +01:00
dependabot[bot]
3ffc3c7b5d build(deps): bump async-trait from 0.1.63 to 0.1.64
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.63 to 0.1.64.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.63...0.1.64)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 11:27:03 +01:00
Sergio Gasquez
991595f1a5 docs: 📝 Add note about InstallOpts Box 2023-01-31 11:25:34 +01:00
dependabot[bot]
791d47455b build(deps): bump clap from 4.1.2 to 4.1.4
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.2 to 4.1.4.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.2...v4.1.4)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 11:15:47 +01:00
dependabot[bot]
49d8c485cf build(deps): bump toml from 0.6.0 to 0.7.1
Bumps [toml](https://github.com/toml-rs/toml) from 0.6.0 to 0.7.1.
- [Release notes](https://github.com/toml-rs/toml/releases)
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.6.0...toml-v0.7.1)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 11:06:37 +01:00
Sergio Gasquez
abe5b30cc5 style: 🎨 Fix format 2023-01-31 10:09:26 +01:00
Sergio Gasquez
c8292cd3c5 style: 🎨 Clippy fix - use variables directly in the format! string 2023-01-31 09:46:52 +01:00
Jesse Braham
11034c2619 Simplify the handling of extra crates 2023-01-25 21:51:19 +01:00
Sergio Gasquez
32d9a385ba build: ⬆️ Update toml dependency 2023-01-25 15:47:08 +01:00
Sergio Gasquez
081eb81baf fix: 🐛 Make bash path general 2023-01-25 11:44:16 +01:00
dependabot[bot]
a3ae161a79 build(deps): bump reqwest from 0.11.13 to 0.11.14
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.13 to 0.11.14.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.13...v0.11.14)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 11:43:53 +01:00
Sergio Gasquez
bb7ad10a15 style: ️ Improve rust-src-nightly/install.sh command 2023-01-24 15:05:46 +01:00
Sergio Gasquez
4a32ae810b chore: 🔥 Remove unused file 2023-01-24 14:47:35 +01:00
dependabot[bot]
ec73c216e1 build(deps): bump async-trait from 0.1.61 to 0.1.63
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.61 to 0.1.63.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.61...0.1.63)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 09:50:15 +01:00
dependabot[bot]
87f8d8ad1a build(deps): bump clap from 4.1.1 to 4.1.2
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 09:49:57 +01:00
Sergio Gasquez
da469c00c6 docs: 📝 Update quicstart install section 2023-01-23 11:17:56 +01:00
Sergio Gasquez
fc6e1a0a47 build: Statically link openssl for all unix targets 2023-01-23 10:34:26 +01:00
Sergio Gasquez
ffe6d90312 docs: 📝 Update note headers 2023-01-19 12:30:29 +01:00
Sergio Gasquez
d096536496 docs: 📝 Add headers 2023-01-19 12:30:29 +01:00
Sergio Gasquez
5f771e5db8 docs: 📝 Add note about esp-idf instalaltion methods 2023-01-19 12:30:29 +01:00
Sergio Gasquez
228b50b9a8 build: ⬆️ Update dependencies 2023-01-18 10:26:30 +01:00
Sergio Gasquez
ed4721555d build: ⬆️ Update msrv to 1.64 2023-01-17 14:47:52 +01:00
Sergio Gasquez
d3919ff398 build: ⬆️ Update Cargo.lock 2023-01-17 14:47:52 +01:00
dependabot[bot]
e3234050f3 build(deps): bump assert_cmd from 2.0.7 to 2.0.8
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.7...v2.0.8)

---
updated-dependencies:
- dependency-name: assert_cmd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 10:06:46 +01:00
dependabot[bot]
f4c3dfb75c build(deps): bump console from 0.15.4 to 0.15.5
Bumps [console](https://github.com/console-rs/console) from 0.15.4 to 0.15.5.
- [Release notes](https://github.com/console-rs/console/releases)
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/console-rs/console/compare/0.15.4...0.15.5)

---
updated-dependencies:
- dependency-name: console
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 10:06:15 +01:00
Sergio Gasquez
b14193f402 chore: 📌 Bump espup version 2023-01-16 16:02:24 +01:00
Sergio Gasquez
b9aa3e266c docs: 📝 Add msrv badge 2023-01-16 15:59:34 +01:00
Sergio Gasquez
abf807bd38 ci: 🧪 Add MSRV check 2023-01-16 15:59:34 +01:00
Sergio Gasquez
bafb1f350c docs: 📝 Add note on how to regenerate export file 2023-01-16 15:59:24 +01:00
Sergio Gasquez
b6c4c8a5aa style: 🎨 Fix clippy warnings 2023-01-16 15:59:24 +01:00
Sergio Gasquez
edded91b9f style: 🔊 Add source instructions at the end of the log 2023-01-16 15:59:24 +01:00
Sergio Gasquez Arcos
ff602950bf chore: Fix typo
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2023-01-16 15:58:54 +01:00
Sergio Gasquez
548662ad53 chore: 🎨 Document name trait 2023-01-16 15:58:54 +01:00
Sergio Gasquez
bbab6d4593 feat: Add installation retries 2023-01-16 15:58:54 +01:00
Sergio Gasquez
f9a061f717 build: ⬆️ Upgrade espup version v0.2.6 2023-01-13 16:14:55 +01:00
Sergio Gasquez
6788316b85 fix: 🐛 Avoid spawning cmds 2023-01-13 16:11:12 +01:00
Sergio Gasquez
2e111b3842 build: 📌 Bump version v0.2.5 2023-01-11 13:10:24 +00:00
Sergio Gasquez Arcos
73aa09f83c
style: 🎨 Format Windows export file (#135) 2023-01-11 12:22:54 +01:00
Sergio Gasquez
a040fac76a style: 🔊 Remove trailing log messages 2023-01-11 10:45:35 +00:00
Sergio Gasquez Arcos
11becfa4bf
Append header if GITHUB_TOKEN environment variable is present (#128)
* feat:  Append header if GITHUB_TOKEN environment variable is present

* build: ⬆️ Add blocking feature of reqwest

* feat:  If a semver version is provided, get the latest subpatch and use that version

* docs: 📝 Update invalid_version error

* perf: ️ Remove unnecesary into_diagnostics calls

* feat:  Even if the regex matches, check that the release exists

* feat:  Update auth

* chore: 🔊 Add log

* chore: ️ Add basic auth

* Add gh api tests

* fix: 🐛 fix typo

* feat: 🎨 Remove permissions

* test:  Add rust test

* test:  Add rust test

* ci: ️ Add checkout action

* ci: 🧪 Test with permissions

* ci: 🧪 Update headers

* ci: 🎨 Avoid triggering other CI

* ci:  Check if GITHUB TOKEN is present

* ci:  Update get call

* ci: 🧪 Update headers

* style: 🎨 Simplify code

* ci: 🧪 Update headers

* ci: 🧪 Add curl test

* feat:  Add retries

* feat:  Add retries

* feat:  Improve retries

* chore: 🔊 Add logs to tests

* feat:  Remove retries

* ci: 🧪 Test api limit

* chore: 🧪 Test with retries

* feat:  Create a github_query fn

* ci: 🧪 Update CI rust test

* feat: 🔊 Update logging

* feat:  Add maximum retries

* chore: 🔥 Remove gh_test.yaml

* style: 🎨 Remove duplicated log

* ci: 👷 Add env to CI

* chore: 🔊 Add debug log

* ci: 🧪 Test without env

* revert: ️ Revert env removal

* ci: 👷 Update environment in CI

* chore: 🔊 Add logging

* chore: 🔥 Remove download test

* feat:  Move github_query fn to mod.rs
2023-01-11 11:08:15 +01:00
Sergio Gasquez Arcos
e8c4ef1b2a
Merge pull request #131 from esp-rs/dependabot/cargo/async-trait-0.1.61
build(deps): bump async-trait from 0.1.60 to 0.1.61
2023-01-11 10:53:46 +01:00
Sergio Gasquez Arcos
fbfbaa2de7
Merge pull request #134 from esp-rs/dependabot/cargo/regex-1.7.1
build(deps): bump regex from 1.7.0 to 1.7.1
2023-01-11 10:53:37 +01:00
Sergio Gasquez Arcos
b93e71e9bb
Merge pull request #132 from esp-rs/dependabot/cargo/console-0.15.4
build(deps): bump console from 0.15.3 to 0.15.4
2023-01-10 09:09:15 +01:00
dependabot[bot]
a4b42255ae
build(deps): bump regex from 1.7.0 to 1.7.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.7.0...1.7.1)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 08:05:36 +00:00
dependabot[bot]
3f2a63780d
build(deps): bump async-trait from 0.1.60 to 0.1.61
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.60 to 0.1.61.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.60...0.1.61)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 08:05:34 +00:00
Sergio Gasquez Arcos
2a6b84f9a0
Merge pull request #133 from esp-rs/dependabot/cargo/tokio-1.24.1
build(deps): bump tokio from 1.23.0 to 1.24.1
2023-01-10 09:03:54 +01:00
dependabot[bot]
625429a6ba
build(deps): bump tokio from 1.23.0 to 1.24.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:12:01 +00:00
dependabot[bot]
7bfe2997fa
build(deps): bump console from 0.15.3 to 0.15.4
Bumps [console](https://github.com/console-rs/console) from 0.15.3 to 0.15.4.
- [Release notes](https://github.com/console-rs/console/releases)
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/console-rs/console/compare/0.15.3...0.15.4)

---
updated-dependencies:
- dependency-name: console
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:11:54 +00:00