# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.67" name = "statime-linux" version = "0.2.2" authors = [ "David Venhoek ", "Folkert de Vries ", "Dion Dokter ", "Ruben Nijveld ", "David Venhoek ", "Bram Bruines ", "Marlon Peeters ", "Rick van der Wal ", ] build = "build.rs" publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "Linux daemon for the Statime Precision Time Protocol library" homepage = "https://github.com/pendulum-project/statime" readme = "README.md" license = "Apache-2.0 OR MIT" repository = "https://github.com/pendulum-project/statime" [package.metadata.deb] assets = [ [ "target/release/statime", "/usr/bin/statime", "755", ], [ "docs/precompiled/man/statime.8", "/usr/share/man/man8/statime.8", "644", ], [ "docs/precompiled/man/statime.toml.5", "/usr/share/man/man5/statime.toml.5", "644", ], [ "docs/examples/conf/statime.toml.default", "/usr/share/doc/statime/statime.toml.default", "644", ], [ "docs/examples/conf/statime.toml.default", "/etc/statime/statime.toml", "644", ], [ "docs/examples/conf/statime.preset", "/lib/systemd/system-preset/50-statime.preset", "644", ], [ "docs/examples/conf/statime.service", "/lib/systemd/system/statime.service", "644", ], [ "docs/examples/conf/41-statime.rules", "/etc/udev/41-statime.rules", "644", ], [ "../COPYRIGHT", "/usr/share/doc/statime/COPYRIGHT", "644", ], [ "../LICENSE-APACHE", "/usr/share/doc/statime/LICENSE-APACHE", "644", ], [ "../LICENSE-MIT", "/usr/share/doc/statime/LICENSE-MIT", "644", ], [ "../CHANGELOG.md", "/usr/share/doc/statime/CHANGELOG.md", "644", ], [ "../README.md", "/usr/share/doc/statime/README.md", "644", ], ] conf-files = [ "/etc/statime/statime.toml", "/etc/udev/41-statime.rules", ] copyright = "Copyright (c) 2022-2023 Tweede Golf and Contributors" extended-description = """ Statime is a work in progress Rust implementation of PTP version 2.1 (IEEE 1588-2019). It currently implements support for acting as a master and an ordinary or a boundary clock.""" license-file = "../pkg/deb/COPYRIGHT-debian" maintainer = "Statime Maintainers " maintainer-scripts = "../pkg/deb/" name = "statime" priority = "optional" section = "net" [package.metadata.generate-rpm] license = "MIT or ASL 2.0" name = "statime" [[package.metadata.generate-rpm.assets]] dest = "/usr/bin/statime" mode = "755" source = "target/release/statime" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/man/man8/statime.8" doc = true mode = "644" source = "docs/precompiled/man/statime.8" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/man/man5/statime-toml.5" doc = true mode = "644" source = "docs/precompiled/man/statime.toml.5" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/statime/statime.toml.default" doc = true mode = "644" source = "docs/examples/conf/statime.toml.default" [[package.metadata.generate-rpm.assets]] config = true dest = "/etc/statime/statime.toml" mode = "644" source = "docs/examples/conf/statime.toml.default" [[package.metadata.generate-rpm.assets]] dest = "/lib/systemd/system-preset/50-statime.preset" mode = "644" source = "docs/examples/conf/statime.preset" [[package.metadata.generate-rpm.assets]] dest = "/lib/systemd/system/statime.service" mode = "644" source = "docs/examples/conf/statime.service" [[package.metadata.generate-rpm.assets]] config = true dest = "/etc/udev/41-statime.rules" mode = "644" source = "docs/examples/conf/41-statime.rules" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/statime/COPYRIGHT" doc = true mode = "644" source = "../COPYRIGHT" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/statime/LICENSE-APACHE" doc = true mode = "644" source = "../LICENSE-APACHE" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/statime/LICENSE-MIT" doc = true mode = "644" source = "../LICENSE-MIT" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/statime/CHANGELOG.md" doc = true mode = "644" source = "../CHANGELOG.md" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/statime/README.md" doc = true mode = "644" source = "../README.md" [lib] name = "statime_linux" path = "src/lib.rs" [[bin]] name = "statime" path = "src/main.rs" [[bin]] name = "statime-metrics-exporter" path = "bin/statime-metrics-exporter.rs" [dependencies.arrayvec] version = "0.7.4" default-features = false [dependencies.clap] version = "4.4.7" features = ["derive"] [dependencies.clock-steering] version = "0.2.0" [dependencies.hex] version = "0.4.3" [dependencies.libc] version = "0.2.150" features = ["extra_traits"] [dependencies.log] version = "0.4.20" default-features = true [dependencies.pin-project-lite] version = "0.2.13" [dependencies.rand] version = "0.8.5" features = [ "std", "std_rng", ] default-features = false [dependencies.serde] version = "1.0.192" features = ["derive"] [dependencies.serde_json] version = "1.0.111" [dependencies.statime] version = "0.2.2" [dependencies.timestamped-socket] version = "0.2.4" [dependencies.tokio] version = "1.33" features = [ "net", "rt-multi-thread", "time", "macros", "sync", "io-util", ] [dependencies.toml] version = ">=0.5.0, <0.9.0" [dependencies.tracing] version = "0.1.21" [dependencies.tracing-log] version = ">=0.1.0, <0.3.0" [dependencies.tracing-subscriber] version = "0.3.0" features = [ "std", "fmt", "ansi", ] default-features = false