-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add copyright files, generalize toml files
- Loading branch information
Showing
11 changed files
with
88 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,43 @@ exclude = [ | |
"statime-stm32" | ||
] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "Apache-2.0 OR MIT" | ||
repository = "https://github.com/pendulum-project/statime" | ||
homepage = "https://github.com/pendulum-project/statime" | ||
publish = true | ||
authors = [ | ||
"David Venhoek <[email protected]>", | ||
"Folkert de Vries <[email protected]>", | ||
"Dion Dokter <[email protected]>", | ||
"Ruben Nijveld <[email protected]>", | ||
"David Venhoek <[email protected]>", | ||
"Bram Bruines <[email protected]>", | ||
"Rick van der Wal <[email protected]>" | ||
] | ||
rust-version = "1.67" # MSRV | ||
|
||
[workspace.dependencies] | ||
arrayvec = { version = "0.7.4", default-features = false } | ||
clap = { version = "4.4.7", features = ["derive"] } | ||
fern = { version = "0.6.2", features = ["colored"] } | ||
hex = "0.4.3" | ||
libc = { version = "0.2.150", features = ["extra_traits"] } | ||
log = { version = "0.4.20", default-features = false } | ||
pin-project-lite = "0.2.13" | ||
toml = ">=0.5.0, <0.9.0" | ||
tokio = "1.33" | ||
rand = { version = "0.8.5", default-features = false } | ||
serde = { version = "1.0.192", features = ["derive"] } | ||
az = "1.2.1" | ||
fixed = "1.24" | ||
libm = "0.2.8" | ||
atomic_refcell = "0.1.13" | ||
|
||
|
||
# our own crates used as dependencies, same version as the workspace version | ||
# NOTE: keep this part at the bottom of the file, do not change this line | ||
statime = { version = "0.1.0", path = "./statime" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../COPYING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../LICENSE-APACHE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../LICENSE-MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../COPYING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,26 @@ | ||
[package] | ||
name = "statime" | ||
version = "0.1.0" | ||
authors = [ | ||
"Dion Dokter <[email protected]>", | ||
"Ruben Nijveld <[email protected]>", | ||
"David Venhoek <[email protected]>", | ||
"Bram Bruines <[email protected]>", | ||
"Rick van der Wal <[email protected]>" | ||
] | ||
license = "MIT OR Apache-2.0" | ||
edition = "2021" | ||
description = "Pure rust implementation of a ptp ordinary clock" | ||
homepage = "https://github.com/tweedegolf/statime" | ||
repository = "https://github.com/tweedegolf/statime" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
readme = "README.md" | ||
description = "Precision Time Protocol implementation library for embedded and desktops" | ||
authors.workspace = true | ||
version.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
homepage.workspace = true | ||
publish.workspace = true | ||
rust-version.workspace = true | ||
|
||
[features] | ||
default = ["std"] | ||
std = [] | ||
fuzz = ["std"] | ||
|
||
[dependencies] | ||
arrayvec = { version = "0.7.4", default-features = false } | ||
az = "1.2.1" | ||
fixed = "1.24" | ||
libm = "0.2.8" | ||
log = { version = "0.4.20", default-features = false } | ||
rand = { version = "0.8.5", default-features = false } | ||
atomic_refcell = "0.1.13" | ||
arrayvec.workspace = true | ||
az.workspace = true | ||
fixed.workspace = true | ||
libm.workspace = true | ||
log = { workspace = true, default-features = false} | ||
rand = { workspace = true, default-features = false } | ||
atomic_refcell.workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../LICENSE-APACHE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../LICENSE-MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../README.md |