John Vandenberg
9a234709c4
Add missing Debug traits ( #1088 )
2024-08-06 15:28:37 +02:00
Luni-4
d29ce77c88
Document web module ( #1041 )
2023-05-22 18:03:56 +02:00
Luni-4
12fdb03aa2
Fix clippy warnings ( #1040 )
2023-04-21 12:08:16 +02:00
Luni-4
2334c988a9
web: Improve structs format ( #1022 )
2023-04-06 01:01:24 +02:00
Luni-4
1bbb2a37d7
Replace str with String ( #1018 )
...
* langs: Do not allocate a useless String
* tools: Do not use strings
* web: Use String for server metrics
* tools: Fix tests
2023-03-31 16:49:00 +02:00
Luni-4
dd4033c69f
Fix clippy warnings
2023-02-09 11:46:55 +01:00
calixteman
5ab0458840
Remove the short version of the host option which mismatches with the one for help ( #998 )
2023-01-19 14:29:04 +00:00
Marco Castelluccio
57ab3973b5
Bump to version 0.0.25
2023-01-13 00:29:39 +01:00
dependabot[bot]
cda737173d
Bump actix-web from 4.1.0 to 4.2.1 ( #928 )
...
Bumps [actix-web](https://github.com/actix/actix-web ) from 4.1.0 to 4.2.1.
- [Release notes](https://github.com/actix/actix-web/releases )
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md )
- [Commits](https://github.com/actix/actix-web/compare/web-v4.1.0...web-v4.2.1 )
---
updated-dependencies:
- dependency-name: actix-web
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 11:02:38 +01:00
dependabot[bot]
7e3d58dd15
Bump pretty_assertions from 1.2.1 to 1.3.0 ( #921 )
...
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases )
- [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: pretty_assertions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 11:01:35 +01:00
Luni-4
d6b8e9e432
Fix clippy warnings ( #969 )
2022-12-16 10:33:22 +01:00
Luni-4
f66dcd000d
Update to clap 4.0
2022-12-12 20:35:24 +01:00
Suhaib Mujahid
9618bcad63
Fix the version for the `rust-code-analysis` crate
2022-10-12 10:00:25 +02:00
Luni-4
c9092900e8
web: Update clap
2022-07-04 17:46:11 +02:00
Luni-4
21a2f28d04
Bump actix-web to 4.1 ( #883 )
2022-07-04 12:06:36 +02:00
Luni-4
cde5a32e61
Remove num_cpus dependency ( #858 )
...
* cli: Replace num_cpus with std::available_parallelism
* web: Replace num_cpus with std::available_parallelism
2022-06-16 14:20:00 +02:00
Luni-4
a001428f4a
web: Remove an allocation
2022-06-01 17:21:24 +02:00
Luni-4
29546a3048
web: Update command line interface
2022-06-01 17:21:24 +02:00
Marco Ballario
f98ade0445
Add ABC checks to web server tests
2022-05-30 09:53:27 +02:00
Luni-4
b5496f8878
Do not use profile options in packages
2022-05-25 10:19:19 +02:00
Thomas Praxl
08c61f48ad
fix: hanging server ( #806 )
...
Since the update to actix-rt@2.3 (f413996a
), the web server hasn't been
started, when we executed `cargo run -p rust-code-analysis-web`.
It froze once `actix_rt::System::new().run()?;` was called,
effectively preventing the execution of the code below.
By looking at the actix-rt examples and changing the code to be more
like the examples, I was able to fix this.
The webserver now behaves as expected.
2022-03-21 10:39:57 +01:00
giovannitangredi
97e576b90a
Added minimum and maximum implementation for Loc ( #793 )
...
* Fixed a bug for Exit metric
* Added min and max implementation for Loc
* Do not export compute_minmax functions as public
2022-03-18 12:15:55 +01:00
Luni-4
62667c6190
Reduce binaries size ( #798 )
...
* Use Rust stripped binaries option
With the new Rust 1.59 version, it is possible to strip standard library
debug symbols directly from Cargo
* Update cargo udeps
This update is necessary to support the new Rust strip option
2022-03-04 12:01:11 +01:00
Luni-4
30da721ce7
web: Remove extern crate keywords
2022-01-19 11:05:06 +01:00
Luni-4
0eb85bc15c
Update clap
2022-01-19 11:05:06 +01:00
Luni-4
f82ac03801
Update actix-rt
2022-01-19 11:05:06 +01:00
Marco Ballario
1c3c663d99
Add averages for Loc metrics ( #737 )
2022-01-11 08:27:04 -08:00
Marco Ballario
25349e7f9a
Add averages for Nom metrics ( #736 )
2022-01-11 02:06:40 -08:00
dependabot[bot]
bcc7bcdb75
Bump actix-rt from 2.5.0 to 2.5.1 ( #742 )
...
Bumps [actix-rt](https://github.com/actix/actix-net ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actix/actix-net/releases )
- [Commits](https://github.com/actix/actix-net/compare/rt-v2.5.0...rt-v2.5.1 )
---
updated-dependencies:
- dependency-name: actix-rt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 11:47:54 +01:00
dependabot[bot]
37f889a141
Bump clap from 2.33.3 to 2.34.0 ( #717 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.33.3 to 2.34.0.
- [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/commits )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-14 13:06:58 +01:00
Marco Castelluccio
fb86674cfc
Bump to version 0.0.24
2021-12-14 10:28:20 +01:00
giovannitangredi
090767f380
Add minimum and maximum implementation for Nom ( #716 )
...
* Add fields closures_sum and functions_sum , refactored code to be complaint with the changes
* Add minimum and maximum implementation for Nom metric
2021-12-10 06:18:38 -08:00
giovannitangredi
58b0ac29d5
Add minimum and maximum implementation for Nargs ( #715 )
...
* Add fields clousure_nargs_sum and function_nargs_sum, refactored code to be compliant with changes
* Add min and max implementation for Nargs
2021-12-02 00:51:16 -08:00
giovannitangredi
e9314cc1f5
Add minimum and maximum implementation for the cognitive metric ( #713 )
...
* Add field structural_sum and refactored code to resolve issues
* Add min and max implementation for cognitive
2021-11-30 06:36:43 -08:00
giovannitangredi
11cbb2b6ed
Add minimum and maximum implementation for the Nexit ( #712 )
2021-11-29 10:25:51 +01:00
giovannitangredi
a6fb78bc9e
Add min and max implementation for Cyclomatic ( #699 )
...
* Add cyclomatic_sum field, fix issues related to this change
* Add implementation for min and max in cyclomatic metric
2021-11-25 08:49:35 -08:00
Luni-4
fc11d8d5cd
Update to Rust 2021 edition ( #691 )
...
* lib: Update to Rust 2021 edition
* Replace pat with pat_param
Following https://doc.rust-lang.org/edition-guide/rust-2021/or-patterns-macro-rules.html#migration
guide
* enums: Update to Rust 2021 edition
* cli: Update to Rust 2021 edition
* web: Update to Rust 2021 edition
* Update grammars to Rust 2021 edition
2021-10-25 13:43:11 +02:00
Luni-4
f413996a90
Update actix-rt to 2.3 ( #687 )
2021-10-25 11:48:38 +02:00
dependabot[bot]
3c3c3060e9
Bump pretty_assertions from 0.7.2 to 1.0.0 ( #677 )
...
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions ) from 0.7.2 to 1.0.0.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases )
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.7.2...v1.0.0 )
---
updated-dependencies:
- dependency-name: pretty_assertions
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 12:04:20 +02:00
Luni-4
d5e1b3a906
Count closures arguments for the NArgs metric ( #352 )
...
* Rename fn_args to args
* Count closures arguments for the NArgs metric
2021-09-16 22:07:20 +02:00
Marco Castelluccio
05d71cac6d
Bump to version 0.0.23
2021-04-09 18:44:23 +02:00
Marco Castelluccio
2768f1628b
Bump to version 0.0.22
2021-04-09 14:00:14 +02:00
Marco Castelluccio
fd547af9bb
Bump to version 0.0.21
2021-04-08 16:17:50 +02:00
Marco Castelluccio
cdaeda2485
Revert "Update actix-rt to 2.1.0"
...
This reverts commit 72317cebd8
.
The web server was broken by the update.
2021-04-08 15:57:18 +02:00
Marco Castelluccio
6eafb72e40
Bump to version 0.0.20
2021-04-08 13:42:49 +02:00
dependabot[bot]
9fc81dd2cb
Bump pretty_assertions from 0.6.1 to 0.7.1 ( #519 )
...
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions ) from 0.6.1 to 0.7.1.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases )
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.6.1...v0.7.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 11:06:11 +01:00
Luni-4
72317cebd8
Update actix-rt to 2.1.0
2021-03-04 10:29:16 +01:00
Marco Castelluccio
2fff14dc6e
Specify rust-code-analysis version in the rust-code-analysis-web manifest
2021-01-08 16:51:30 +01:00
Marco Castelluccio
a67fb96c0a
Bump to version 0.0.19
2021-01-06 12:45:38 +01:00
Sylvestre Ledru
f1e4c3d7d8
Add the repository & doc in the Web cargo.toml def ( #382 )
...
* Add the repository in the Web cargo.toml def
* Remove doc & update url
2020-11-30 15:41:25 +01:00