From 44bb3e5ac1bfb54233044228d97fa10e79d2ceac Mon Sep 17 00:00:00 2001 From: Connor Johnstone Date: Tue, 12 Aug 2025 16:05:29 -0400 Subject: [PATCH] Updates for publishing --- Cargo.toml | 5 +++++ readme.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2dc7fba..a08b42e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,11 @@ name = "differential_equations" version = "0.2.2" edition = "2021" +authors = ["Connor Johnstone"] +description = "A library for solving differential equations based on the DifferentialEquations.jl julia library." +readme = "readme.md" +repository = "https://gitlab.rcjohnstone.com/connor/differential-equations" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/readme.md b/readme.md index c777680..1b2d760 100644 --- a/readme.md +++ b/readme.md @@ -53,7 +53,7 @@ let y0 = Vector2::new(0.0, PI/2.0); // Set up the problem (ODE, Integrator, Controller, and Callbacks) let ode = ODE::new(&derivative, 0.0, 6.3, y0, params); -let dp45 = DormandPrince45::new(1e-12_f64, 1e-6_f64); +let dp45 = DormandPrince45::new().a_tol(1e-12).r_tol(1e-6); let controller = PIController::default(); let value_too_high = Callback {