blob: b42fe8204a7446055cf52b8ddcd7ed76557505c1 [file] [log] [blame]
#!/bin/sh
#
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Assumes the first 'version =' line in the Cargo.toml is the version for the
# crate.
awk '/^version = / { print $3 }' "$1/audio_streams/Cargo.toml" | head -n1 | tr -d '"'