Skip to content

Commit

Permalink
Turn examples into crates
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-k committed Jan 15, 2024
1 parent 53b027e commit f55e6bd
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 87 deletions.
8 changes: 0 additions & 8 deletions argmin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,6 @@ maintenance = { status = "actively-developed" }
targets = ["x86_64-unknown-linux-gnu"]
features = ["serde1"]

[[example]]
name = "brentroot"
required-features = []

[[example]]
name = "brentopt"
required-features = []

[[example]]
name = "checkpoint"
required-features = ["serde1"]
Expand Down
79 changes: 0 additions & 79 deletions argmin/examples/bfgs.rs

This file was deleted.

10 changes: 10 additions & 0 deletions examples/brentopt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "example-brentopt"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false

[dependencies]
argmin = { version = "*", path = "../../argmin" }
argmin-observer-slog = { version = "*", path = "../../observers/slog/" }
File renamed without changes.
10 changes: 10 additions & 0 deletions examples/brentroot/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "example-brentroot"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false

[dependencies]
argmin = { version = "*", path = "../../argmin" }
argmin-observer-slog = { version = "*", path = "../../observers/slog/" }
File renamed without changes.

0 comments on commit f55e6bd

Please sign in to comment.