Skip to content

Commit

Permalink
Merge pull request #172 from nbuffon/rust_file_header_fix
Browse files Browse the repository at this point in the history
Rust file header fix

Signed-of by: Nicolas Buffon <[email protected]>
  • Loading branch information
nbuffon authored Oct 11, 2024
2 parents e2e8e85 + 3b963be commit 3bfa813
Show file tree
Hide file tree
Showing 50 changed files with 55 additions and 104 deletions.
12 changes: 6 additions & 6 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Software Name: its-client
# SPDX-FileCopyrightText: Copyright (c) 2016-2023 Orange
# SPDX-License-Identifier: MIT License
# Software Name : libits-client
# SPDX-FileCopyrightText: Copyright (c) Orange SA
# SPDX-License-Identifier: MIT
#
# This software is distributed under the MIT license, see LICENSE.txt file for more details.
# This software is distributed under the MIT license,
# see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
#
# Author: Nicolas Buffon <[email protected]> et al.
# Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) client based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
# Authors: see CONTRIBUTORS.md

[package]
name = "libits-client"
Expand Down
3 changes: 1 addition & 2 deletions rust/benches/position.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use criterion::{criterion_group, criterion_main, Criterion};
Expand Down
3 changes: 1 addition & 2 deletions rust/examples/copycat.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use std::fs;
Expand Down
3 changes: 1 addition & 2 deletions rust/examples/json_counter.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use std::any::Any;
Expand Down
3 changes: 1 addition & 2 deletions rust/examples/telemetry.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use std::collections::HashMap;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/client.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

/// Structures, functions and traits in this mod are made to create applications that analyze
Expand Down
3 changes: 1 addition & 2 deletions rust/src/client/application.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::client::configuration::Configuration;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/client/application/analyzer.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::client::configuration::Configuration;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/client/application/pipeline.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::client::application::analyzer::Analyzer;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/client/configuration.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::client::configuration::configuration_error::ConfigurationError;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/client/configuration/configuration_error.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use thiserror::Error;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/client/configuration/mobility_configuration.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use ini::Properties;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/client/configuration/node_configuration.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::client::configuration::configuration_error::ConfigurationError;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

pub(crate) mod cause;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/cause.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::exchange::message::Message;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/etsi.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::now;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/etsi/collective_perception_message.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::client::configuration::Configuration;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/etsi/cooperative_awareness_message.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::exchange::etsi::reference_position::ReferencePosition;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use std::hash;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/etsi/map_extended_message.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use log::warn;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/etsi/mobile_perceived_object.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

extern crate integer_sqrt;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/etsi/perceived_object.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use serde::{Deserialize, Serialize};
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/etsi/reference_position.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use core::fmt;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::client::configuration::Configuration;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/message.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

pub mod content;
Expand Down
3 changes: 1 addition & 2 deletions rust/src/exchange/message/content.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
/*
* Software Name : libits
* Software Name : libits-client
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* see the "LICENSE.txt" file for more details or https://opensource.org/license/MIT/
*
* Authors: see CONTRIBUTORS.md
* Software description: This Intelligent Transportation Systems (ITS) [MQTT](https://mqtt.org/) library based on the [JSon](https://www.json.org) [ETSI](https://www.etsi.org/committee/its) specification transcription provides a ready to connect project for the mobility (connected and autonomous vehicles, road side units, vulnerable road users,...).
*/

use crate::client::configuration::Configuration;
Expand Down
Loading

0 comments on commit 3bfa813

Please sign in to comment.