diff --git a/Cargo.toml b/Cargo.toml index b16c267..5349379 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,15 +2,19 @@ name = "xsf-rust" version = "0.1.0" edition = "2024" +rust-version = "1.88" description = "Rust bindings for scipy's xsf special functions library" +repository = "https://github.com/jorenham/xsf-rust" +authors = ["Joren Hammudoglu "] license = "BSD-3-Clause" +readme = "README.md" [build-dependencies] bindgen = "0.72" cc = "1.2.31" -[dev-dependencies] -float-cmp = "0.10.0" - [dependencies] paste = "1.0.15" + +[dev-dependencies] +float-cmp = "0.10.0" diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..c95c905 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.88" diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..5da14de --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,8 @@ +edition = "2024" +style_edition = "2024" + +# stable +match_block_trailing_comma = true +newline_style = "Unix" +use_field_init_shorthand = true +use_try_shorthand = true