Skip to content

Commit

Permalink
Experimental changes to rustfmt configuration, excluding all autogene…
Browse files Browse the repository at this point in the history
…rated files
  • Loading branch information
locka99 committed Nov 22, 2020
1 parent 25df368 commit 154995c
Show file tree
Hide file tree
Showing 338 changed files with 347 additions and 57 deletions.
1 change: 1 addition & 0 deletions core/src/supported_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

// This file was autogenerated by tools/schema/gen_supported_message.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

use std::io::{Read, Write};

Expand Down
6 changes: 0 additions & 6 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
fn_args_layout = "Block"
array_layout = "Block"
control_style = "Rfc"
where_style = "Rfc"
generics_indent = "Block"
fn_call_style = "Block"
1 change: 1 addition & 0 deletions server/src/address_space/generated/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

// This file was autogenerated by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

use crate::address_space::types::AddressSpace;

Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_10.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part10.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_11.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part11.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_12_1.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part12.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_12_2.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part12.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_12_3.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part12.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_13.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part13.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_1.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_10.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_11.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_2.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_3.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_4.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_5.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_6.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_7.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_8.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_14_9.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part14.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_3_1.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part3.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_3_2.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part3.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_4_1.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part4.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_4_2.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part4.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_4_3.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part4.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_4_4.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part4.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_4_5.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part4.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_4_6.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part4.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_4_7.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part4.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_4_8.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part4.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_5_1.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part5.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_5_10.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part5.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_5_11.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part5.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_5_12.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part5.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_5_13.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part5.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_5_14.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part5.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion server/src/address_space/generated/nodeset_5_15.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated from Opc.Ua.NodeSet2.Part5.xml by tools/schema/gen_address_space.js
// DO NOT EDIT THIS FILE
#![rustfmt::skip]

#[allow(unused_imports)]
use std::{convert::TryFrom, str::FromStr};
Expand Down
Loading

0 comments on commit 154995c

Please sign in to comment.