Initial commit: rust project outline.
commit 3c5e6e2ae158a54b2864fdb4a68aec3494c9e13c
· browse this tree
warpfork, 2026-06-28 12:34:50 UTC
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4e1d18d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = tab +indent_size = 4 diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..d156243 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,8 @@ +edition = "2024" + +hard_tabs = true +match_block_trailing_comma = true +merge_derives = false +single_line_let_else_max_width = 0 +struct_lit_width = 0 +struct_variant_width = 0 diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..78b4526 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,11 @@ +[workspace] +resolver = "2" +members = [ + "crates/PLACEHOLDER", +] + +[workspace.package] +edition = "2024" + +[workspace.dependencies] +log = "*" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0b44d77 --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ +This library is dual-licensed under either of Apache 2.0 or MIT terms: + +- Apache-2.0 Software License: https://www.apache.org/licenses/LICENSE-2.0 + +- MIT Software License: https://opensource.org/licenses/MIT + +Unless required by applicable law or agreed to in writing, software +distributed under the terms listed in this notice is distributed on +an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, +either express or implied. See each License for the specific language +governing permissions and limitations under that License. + +<!--- SPDX-License-Identifier: Apache-2.0 OR MIT --> +`SPDX-License-Identifier: Apache-2.0 OR MIT` diff --git a/LICENSE-APACHE b/LICENSE-APACHE new file mode 100644 index 0000000..270573e --- /dev/null +++ b/LICENSE-APACHE @@ -0,0 +1,7 @@ +Copyright (c) 2026 Eric Myhre and various authors and contributors + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 0000000..35276e4 --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2026 Eric Myhre and various authors and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..d9c78ca --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +PLACEHOLDER +========= + + +Contributing +------------ + +It's a pretty standard rust/cargo project. + +Before commiting anything, make sure to run `cargo fmt`, +make sure `cargo build` works, and make sure that `cargo test` passes. +There should be no warning messages. + + + +License +------- + +SPDX-License-Identifier: Apache-2.0 OR MIT diff --git a/crates/PLACEHOLDER/Cargo.toml b/crates/PLACEHOLDER/Cargo.toml new file mode 100644 index 0000000..3de1636 --- /dev/null +++ b/crates/PLACEHOLDER/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "PLACEHOLDER" +version = "0.1.0" +edition.workspace = true + +[dependencies] +log.workspace = true